AWS NAT Gateway Cost Calculator
Work out what your NAT gateways cost a month in hourly and per-GB processing fees, and compare with Cloud NAT, Azure NAT Gateway and clouds that charge nothing.
Updated · By Niraj Kumar · 14 sources
https://checkpre.com/ai/aws-nat-gateway-cost-calculator
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.
- Internet egress
- $83.16
- Cross-AZ
- $40.96
- NAT gateway hours
- $98.55
- NAT data processed
- $230
- Price rank
- 8th cheapest of 8
- Cheapest cloud with servers
- Oracle Cloud
- $0.00 a month, $453 less
- 1Cloudflarebandwidth only$0.00Cloudflare runs no servers, so region, zone and NAT traffic is priced on whatever compute sits behind it.
- 2Oracle Cloud$0.00
- 3DigitalOcean$0.00DigitalOcean has no managed NAT gateway to bill; servers reach the internet on their own addresses.
- 4Akamai Cloud (Linode)$0.00Linode has no managed NAT gateway to bill; servers reach the internet on their own addresses.
- 5Hetzner Cloud$0.00Hetzner has no managed NAT gateway to bill; servers reach the internet on their own addresses.
- 6Google Cloud$392
- 7Microsoft Azure$409
- 8AWS$453
| Provider | Internet egress | Cross-AZ | NAT gateway hours | NAT data processed | Total |
|---|---|---|---|---|---|
| Cloudflare | – | – | – | – | $0.00 |
| Oracle Cloud | – | – | – | – | $0.00 |
| DigitalOcean | – | – | – | – | $0.00 |
| Akamai Cloud (Linode) | – | – | – | – | $0.00 |
| Hetzner Cloud | – | – | – | – | $0.00 |
| Google Cloud | $123 | $20.48 | $18.40 | $230 | $392 |
| Microsoft Azure | $80.39 | – | $98.55 | $230 | $409 |
| AWS | $83.16 | $40.96 | $98.55 | $230 | $453 |
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
Six private-subnet servers in three availability zones, a NAT gateway in each zone, sending 5 TB a month of image pulls and third-party API calls through NAT.
- 1Internet egress: $83.16
- 2Cross-AZ: $40.96
- 3NAT gateway hours: $98.55
- 4NAT data processed: $230
- 5Total: $453 a month
$453 a month on AWS, $5,437 a year. The cheapest cloud listed that runs servers, Oracle Cloud, would cost $0.00 a month.
Frequently asked questions
How do I cut NAT gateway data processing charges?
Route AWS service traffic around the gateway. S3 and DynamoDB gateway endpoints are free and remove that traffic from NAT entirely; interface endpoints for ECR, CloudWatch and other services cost $0.01 per GB, less than NAT processing. Use a pull-through cache for container images, and keep a NAT gateway in each zone so traffic does not also pay cross-AZ charges on its way out.
Is one NAT gateway per availability zone worth it?
Usually. Each extra gateway costs about $33 a month in hourly charges, but a single shared gateway sends every other zone's outbound traffic across zones at $0.01 per GB each way, and becomes a single point of failure. Past about 1.6 TB a month of NAT traffic per zone, the cross-AZ fees alone cost more than a second gateway.
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.
- Kubernetes Network Cost CalculatorThe network bill for a multi-zone Kubernetes cluster: cross-zone service traffic, NAT for image pulls and egress, priced on each cloud.
- 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.
- AWS vs GCP Egress Cost CalculatorAWS against Google Cloud on the same traffic: internet egress tiers, CDN, inter-region, cross-zone and NAT charges, line by line.
More in AI, Cloud & Developer
- Video Streaming Bandwidth Cost Calculator
- SaaS API Egress Cost Calculator
- Static Website Bandwidth Cost Calculator
- Cross-Region Replication Cost Calculator
- AWS vs Azure Egress Cost Calculator
- GCP vs Azure Egress Cost Calculator
- AWS vs Cloudflare Egress Cost Calculator
- AWS vs Oracle Egress Cost Calculator
- All 99 AI, Cloud & Developer calculators