
Cloudflare competes with Amazon S3 through R2, an object store with no charge for data sent to the internet, and works alongside S3 through its CDN, which can sit in front of an S3 bucket. If you serve heavy public downloads and need nothing beyond plain storage, R2 usually costs far less; if you need S3's versioning, Object Lock, bucket policies or archive classes, keep S3 and put a CDN in front of it.
How to compare Cloudflare and Amazon S3
Name the product first. Cloudflare's website plans are a delivery and security layer for a website; as of December 2026 they include CDN and unmetered DDoS protection on every plan, from Free to Pro ($25 a month billed monthly, $20 billed annually) and Business ($250 monthly, $200 annually). Cloudflare R2 is object storage, described by Cloudflare as storage without egress fees. Only R2 is a replacement for S3. The CDN is an addition to it.
Amazon S3 vs Cloudflare R2: the differences that matter
| Line, December 2026 | Cloudflare R2 | Amazon S3 (US East) |
|---|---|---|
| Storage | $0.015 per GB-month Standard; $0.01 Infrequent Access | $0.023 Standard; $0.0125 Standard-IA; down to $0.00099 Deep Archive |
| Writes | Class A $4.50 per million | $0.005 per 1,000 PUTs ($5 per million) |
| Reads | Class B $0.36 per million | $0.004 per 10,000 GETs ($0.40 per million) |
| Data to the internet | Free | First 100 GB a month free across AWS, then $0.09 per GB |
| Free allowance | 10 GB-month, 1 million Class A, 10 million Class B (Standard only) | No monthly allowance listed; AWS Free Tier credits for new customers |
| Versioning and Object Lock | Not implemented in R2's S3 API; bucket locks prevent deletion or overwrite instead | Both available |
| Storage classes | STANDARD and STANDARD_IA | Several, including three Glacier archive classes |
| Minimum storage period | None for Standard; 30 days for Infrequent Access | None for Standard; 30 days for Standard-IA, 90 or 180 for Glacier classes |
From R2 pricing, R2's S3 API compatibility list and bucket locks; AWS's S3 pricing for US East (N. Virginia), all as of December 2026. Neither column includes a paid support plan; AWS includes Basic Support with every account, per AWS Support pricing. R2's compatibility page also lists bucket policies, object tagging, SSE-KMS headers, replication and bucket notifications as not implemented, so check any tool that depends on them.
A 2 TB download library that sends 6 TB a month
This example is illustrative and uses list prices as of December 2026, with S3 in US East (N. Virginia) and CloudFront's United States rates. A 50-person software training company hosts 2 TB of course videos and installers. Customers download 6 TB a month across 3 million requests. Using 2,048 GB stored and 6,144 GB sent:
- S3 serving directly: storage $47.10, transfer (6,144 GB minus 100 free) at $0.09 is $543.96, requests $1.20. About $592 a month.
- S3 behind CloudFront's Pro flat-rate plan: $15 covers 10 million requests and 50 TB of transfer, according to the CloudFront pricing page, plus S3 storage of about $46 after the plan's 50 GB storage credit. Roughly $61 a month. The same traffic on CloudFront pay as you go would be about $482: the first 1 TB free, then 5,120 GB at $0.085, plus storage.
- R2: 2,038 billable GB at $0.015 is $30.57; 3 million reads fall inside the free 10 million. About $31 a month.
- S3 behind Cloudflare's CDN: Cloudflare serves cached files, but every cache miss still pulls from S3 at AWS's internet rate. How much that saves depends on your cache hit rate, which you can only measure after launch.
The headline is that the egress gap between S3 and R2 shrinks from hundreds of dollars to about thirty once a CDN with a flat plan sits in front of S3. For a business already running on AWS, that is often the less disruptive move.
When S3 remains the better home
- Backups that must be undeletable under a compliance retention mode; S3 Object Lock is documented for that, and R2's API does not implement it. See immutable backup.
- Archives you rarely read, where S3 Glacier classes cost far less than R2's lowest tier.
- Data your AWS servers process, since transfer from a bucket to AWS services in the same Region is not charged.
Related pages: Amazon S3 vs CDN for CloudFront in detail, Amazon S3 vs Backblaze for another low-egress store, and Amazon S3 vs DigitalOcean Spaces for bundled storage and CDN. If the files are a static website, Netlify vs Amazon S3 compares a hosting platform with a bucket. Our AWS consulting team can price your own traffic on each path; to begin, Review my storage design.
More on this topic: Storage and files guides.
Frequently asked questions
Cloudflare vs Amazon S3: is Cloudflare a storage service?
Partly. Cloudflare's main plans are a CDN and security layer. Its storage product is R2, which is the one to compare with S3.
Amazon S3 vs Cloudflare R2: which is cheaper?
For data downloaded often, R2: $0.015 per GB-month with no egress charge, as of December 2026. For archives, S3's Glacier classes are cheaper to store. Put a flat-rate CDN in front of S3 and the gap for downloads narrows sharply.
Cloudflare R2 vs Amazon S3: is R2 S3 compatible?
Cloudflare says R2 implements the S3 API so applications can migrate with ease, but its compatibility list shows versioning, Object Lock, ACLs and bucket policies as not implemented.
Can I use Cloudflare in front of an S3 bucket?
Yes. Cloudflare's CDN can cache files from an S3 origin. You still pay AWS's transfer rate for each request Cloudflare passes through to the bucket.
Sources
Read on December 2, 2026:
Related reading
Discuss AWS Consulting for Business for your business.
Tell us about your current systems, the result you need and your timeline. We will discuss the work, responsibilities and pricing before you decide on an engagement.



