DEV Community

Discussion on: Free hosting for developers.

fasani profile image
Michael Fasani

He was using EC2 and allowing users to upload images and videos, he did zero compression and simply re-served the content full-size images and videos.

Thread Thread
byrro profile image
Renato Byrro

That explains, than. EC2 should be used for dynamic processing. Static data should be in S3 and CloudFront, ideally. Even for dynamic needs, I'd recommend using Lambda, if technically possible.

As the math shows, it's darn cheap for small and mid-sized needs. If you ever get to hundreds of millions or billions of requests/month (or really large files), than it's worth looking at cheaper alternatives to AWS.