AWS vs. Azure Data Transfer Costs: Internet Egress, Cross-AZ and Cross-Region Charges
Trace AWS and Azure data transfer charges by direction, region and network path, with worked examples for databases, replication, internet traffic and multi-cloud transfers.
Data transfer is movement across a billing boundary, not a single cloud service with one price. A request can cross several boundaries and pass through chargeable intermediaries before reaching its destination.
To estimate it, draw both directions of the connection. Identify the source service, destination, region, zone, network relationship, and actual route. Then apply only the meters that govern each leg.
Calculations below use illustrative USD rates, decimal GB, and volumes already adjusted for any assumed free allowances. They demonstrate billing logic rather than quote current rates for a region. For the overall cost model, start with cloud networking costs explained.
1. What inbound and outbound actually mean
Uploading 1 GB to a cloud VM is inbound internet transfer to that cloud. Downloading the VM’s response is outbound internet transfer from it. The client and server therefore see opposite directions.
A private application downloading an external file may have no inbound transfer charge but still pay a NAT processing charge. Similarly, private connectivity may have gateway, circuit, or endpoint charges even when a transfer leg is free.
Separate logical traffic from billable meter quantities. One GB crossing a boundary can produce a charge at the source and a charge at the destination under some pricing models. Do not call that two GB of application data.
2. AWS and Azure: the important differences
| Traffic path | AWS considerations | Azure considerations |
|---|---|---|
| Internet ingress | Transfer into many services is free; processing can remain | Bandwidth ingress is free; processing can remain |
| Internet egress | Service, source region, tiers and allowances determine cost | Region/billing geography, routing choice, tiers and allowances matter |
| Same-zone private traffic | Many direct paths are free; intermediaries can charge | Same-zone transfer is free; intermediaries can charge |
| Cross-zone, same region | Check service-specific rules and exceptions | No general inter-AZ transfer charge; other service meters remain |
| Peered networks | Same-zone and cross-zone/regional paths differ | Ingress and egress peering charges can apply at both ends |
| Cross-region | Source/destination service and region pair matter | Inter-region rates and service-specific rules matter |
| Dedicated connectivity | Direct Connect transfer and port economics apply | ExpressRoute plan and gateway economics apply |
Use the AWS EC2 transfer pricing rules and the Azure bandwidth schedule for their intended paths. Managed databases, storage replication, CDNs, and specialized connectivity can have separate treatment.
An Azure bandwidth pricing “Zone” is a billing geography grouping regions. It is not an availability zone. Confusing these terms can turn an otherwise correct spreadsheet into a misleading estimate.
3. Scenario: application and database in different zones
Suppose two self-managed EC2 instances use private addresses in the same region, with the application in AZ A and the database in AZ B. Assume their selected path bills $0.01/GB at each participating side. This example deliberately uses a self-managed database; do not copy its calculation onto RDS replication.
The application sends 1,000 GB of requests and the database returns 4,000 GB of responses in a month:
Directional payloads crossing zones = 1,000 + 4,000 = 5,000 GB
Assumed source-side meter = 5,000 × $0.01 = $50
Assumed destination-side meter = 5,000 × $0.01 = $50
Total transfer cost = $100
The example has 5,000 GB of logical traffic and 10,000 GB across two billed-side meters. Avoid multiplying by two again because responses are already included in the 5,000 GB.
For comparable Azure VMs, Microsoft states that same-region inter-zone transfer is not charged. That does not make a firewall, peering connection, or load balancer on the route free.
Improve locality where it preserves the availability design: use local reads or zone-aware application routing with a tested fallback. Keeping every component in one zone changes the failure model. Evaluate that tradeoff explicitly.
4. Scenario: small requests, large internet responses
An API serves five million successful requests. Each request is small, but the average response is 1 MB on the wire. Using decimal units:
5,000,000 responses × 1 MB = 5,000 GB
Assumed billable egress rate = $0.09/GB
Transfer cost = 5,000 × $0.09 = $450
This is transfer only. Add applicable load balancing, TLS/capacity, request processing, firewall, and logging meters. If compression reduces eligible response bytes by 40%, the modeled egress becomes 3,000 GB, or $270: a $180 reduction at the unchanged rate.
Measure compressed wire bytes rather than database record sizes. Check CPU overhead and latency, and avoid compressing already compressed formats unnecessarily. Failed downloads and retries may still transfer billable data.
5. Scenario: continuous cross-region replication
A system copies 500 GB each day from a primary region to a secondary region. Across a 30-day example period, that is 15,000 GB. At an illustrative $0.02/GB charge on the outbound leg, the transfer component is $300.
If both regions independently send 500 GB per day to each other, there are two directional streams: 30,000 GB and $600 under the same assumed rate. Acknowledgments are not automatically a second full replica; measure what the protocol actually sends.
Initial seeding, full resynchronization, compaction, and failed replication retries can exceed steady-state change volume. Add managed replication fees and destination writes where applicable. Use recovery-point objectives to decide acceptable replication behavior before optimizing volume.
6. Scenario: an application moves data from AWS to Azure
Suppose an application exports 8,000 GB from AWS to Azure and sends 500 GB of results back. Assume $0.09/GB outbound from AWS and $0.087/GB outbound from Azure for the selected routes:
| Direction | Assumed billable volume | Assumed egress price | Cost |
|---|---|---|---|
| AWS → Azure | 8,000 GB | $0.09/GB | $720.00 |
| Azure → AWS | 500 GB | $0.087/GB | $43.50 |
| Total outbound transfer | Two independently priced directions | — | $763.50 |
Free ingress does not cancel the other cloud’s egress. Add any NAT, inspection, transit, VPN, or carrier charges actually incurred. A private interconnect changes the route and commercial model; it does not automatically remove every outbound meter.
If the destination only needs aggregates, filtering near the source can reduce transferred volume. Moving processing to reduce a network charge is worthwhile only after accounting for compute, storage, licensing, latency, and data residency.
7. Load balancers and cross-zone traffic
AWS Application, Network, and Gateway Load Balancers do not have one universal cross-zone pricing rule. AWS documents different defaults and behaviors in how Elastic Load Balancing works. NLB cross-zone traffic can incur regional data transfer; ALB’s eligible backend paths have different treatment. Check target type, VPC, and the exact leg.
Do not assume a load balancer’s cross-zone setting describes all application traffic. A target may call a database in another zone after receiving the request. That backend dependency needs its own path estimate.
Azure’s inter-zone transfer policy likewise does not remove Load Balancer processing or Application Gateway capacity charges. Availability and processing are separate dimensions.
8. When caching helps—and when it does not
A CDN can reduce origin requests and improve delivery latency. It may change the rate and plan governing viewer transfer, while misses still trigger origin access. CloudFront offers both pay-as-you-go and flat-rate plans; Azure Front Door has its own base, request, and transfer model.
AWS and Azure have favorable treatment for eligible traffic from their own origins to their CDN services, subject to the applicable product rules. Do not model origin-to-CDN traffic using the ordinary internet egress rate without checking those rules. Equally, do not assume every external origin is included.
Look at byte hit ratio as well as request hit ratio. Caching many small objects does little for transfer if large objects repeatedly miss. Check cache keys, query strings, TTLs, authorization, compression, and invalidation behavior.
9. Build an estimate you can reconcile
Create one record per directional path with these fields:
| Field | Example |
|---|---|
| Source and destination | Application AZ A → self-managed database AZ B |
| Route and intermediaries | Private route; no NAT or transit |
| Volume and unit | 1,000 decimal GB requests |
| Meter owner | Source and destination accounts where applicable |
| Pricing rule | Selected transfer meter with documented exceptions |
| Adjustments | Tier, allowance, discount or credit |
| Evidence | Billing usage type, configuration and telemetry period |
Model return traffic separately, then add applicable intermediaries without inventing duplicate crossings. Compare observed billed quantities with telemetry for the same time window and units. Logs can omit unsupported traffic, and aggregation may differ from billing.
10. How CloudVectra helps
Use CloudVectra cost analysis to compare networking service expenditure and identify the accounts, subscriptions, or services contributing to a change. Its anomaly detection helps surface spending deviations for investigation.
Use provider telemetry to confirm whether that deviation came from internet delivery, replication, cross-zone calls, or a changed route. The optimization playbook explains how to turn those findings into owned actions and verified savings.
Continue the networking series
- - Previous: Start here: networking costs
- - Next: NAT Gateway architecture and costs