We serve a few hundred TB of data via AWS S3 with Cloudfront in front of it each month, which costs us quite a lot of money for the data transfer. Cloudflare R2 seems to be the perfect alternative, with their S3 compatible API, egress being free [1] and the ability to put a custom domain in front of the bucket - which then activates Cloudflare CDN [2] for optimized latency (which is then equivalent to using Amazon's Cloudfront).<p>Has someone here done this before and can share their experience?<p>I am specifically interested in the latency aspect. S3+Cloudflare has been excellent there, and I would love to understand if we would take a significant hit by migrating to Cloudflare R2.<p><pre><code> [1] https://developers.cloudflare.com/r2/pricing/
[2] https://developers.cloudflare.com/r2/buckets/public-buckets/#custom-domains</code></pre>
I use it for my own small instance of Mastodon (<a href="https://s.o2l.ie" rel="nofollow">https://s.o2l.ie</a>). Looks like I have about 30GB of data in there... not a massive amount of bandwidth either (looks like around 200Mb over the last 7 days). But, it was easy to set up, and I think my last bill was around 23 cents for the month... AWS calculator is coming in at around $2 per month...
Where is your target audience? US based? Do note that Cloudflare non business / enterprise plans get deprioritized and also get re-routed to certain major ISPs e.g. in Taiwan, Australia, Argentina, etc.<p><a href="https://www.cdnperf.com" rel="nofollow">https://www.cdnperf.com</a> there's also this for a point of reference.
Seems like the way to know for sure is to test it. Wouldn't seem like it'd be hard to do that, especially if you have access to Catchpoint or something similar.