FinOps

How to cut NAT Gateway and egress costs

Why NAT gateway and data-transfer lines grow quietly on AWS, and the usual fixes: endpoints, traffic paths, caching and zone awareness.

21 September 2026 · 5 min read · Serverconfigs engineering

NAT gateways charge by the hour and by the gigabyte processed. Data transfer between zones, regions and out to the internet adds its own charges. Together they are the lines that grow while nobody is looking, because they scale with traffic, not with anything an engineer deliberately bought.

Find out where the traffic goes

Start with VPC flow logs or the Cost and Usage Report, filtered to NAT gateway bytes and inter-AZ transfer. The question is simple: which workloads send the most bytes through the NAT, and to which destinations?

The usual fixes

Gateway endpoints for S3 and DynamoDB. Traffic to these services can go through a gateway endpoint, which has no hourly or per-GB charge, instead of through the NAT gateway. For many accounts this is the single biggest change.

Interface endpoints for chatty AWS services. For services such as ECR, CloudWatch Logs or Secrets Manager, interface endpoints change the cost profile. They have their own hourly and per-GB charges, so compare for your volumes before adding them everywhere.

Pull images and packages closer. A large number of pulls from public registries through the NAT adds up. Use a regional cache or private registry.

Keep chatty traffic in one zone. Cross-AZ calls are billed. Zone-aware routing, topology-aware service routing in Kubernetes and sensible placement can reduce it, balanced against resilience.

One NAT gateway per AZ, not per workload. Remove NAT gateways in accounts and subnets that no longer need them.

Cache at the edge. Serving static or cacheable content from a CDN usually costs less than serving it from the origin out to the internet.

Check before and after

Change one thing at a time and watch the bytes. Compare the cost of the new option against the old for your own volumes, because pricing differs by region and changes over time.

If this bill line worries you, it is one of the first things we check in a cloud cost assessment.

Serverconfigs engineering

Notes from the engineers who run cloud cost, platform and AI enablement work for clients.

Keep reading

Related articles.

Newsletter

Practical notes on cost, platform engineering and AI infrastructure. See the Privacy Policy.

Start here

Find the waste first.

45 minutes with an engineer, a read-only look at your bill and a clear list of what to fix.

45-min call with an engineer · Read-only access · No commitment

Talk to an Engineer Free Cost Assessment