HACKER Q&A
📣 ezekg

Have You Migrated from AWS S3 to Cloudflare R2?


If so, how did you do it? How did it go? How are the savings? I have TBs of data I need to progressively replicate to R2. The original blog post on R2 talked about an automatic migration tool for S3 to R2, but I find no mention of it anywhere outside of that blog post.


  👤 andrewstuart Accepted Answer ✓
It’ll cost you $90 per terabyte to exit from S3.

If I’m reading this right, the first 100GB per month out of AWS is now free?

https://aws.amazon.com/about-aws/whats-new/2021/11/aws-price...

So you can subtract $9.


👤 zmj
R2's compatibility with the S3 API still has a ways to go. I tried to port over a relatively trivial app written on the AWS SDK and found:

* Request header signing is not supported (ok, fine)

* Tagging is not supported (showstopper)


👤 edmundsauto
How often do you use bandwidth use from those TB? IIRC, s3 can be cheaper b/c of the tiered service options, but if you are eating in the bandwidth bill from amazon, you may see joy from R2.

👤 jakedata
You can implement compression in an AWS Lambda function. You might save some money by compressing your data before egress. I don't know if R2 has a similar unzip function.

👤 chrisandchris
We migrated from S3 to Minio, an S3-compatible storage. However, we mostly store backups (6-8 TB) there so we don't care about five 9s or performance that much (if we get 80% out of it, it is good enough).

Pricing is far better with that amount of data if you self-host.