AWS vs Cloudflare Egress Cost Calculator
What serving your traffic through Cloudflare's free-bandwidth CDN or R2 would save against AWS egress and CloudFront.
Updated · By Niraj Kumar · 14 sources
https://checkpre.com/ai/aws-vs-cloudflare-egress-cost
Providers
Where
Traffic to users
Everything your servers, storage and CDN send to users and other services on the internet.
Each provider's own CDN: CloudFront, Cloud CDN, Front Door, Cloudflare or Spaces CDN.
Traffic inside the cloud
Replication, backups and calls to services in a different region.
Service-to-service calls, load balancing and database replicas in other zones of the same region.
NAT and servers
Outbound calls, package and image pulls from private subnets.
Usually one per availability zone.
Sets pooled transfer allowances and Cloud NAT's per-VM fee.
- AWS
- $998 a month
- $11,975 a year · 7th cheapest of 8
- Cloudflare
- $0.00 a month
- $0.00 a year · 1st cheapest of 8
- Cheapest cloud with servers
- DigitalOcean
- $0.00 a month
- 1Cloudflarebandwidth only$0.00Cloudflare runs no servers, so region, zone and NAT traffic is priced on whatever compute sits behind it.
- 2DigitalOcean$0.00DigitalOcean has no managed NAT gateway to bill; servers reach the internet on their own addresses.
- 3Akamai Cloud (Linode)$0.00Linode has no managed NAT gateway to bill; servers reach the internet on their own addresses.
- 4Oracle Cloud$4.25
- 5Hetzner Cloud$8.51Uses 10.5 TB against a pooled allowance of 3 TB across 3 servers.
- 6Microsoft Azure$948
- 7AWS$998
- 8Google Cloud$1,182
| Provider | Internet egress | Inter-region | Cross-AZ | NAT gateway hours | NAT data processed | Total |
|---|---|---|---|---|---|---|
| Cloudflare | – | – | – | – | – | $0.00 |
| DigitalOcean | – | – | – | – | – | $0.00 |
| Akamai Cloud (Linode) | – | – | – | – | – | $0.00 |
| Oracle Cloud | $4.25 | – | – | – | – | $4.25 |
| Hetzner Cloud | $8.51 | – | – | – | – | $8.51 |
| Microsoft Azure | $882 | $10.00 | – | $32.85 | $22.50 | $948 |
| AWS | $913 | $10.00 | $20.00 | $32.85 | $22.50 | $998 |
| Google Cloud | $1,137 | $10.00 | $10.00 | $3.07 | $22.50 | $1,182 |
How is cloud data transfer billed?
monthly = tiered(internet egress) + CDN delivery + misses × origin fetch + inter-region GB × rate + cross-AZ GB × rate + NAT gateways × hourly × 730 + NAT GB × processing rateThis page uses the same method as the Cloud Egress Cost Calculator, which explains each term and assumption in full.
Worked example
A workload in North America: 10 TB a month to the internet, 500 GB to another region, 1,000 GB across zones, 500 GB through NAT, on 3 servers.
- 1AWS: internet egress $913, inter-region $10.00, cross-az $20.00, nat gateway hours $32.85, nat data processed $22.50 = $998
- 2Cloudflare: nothing billable = $0.00
- 3Difference: $998 a month
Cloudflare is $998 a month cheaper for this workload, $11,975 a year.
Frequently asked questions
Is AWS or Cloudflare cheaper for egress?
For internet egress from North America on 3 servers at list rates, at 1 TB a month Cloudflare costs $0.00 against $83.16; at 10 TB a month Cloudflare costs $0.00 against $913; and at 100 TB a month Cloudflare costs $0.00 against $7,978. Zone, NAT and CDN charges can change the answer, so enter your own traffic.
Can I put Cloudflare in front of AWS to cut egress?
Yes, and it is a common pattern: Cloudflare caches and serves the traffic for free, so AWS only pays egress on cache misses. With a 95% hit ratio, 10 TB of delivery costs AWS about 512 GB of egress instead of 10 TB. Moving large static files to R2 removes even that, since R2 charges no egress. AWS still bills its internal traffic: cross-AZ, inter-region and NAT.
Sources
- AWS, EC2 on-demand pricing: data transfer · checked
- AWS, Amazon CloudFront pay-as-you-go pricing · checked
- AWS, Amazon VPC pricing (NAT gateway) · checked
- Google Cloud, all networking pricing · checked
- Google Cloud, Cloud CDN pricing · checked
- Google Cloud, Cloud NAT pricing · checked
- Microsoft, Azure bandwidth pricing · checked
- Microsoft, Azure Front Door pricing · checked
- Microsoft, Azure NAT Gateway pricing · checked
- Cloudflare, R2 pricing · checked
- Oracle, OCI networking price list · checked
- DigitalOcean, bandwidth billing · checked
- Akamai, network transfer usage and costs · checked
- Hetzner, Cloud billing FAQ · checked
Related calculators
- AWS Data Transfer Cost CalculatorEstimate your AWS data transfer bill: EC2 internet egress tiers, CloudFront, inter-region, cross-AZ and NAT gateway charges, compared with every other cloud.
- Cloudflare Bandwidth Cost CalculatorSee what moving delivery to Cloudflare's free-bandwidth CDN or zero-egress R2 storage would save against AWS, Google Cloud and Azure egress.
- Cloud Egress Cost CalculatorEnter your traffic once and see the monthly data transfer bill on AWS, Google Cloud, Azure, Cloudflare, Oracle, DigitalOcean, Linode and Hetzner side by side.
More in AI, Cloud & Developer
- AWS vs Oracle Egress Cost Calculator
- AWS vs Hetzner Egress Cost Calculator
- GCP vs Cloudflare Egress Cost Calculator
- Azure vs Oracle Egress Cost Calculator
- DigitalOcean vs Linode Egress Cost Calculator
- DigitalOcean vs Hetzner Egress Cost Calculator
- Google Cloud Egress Cost Calculator
- Azure Bandwidth Cost Calculator
- All 99 AI, Cloud & Developer calculators