Using Cloudflare to reduce AWS Cloudfront bills


#1

I run a number of article websites, and often I need to move articles from one site to another. Because of this, I store all of the images from multiple sites in a single S3 bucket, so that I can simply change the hostname of the image file rather than needing to store the same images in multiple buckets.

However, Cloudfront is proving to be very expensive, and so far it’s been the only way I’ve been able to have different domains point to the same S3 bucket.

For example, I have static.website1.com and static.website2.com pointing to the same S3 bucket.

I also need it to be over HTTPS, so Cloudfront was the only way I could do this.

Now my question: With this setup, can I use Cloudflare on top of Cloudfront to reduce my AWS traffic bills?

Many thanks!