Network transfer costs explained (egress, cross-region, cross-AZ)
Transfer costs are often the hardest part of a cloud bill to predict because they scale with usage and architecture. Use this guide as a framework to separate the transfer types and avoid double counting.
1) Split transfer into clear buckets
- Internet egress: data leaving your provider to end users.
- CDN bandwidth: delivery from CDN edge to users.
- Origin egress (cache fill): origin-to-CDN bytes.
- Cross-AZ: east-west traffic across zones.
- Cross-region: replication, multi-region reads, DR.
2) Estimate GB/month (fast methods)
- From metrics: bytes sent / transfer GB in billing exports is the most accurate starting point.
- From throughput: Mbps to GB/month using Units Converter.
- From requests: requests/day x avg response size to GB/month using API response transfer.
3) Price each bucket separately
- Internet egress: egress cost
- CDN bandwidth: CDN bandwidth cost
- Cross-region: cross-region transfer
Where to get the data (fastest sources)
- Billing exports: best for validating real GB and directionality (what is actually billed).
- CDN analytics: edge bandwidth, request volume, cache hit rate (needed to split origin vs edge).
- Load balancer metrics: data processed and request volume (good for separating heavy endpoints).
- Flow logs / VPC metrics: inter-zone and inter-region traffic (often invisible in app metrics).
4) Validate (avoid double counting)
- Separate CDN bandwidth from origin egress. Guide: origin egress vs CDN bandwidth.
- Separate cross-AZ from internet egress (they are different boundaries).
- Check incident windows: retries/timeouts can multiply transfer.
Worked estimate template (copy/paste)
- Internet egress GB/month = requests/month x avg response size (split heavy endpoints)
- CDN bandwidth GB/month = edge-to-user delivery (from CDN analytics)
- Origin egress GB/month = cache fill traffic (depends on cache hit rate)
- Cross-AZ GB/month = top east-west flows (LB, service mesh, database calls)
- Cross-region GB/month = replication + DR + multi-region reads
Common pitfalls
- Blending all transfer into one average number (you lose the optimization lever).
- Double-counting CDN bandwidth and origin egress (cache fill is the origin driver).
- Ignoring cross-AZ traffic in multi-zone services (steady background cost in microservices).
- Ignoring incident retries/timeouts (same payload transferred multiple times).
Optimization levers (match the lever to the bucket)
- Internet egress: compress payloads, reduce response size, put heavy endpoints behind CDN or signed downloads.
- Origin egress: improve cache hit rate, avoid cache-busting deploy patterns, separate long-tail endpoints.
- Cross-AZ: co-locate chatty services, reduce retries, batch calls, and avoid accidental cross-zone database access.
- Cross-region: reduce cross-region reads, use regional affinity, and validate replication topology.
Related tools
Sources
Related guides
Egress Cost Guide (cloud data transfer pricing)
How to estimate cloud egress cost: GB transferred, tiered pricing, and pitfalls for internet and inter-region transfer.
AWS VPC data transfer cost: estimate cross-AZ, cross-region, and egress
A practical guide to AWS VPC data transfer costs: where transfer happens in real architectures, how to estimate GB/month, and how to avoid surprises.
Azure bandwidth and egress costs: how to estimate outbound data transfer
A practical method to estimate outbound bandwidth costs: split by destination (internet, cross-region, CDN origin), validate units, and avoid double-counting.
GCP VPC egress costs: estimate outbound transfer by destination (practical workflow)
A practical method to estimate GCP outbound transfer: split by destination (internet, cross-region, inter-zone, CDN origin), convert usage to GB/month, and validate boundaries. Includes a worked template, pitfalls, and optimization levers.
S3 data transfer costs: egress, cross-region access, and common surprises
A practical guide to S3 data transfer costs: what counts as egress, how cross-region access shows up on bills, and how to estimate GB/month from your traffic patterns.
API Gateway vs ALB vs CloudFront cost: what to compare (requests, transfer, add-ons)
A practical cost comparison of API Gateway, Application Load Balancer (ALB), and CloudFront. Compare request pricing, data transfer, caching impact, WAF, logs, and the hidden line items that change the answer.
Related calculators
CDN Cost Calculator
Estimate total CDN cost from bandwidth and request pricing.
CDN Bandwidth Cost Calculator
Estimate monthly CDN bandwidth cost from GB transferred and $/GB pricing.
CDN Request Cost Calculator
Estimate CDN request fees from monthly requests and $ per 10k/1M pricing.
Data Egress Cost Calculator
Estimate monthly egress spend from GB transferred and $/GB pricing.
API Response Size Transfer Calculator
Estimate monthly transfer from request volume and average response size.
VPC Data Transfer Cost Calculator
Estimate data transfer spend from GB/month and $/GB assumptions.
FAQ
What transfer types usually matter most?
Internet egress to users and CDN bandwidth are common. Cross-AZ traffic can become a steady surprise in microservice architectures. Cross-region transfer matters for DR and replication.
Does CDN bandwidth equal origin egress?
No. CDN bandwidth is edge-to-user delivery. Origin egress is origin-to-CDN cache fill, and it's often billed by the origin provider.
How do I estimate GB/month without billing data?
Convert from throughput (Mbps) or from requests/day x average response size. Then validate with a real week of metrics once you have them.
Last updated: 2026-01-27