Egress is the fee for data leaving AWS. Data going into S3 is free, and the first 100 GB a month going out is free; beyond that you pay per GB. Both figures are published on AWS's own pricing page, linked at the end of this guide.
Object storage pricing has two very different parts. Storage is charged for data sitting still, and it is cheap. Data transfer out, or egress, is charged every time a file leaves for the internet, and on a busy bucket it quickly becomes the biggest line on the bill. This guide explains what egress is, what triggers it, and how the numbers compare between Amazon S3 and Cloudflare R2.
What egress means
In cloud pricing, ingress is data coming in and egress is data going out. Most providers charge nothing for ingress and charge per gigabyte for egress to the internet. Things that count as egress include:
- Files downloaded by users or served on your website.
- API responses that read from storage.
- Backups restored to another provider or to your office.
- Data moved between regions, which is usually priced separately.
Transfer between services in the same region usually isn't charged as internet egress, which is why keeping compute and storage together matters.
The published prices
- Amazon S3 Standard (US East): $0.023 per GB-month to store. Transfer to the internet is free for the first 100 GB a month, then $0.09 per GB for the first 10 TB, falling in tiers to $0.05 per GB above 150 TB.
- Cloudflare R2: $0.015 per GB-month, with the first 10 GB free, and no egress fees.
- Requests: S3 charges $5 per million writes and $0.40 per million reads. R2 charges $4.50 and $0.36, after 1 million writes and 10 million reads free each month.
A bucket that serves files
Store 1,000 GB and serve 5,000 GB a month, with 1 million writes and 10 million reads:
S3
1,000 GB × $0.023 + egress $441.00 + requests $9.00equals$473.00
R2
(1,000 − 10) GB × $0.015 + requests $0.00 + egress $0equals$14.85
Saving
|$473.00 − $14.85|equals$458.15
Of the $473 S3 bill, $441 is data transfer. Storage itself is only $23. R2 costs $14.85 for the same workload, because the transfer line disappears.
How fast egress grows with traffic
S3
1,000 GB × $0.023 + egress $1,742.70 + requests $9.00equals$1,774.70
R2
(1,000 − 10) GB × $0.015 + requests $0.00 + egress $0equals$14.85
Saving
|$1,774.70 − $14.85|equals$1,759.85
Storing 1,000 GB still costs $23, but serving 20 TB costs $1,742.70 on S3, part of it at the lower tier above 10 TB. Egress is almost the entire bill.
Five ways to reduce an S3 bill
Which lever saves most depends on which part of the bill dominates, so look at the breakdown between storage, requests and transfer first.
- Move cold data to cheaper storage classes. S3 Standard is $0.023 per GB-month; Infrequent Access is about $0.0125 and Glacier Instant Retrieval about $0.004, with retrieval charges when you read the data.
- Automate it with lifecycle rules that move objects to cheaper classes after a set age, or delete them. Old logs and backups are good candidates.
- Put a CDN in front of busy files so repeat downloads don't read from the bucket.
- Clean up what you've forgotten: incomplete multipart uploads and old object versions still cost storage.
- Serve egress-heavy data from somewhere cheaper to serve from.
S3
10,000 GB × $0.023 + egress $9.00 + requests $5.40equals$244.40
R2
(10,000 − 10) GB × $0.015 + requests $0.00 + egress $0equals$149.85
Saving
|$244.40 − $149.85|equals$94.55
When data is mostly stored rather than served, the gap between S3 and R2 is modest: $94.55 a month here. For content served heavily to the internet, the gap is far larger.
When S3 is still the right choice
- Data that is rarely read, such as backups and archives, where egress barely appears.
- Workloads that stay inside AWS, where same-region transfer doesn't count as internet egress.
- When you need S3 features or storage classes that R2 doesn't offer.
Tip: Putting a CDN in front of storage reduces how often files are read from the bucket. With S3 behind CloudFront, transfer is billed at CloudFront's rates instead, so compare those too.
At scale: 10 TB stored, 50 TB served
Using the Cloud Storage Cost Calculator with 10,000 GB stored and 50,000 GB of monthly egress: S3 costs about $4,531.70 a month, of which about $4,292.70 is egress and $230 storage. Cloudflare R2 costs about $149.85, with no egress charge. At this traffic level egress is 95% of the S3 bill, and the choice of storage provider is really a choice about how data reaches users.
Most teams in this position don't move everything at once. A common approach is to keep data where it is and put a CDN in front of public files, or to move only the high-traffic public assets, such as downloads and media, to egress-free storage.
Questions people ask
- What is egress in cloud computing?
- Data leaving a provider's network, usually to the internet. Most providers charge per gigabyte for it, while incoming data (ingress) is free.
- How much does S3 charge for egress?
- In US East, the first 100 GB a month is free, then $0.09 per GB for the first 10 TB, falling in tiers to $0.05 per GB above 150 TB.
- What is the cheapest way to reduce an S3 bill?
- Look at which line dominates. For stored data, lifecycle rules to cheaper storage classes; for heavily served data, a CDN or a zero-egress store such as R2.
- Does Cloudflare R2 charge for egress?
- No. R2 charges for storage and requests but not for data transfer out to the internet.
- How much does serving 50 TB a month from S3 cost?
- In our example, about $4,292.70 of egress on a $4,531.70 monthly bill for 10 TB stored and 50 TB served. Cloudflare R2 charges no egress for the same traffic.