Modelling and Reducing Data Transfer Costs
This lesson explains which network transfers are charged and how to reduce those charges without harming availability, since data transfer is easy to overlook and can dominate a large architecture's bill.
Learning outcomes
After completing this lesson, you will be able to:
- Identify which transfers are charged and which are free.
- Explain how cheaper network paths reduce transfer costs.
- Describe how transfer costs are found in the Cost and Usage Report.
What is charged and what is free
Data transfer often becomes a large part of the bill, so architects need to know what is charged. Internet egress is charged per gigabyte in tiers, while data into AWS is free. Inter-Region transfer is charged, and so is inter-AZ transfer, in both directions, while traffic within one Availability Zone over private IP addresses is free. NAT gateways charge per gigabyte processed as well as per hour. Gateway endpoints for S3 and DynamoDB are free and avoid that NAT processing charge, which makes them an easy saving.
Transit Gateway and interface endpoints charge for data processed, and public IPv4 addresses are charged per hour. On the cheaper side, transfer from AWS origins to CloudFront is free, and CloudFront's egress is often cheaper than serving directly. Direct Connect data-out rates are lower than internet egress. The following table summarises the charges.
| Charged | Free or cheaper |
|---|---|
| Internet egress (tiered per GB) | Data into AWS |
| Inter-Region transfer | Traffic within an AZ over private IPs |
| Inter-AZ transfer, in both directions | AWS origins to CloudFront; CloudFront egress often cheaper than direct |
| NAT gateway processing per GB, plus hourly | Gateway endpoints for S3 and DynamoDB (and they avoid NAT processing) |
| Transit Gateway and interface endpoint processing | Direct Connect data-out rates (lower than internet egress) |
| Public IPv4 addresses, per hour | — |
The following diagram marks the common transfer paths as free or charged.

Charged or free?
Reducing transfer costs
Most transfer savings come from choosing a cheaper path for the same bytes. CloudFront in front of origins replaces direct internet egress with cheaper CloudFront egress, and transfer from AWS origins to CloudFront is free. Gateway endpoints for S3 and DynamoDB remove NAT gateway processing for what is often the largest traffic flow, and centralising interface endpoints in a shared VPC avoids paying for the same endpoints in every VPC. Steady, large egress to on-premises networks costs less over Direct Connect than over the internet.
Other savings come from moving fewer bytes. Chatty tiers can be placed in the same Availability Zone where the availability trade-off allows it, payloads can be compressed, and data can be cached within each Region rather than fetched across Regions. Replicating only the data that recovery or users actually need limits inter-Region charges, and adopting IPv6 reduces the number of public IPv4 addresses, which are charged by the hour.
Finding the costs
Transfer charges are spread across many usage types, so they are found in the Cost and Usage Report rather than in a single line. Usage types such as DataTransfer-Regional-Bytes, which is inter-AZ traffic, DataTransfer-Out-Bytes, which is internet egress, and NatGateway-Bytes show which kind of transfer costs most and in which accounts. VPC Flow Logs then identify the heaviest talkers, the specific instances and destinations behind a charge, which tells the team which flow to re-route.
Pricing three traffic flows
An analytics platform moves 50 TB a month from private subnets to S3, 20 TB a month between application tiers in different AZs, and serves 30 TB a month to the internet. Using illustrative us-east-1 list prices (always check current pricing):
Flow Volume Rate Monthly cost
------------------------------------- -------- ------------------------- ------------
Private subnet -> S3 through NAT 50 TB $0.045/GB NAT processing ~ $2,300
...with an S3 gateway endpoint 50 TB $0 $0
Cross-AZ between tiers 20 TB $0.01/GB each direction ~ $400
Internet egress direct from ALB 30 TB ~$0.09/GB -> tiered ~ $2,600
...through CloudFront 30 TB lower tiered rates, plus noticeably less,
cache hits reduce origin and faster for usersThe gateway endpoint is the easiest saving in this design: one route table entry removes the largest charge entirely. Cross-AZ traffic is a trade-off rather than waste, since it buys availability; it should be reduced only where tiers can be made AZ-aware without weakening resilience.
Which data transfers are normally charged?
Show answer
Data out to the internet, data between Regions, and data between Availability Zones. Data into AWS is free.
Exam Tips
Remember for the exam
- NAT gateway processing costs for S3 traffic are removed by adding an S3 gateway endpoint.
- High internet egress for content is reduced with CloudFront.
- To find expensive flows, use CUR usage types together with VPC Flow Logs.
- Inter-AZ traffic is charged in both directions.
- Steady, large egress to on premises suits Direct Connect.