Key Takeaways
- Data egress (outbound) typically costs $0.05-$0.12/GB depending on provider and volume
- Ingress (inbound) data transfer is usually free across all major cloud providers
- Using a CDN can reduce egress costs by 30-80% through caching and lower rates
- Same-AZ transfer is free; cross-AZ costs ~$0.01/GB on most providers
- Enterprise agreements can reduce rates by 20-40% for high-volume users
Understanding Cloud Data Transfer Costs
Data transfer costs are often the most surprising element of cloud bills. While compute and storage pricing is well understood, egress charges can quickly accumulate and represent a significant portion of total cloud spend. This guide explains how data transfer pricing works and strategies to optimize these costs.
Types of Data Transfer
Ingress (Data In): Data transferred INTO the cloud is typically free across all major providers including uploads, incoming API requests, and data migration.
Egress (Data Out): Data transferred OUT of the cloud incurs charges including serving content to users, API responses, backup downloads, and data exports.
Internal Transfer Costs
| Transfer Type | AWS | GCP | Azure |
|---|---|---|---|
| Same AZ | Free | Free | Free |
| Cross-AZ (same region) | $0.01/GB | $0.01/GB | Free* |
| Cross-Region | $0.02-0.09/GB | $0.01-0.08/GB | $0.02-0.08/GB |
*Azure charges for cross-AZ in some configurations
Internet Egress Pricing
AWS Data Transfer Out
| Tier | Volume/Month | Price/GB |
|---|---|---|
| Free Tier | First 100 GB | Free (12 months) |
| Tier 1 | Up to 10 TB | $0.09 |
| Tier 2 | 10-50 TB | $0.085 |
| Tier 3 | 50-150 TB | $0.07 |
| Tier 4 | 150+ TB | $0.05 |
Pro Tip: CDN Savings Example
10 TB monthly egress with 85% cache hit rate: Direct AWS egress = 10,000 GB x $0.09 = $900. With Cloudflare Pro ($20/mo) = $20 flat + minimal origin egress = ~$50. That's 94% savings!
Cost Optimization Strategies
1. Use CDNs for Static Content
- Cache static assets (images, JS, CSS) at edge locations
- Set appropriate cache headers for maximum efficiency
- Choose CDN with best pricing for your volume tier
2. Architect for Data Locality
- Keep data and compute in same AZ when possible
- Use regional services appropriately
- Consider multi-region only when truly needed
3. Compress Data
- Enable gzip/brotli compression for all text content
- Optimize image formats (WebP, AVIF)
- Minimize API response payloads
4. Negotiate Enterprise Agreements
- Committed use discounts available at scale (20-40% off)
- AWS has Private Pricing for high volume customers
- Consider multi-cloud for negotiating leverage
Hidden Data Transfer Costs
Watch out for these often-overlooked charges:
- NAT Gateway: $0.045/GB processed on AWS
- VPN/Direct Connect: Additional per-GB charges
- Load Balancer: Data processing charges
- API Gateway: Per-request and data charges
- Lambda: Response payload egress