Line item · Ilia Dubovskii · 30 November 2026

NatGateway-Bytes on Your AWS Bill: What It Is and How to Reduce It

NatGateway-Bytes is the charge for every gigabyte that passes through an AWS NAT gateway, and NatGateway-Hours is the charge for each hour the gateway exists. In US East (N. Virginia) both are $0.045 at list price: $0.045 per GB processed and $0.045 per gateway-hour. When people ask why NAT gateway is so expensive, the usual answer is traffic from private subnets to Amazon S3, DynamoDB, container registries or other AWS services that goes through the NAT gateway when it does not need to.

The short version

1. What this line is

AWS bills a NAT gateway on two meters (Amazon VPC pricing):

There is no free allowance. On top of these, you pay standard AWS data transfer for the same traffic, for example data transfer out to the internet, or cross-AZ transfer when the instance and the gateway are in different Availability Zones.

List prices from the AWS Price List API (service code AmazonEC2, product family "NAT Gateway"):

Region Usage type for bytes Usage type for hours List price per GB List price per hour
us-east-1 (N. Virginia)NatGateway-BytesNatGateway-Hours$0.045$0.045
us-east-2 (Ohio)USE2-NatGateway-BytesUSE2-NatGateway-Hours$0.045$0.045
us-west-2 (Oregon)USW2-NatGateway-BytesUSW2-NatGateway-Hours$0.045$0.045
eu-west-1 (Ireland)EU-NatGateway-BytesEU-NatGateway-Hours$0.048$0.048
eu-central-1 (Frankfurt)EUC1-NatGateway-BytesEUC1-NatGateway-Hours$0.052$0.052
ap-southeast-1 (Singapore)APS1-NatGateway-BytesAPS1-NatGateway-Hours$0.059$0.059
ap-northeast-1 (Tokyo)APN1-NatGateway-BytesAPN1-NatGateway-Hours$0.062$0.062

Related lines you may see next to it:

In Cost Explorer, the usage type groups are EC2: NAT Gateway - Data Processed and EC2: NAT Gateway - Running Hours (Cost Explorer filters).

2. Why it shows up on your bill

Most frequent first. All figures are at us-east-1 list price, for this example.

  1. S3 or DynamoDB traffic through the NAT gateway. Without a gateway endpoint, an instance in a private subnet reaches S3 through the NAT gateway. The S3 transfer itself is free inside the region, but the NAT gateway still charges per GB. A batch job that reads 10,000 GB a month from S3 costs $450.00 in NatGateway-Bytes, which a gateway endpoint would remove.
  2. Container image pulls, package installs and other AWS API traffic. Nodes pulling images from a registry, CI runners downloading dependencies, and calls to services such as ECR, CloudWatch Logs or STS all go through the gateway when no endpoint exists. Fifty nodes each pulling 2 GB a day for 30 days is 3,000 GB, or $135.00 in NatGateway-Bytes.
  3. Cross-AZ routing. If private subnets in several zones route to one NAT gateway, traffic from the other zones also pays cross-AZ transfer. 2,000 GB a month from another zone adds $20.00 per direction in DataTransfer-Regional-Bytes on top of $90.00 in NatGateway-Bytes.
  4. Idle or duplicate gateways. Each gateway costs $32.85 a month in NatGateway-Hours even with no traffic. Three gateways, one per zone, are $98.55 a month before any data. Forgotten test gateways keep billing.
  5. Internet-bound workloads. Log shipping to a SaaS, backups to another cloud, large API responses. Often legitimate, and paid twice: NatGateway-Bytes and data transfer out.

3. How to find what is causing it

  1. Cost Explorer. Set the filter Usage type group to "EC2: NAT Gateway - Data Processed" and "EC2: NAT Gateway - Running Hours", then group by Usage type to see the split by region and meter. Grouping EC2-Other by Usage type shows the same lines (AWS blog on EC2-Other).
  1. The same from the CLI, read-only:
aws ce get-cost-and-usage \
  --time-period Start=2026-11-01,End=2026-12-01 \
  --granularity MONTHLY \
  --metrics UnblendedCost UsageQuantity \
  --filter '{"Dimensions":{"Key":"USAGE_TYPE_GROUP","Values":["EC2: NAT Gateway - Data Processed","EC2: NAT Gateway - Running Hours"]}}' \
  --group-by Type=DIMENSION,Key=USAGE_TYPE
  1. Per gateway, from the Cost and Usage Report (CUR 2.0) in Athena. Replace the table name with yours. The resource ID column names the NAT gateway (line item columns).
SELECT line_item_resource_id,
       product_region_code,
       line_item_usage_type,
       SUM(line_item_usage_amount)   AS usage_amount,
       SUM(line_item_unblended_cost) AS cost
FROM   cur2_table
WHERE  line_item_usage_type LIKE '%NatGateway%'
  AND  line_item_usage_start_date >= TIMESTAMP '2026-11-01 00:00:00'
  AND  line_item_usage_start_date <  TIMESTAMP '2026-12-01 00:00:00'
GROUP  BY 1, 2, 3
ORDER  BY cost DESC
LIMIT  20;
  1. List the gateways and the subnets that use them.
aws ec2 describe-nat-gateways \
  --query 'NatGateways[].{Id:NatGatewayId,Vpc:VpcId,Subnet:SubnetId,State:State}' \
  --output table

aws ec2 describe-route-tables \
  --filters Name=route.nat-gateway-id,Values=nat-0123456789abcdef0 \
  --query 'RouteTables[].{RouteTable:RouteTableId,Subnets:Associations[].SubnetId}'

aws ec2 describe-vpc-endpoints \
  --filters Name=vpc-endpoint-type,Values=Gateway \
  --query 'VpcEndpoints[].{Vpc:VpcId,Service:ServiceName,RouteTables:RouteTableIds}'
  1. Find when the traffic happens. The gateway publishes BytesOutToDestination, BytesInFromDestination, BytesInFromSource and BytesOutToSource in the AWS/NATGateway namespace, dimension NatGatewayId (NAT gateway metrics).
aws cloudwatch get-metric-statistics \
  --namespace AWS/NATGateway \
  --metric-name BytesInFromDestination \
  --dimensions Name=NatGatewayId,Value=nat-0123456789abcdef0 \
  --start-time 2026-11-01T00:00:00Z --end-time 2026-11-30T00:00:00Z \
  --period 86400 --statistics Sum
  1. Find who sends it. With VPC flow logs in CloudWatch Logs, AWS gives this Logs Insights query to list the instances that send the most traffic through the gateway (AWS re:Post). Replace the NAT private IP and the VPC CIDR:
filter (dstAddr in ["example-NAT-private-IP"] AND isIpv4InSubnet(srcAddr, "example-VPC-CIDR"))
| stats sum(bytes) as bytesTransferred by srcAddr, dstAddr
| sort bytesTransferred desc

If the top destinations are S3, DynamoDB or another AWS service in the region, see the next section.

4. How to reduce it

  1. Add gateway endpoints for S3 and DynamoDB. "There is no additional charge for using gateway endpoints" (gateway endpoints). Attach the endpoint to the route tables of the private subnets. Test: watch BytesInFromDestination (downloads) and BytesOutToDestination (uploads) drop and confirm the application still reaches S3. Check bucket policies that rely on aws:SourceIp, because traffic through an endpoint no longer comes from the NAT IP. Roll back: remove the route table association. Terraform: aws_vpc_endpoint with vpc_endpoint_type = "Gateway", service_name = "com.amazonaws.us-east-1.s3" and route_table_ids.
  2. Add interface endpoints for heavy AWS service traffic such as ECR, CloudWatch Logs or STS. AWS recommends this when most traffic goes to services that support endpoints (NAT gateway pricing). Interface endpoints have their own hourly and per-GB charges (AWS PrivateLink pricing), so compare both before you switch. Terraform: aws_vpc_endpoint with vpc_endpoint_type = "Interface" and private_dns_enabled = true.
  3. Keep traffic in its own Availability Zone. Give each zone its own NAT gateway and point each private route table at the gateway in its zone. This removes cross-AZ transfer but adds $32.85 a month in hours per extra gateway at us-east-1 list price, for this example, so it pays only when cross-AZ NAT traffic is large. Terraform: one aws_nat_gateway per public subnet and an aws_route with nat_gateway_id per zone, or one_nat_gateway_per_az = true in the community terraform-aws-modules/vpc module.
  4. Delete gateways nobody uses. A gateway with no route table pointing to it and near-zero bytes in CloudWatch is pure NatGateway-Hours. Check the route tables first. Deleting one cannot be undone, and check whether its Elastic IP should be released afterwards.
  5. Accept the rest. Traffic that must reach the internet from a private subnet is what a NAT gateway is for. If the remaining NatGateway-Bytes are steady and match a known workload, this is expected; leave it.

5. What to watch out for

6. Have it done for you

NAT gateway charges usually come from many small routing choices spread across VPCs and accounts, and the work is finding each one and changing it without breaking egress. That is what FinOps, paid from savings, does. You see savings in the bill within 30 days. Then you get one invoice for one month of the measured saving, and you keep every month after. No savings, no payment: the assessment is free, and if nothing is found or approved there is no invoice. Changes arrive as pull requests in your own process. It covers AWS, Azure and Google Cloud, for any account size. Get a free savings assessment.

Prefer to do it yourself? Compass is open source and finds AWS cost waste with a savings estimate per finding (AWS only).

7. Sources

8. FAQ

What is NatGateway-Bytes on my AWS bill?

It is the NAT gateway data processing charge: every GB that goes through a NAT gateway, in either direction. In us-east-1 it appears as NatGateway-Bytes at $0.045 per GB list price. In other regions it has a prefix, such as USW2-NatGateway-Bytes or EUC1-NatGateway-Bytes ($0.052 per GB list price in Frankfurt).

What is NatGateway-Hours?

It is the hourly charge for each NAT gateway that is provisioned and available, $0.045 per hour list price in us-east-1, whether or not traffic flows. One gateway running all month is $32.85 at list price. A partial hour is billed as a full hour.

Why is my NAT gateway cost so high?

Usually because traffic that could skip the gateway goes through it: reads and writes to S3 or DynamoDB in the same region, container image pulls, and calls to other AWS services. Each GB is charged at the data processing rate, and internet-bound traffic also pays data transfer out. Instances using a gateway in another zone add cross-AZ transfer.

How do I reduce NAT gateway cost?

Find the top traffic sources with VPC flow logs and the AWS/NATGateway metrics. Add gateway endpoints for S3 and DynamoDB, which have no hourly or data processing charge. Then consider interface endpoints, same-zone routing and deleting unused gateways.

Is S3 traffic through a NAT gateway charged?

Yes. Transfer from EC2 to S3 in the same region is free, but the NAT gateway still charges its per-GB processing fee. AWS's own pricing example suggests a gateway VPC endpoint to avoid it.

What is USE1-RegionalNatGateway-Bytes?

It is the per-GB charge for a regional NAT gateway in us-east-1, $0.045 per GB list price, the same rate as a standard gateway. A regional NAT gateway spans Availability Zones, and its hours line is charged for each zone it runs in.

Last checked: 30 November 2026. Written from AWS pricing pages and documentation, linked below. Prices are list prices; confirm against your own rates before acting.

Related: All AWS bill line items explained · Why is my AWS bill so high? · FinOps paid from savings