3 ms·
> So it's under 2$/month for "enterprise grade" Except that it isn't. Only the domain, and to some extend, the S3 costs are the "fixed" cost that you can even
by Ayesh 6y ago
> So it's under 2$/month for "enterprise grade"
Except that it isn't.
Only the domain, and to some extend, the S3 costs are the "fixed" cost that you can even predict at first. A surge in traffic will surely increase the egress data, and that is easily $0.05-0.10 per GB.
Cloudfront is one of the most expensive CDNs out there, and after 2-3 years of use, I came to realize how much I was wasting money on. CDNs often work quite flawlessly if you have a good cache busting mechanism, and I was paying a huge premium for what was essentially a set-once operation.
- rantwasp 6y agolet’s talk numbers. how much egress traffic would you have? at 10GB per month you pay 0.8$/month yes the traffic it costs extra, but a static website should not be GB (or even MB) in size. Also, if you have a lot of traffic you should learn how to control the caching aspect. i would also challenge you to look at what egress traffic costs in other places.
- danielheath 6y agoFor $work I reduced our cloudfront egress bill by over $2000 / month by putting cloudflare in front of cloudfront. For a side project I likely wouldn't bother, but the pricing differential is really damn steep.
- rantwasp 6y ago2000$ is a lot of traffic. way more than any side project would have. I guess that if you are at a point where you are making decisions like you needed to you are out of the “easiest way to setup a static website” territory. I would be curious what kind of content you were serving and how much traffic/what are the absolute $ numbers cloudfront vs cloudflare.
- danielheath 6y agoWe ship about 800gb / day, half of which is image/jpeg. Every byte that comes out of the cloudflare cache is a byte you don't pay for out of cloudfront, and cloudflare is only $20/mo.