I work for a company that spend around 250k monthly for AWS. The highest cost came from CloudFront, around 23% of the total monthly cost, and it keep rising, as we are technology company that have heavy traffic for image and video.
The cache hit ratio already pretty good, awesome if not. So most of the CloudFront cost is from the data transfer out to our clients.
One way that I can think of is putting another lower pricing CDN in front of CloudFront, because from what I’ve check, CloudFront is on the pricier side. Moving that transfer out bandwidth to something like Cloudflare might be reduce some of our traffic cost? Is this really feasible?
The most obvious thing would be to reduce your bandwidth usage by compressing your images/videos more and modifying your website/app to reduce the number of requests (for instance by making sure your images have lazy loading). Diverting some traffic to a cheaper CDN is definitely doable as well, but obviously it adds latency and complexity.
cloudfront is one of the only aws services you can negotiate custom pricing for, you just have to be well above 100k/year and you have to credibly threaten them with pulling the traffic (via cdn load balancing or stacking or both).
get a fastly quote, get a cloudflare quote, get an akamai quote, and load balance your traffic 80/20 actss the cheapest one and cloudfront. tell them you’re happy to make it 80/20 in their favor for $.00X per gb. you will have to sign at least a one if not three year deal.
We did exactly this and saved a lot of money (way less than you though). It was very easy to set up and I was worried about downstream issues but so far there have been none.
Are you on a private pricing agreement? If not, go talk to your account manager and complain about how you’re going to move off of cloud front because it’s so expensive. And ask if they can do anything. the discounts are steep if you have a large average object siE.
If you can’t negotiate a decent discount you’ll need to look at alternative CDNs.
If your hit rate is good, then you can probably just slot in Cloudflare (probably half or less than AWS’ price in an enterprise agreement), Bunny (10% of AWS retail) or similar… for your images at least.
If your hit rate isn’t good, you’re still probably going to be largely paying egress from wherever the original content is anyway and you might not be able to achieve very effective savings.
But if you don’t have a custom pricing for your entire AWS account at your current spend you really need to get on that. Maybe even consider hiring an AWS billing consultant like The Duckbill Group. I believe Duckbill charge fixed fees (rather than abusable percent-of-savings fees) as they might be able to help you with both negotiation and potentially other savings on your account.
Make sure you have some bot protection. Either a WAF or shield. Only allow countries you want to call your cloudfront. About a third of my requests are blocked with those tools.
EDP is a cross service discount, you can get a cloudfront specific discount. Get a quote from fastly and cloudflare and ask your account team that you’re looking at competitors. Don’t have to go down the path of technical change but quotes might help.