Zac Fukuda
078

Don’t Overpay AWS Bill: NAT Gateway vs VPC Endpoint, Find Break-Even Point

My previous article on AWS Account Dilemma reveals the best practice how to manage AWS accounts for multiple stages.

While separating the stages into isolated AWS accounts is the gold standard for security, duplicating NAT Gateways or 5+ interface endpoints across every single account will tank the budget if we don't calculate the data thresholds first. So the question:

Which one is cheaper, NAT Gateways or VPC interface endpoints?

This article answers that question, finding the break-even points of data processed, showing the logic behind the scene.

Pricing

In the U.S. North Virginia region, as of June 1, 2026:

HourData processed
NAT Gateway$0.045 / hour$0.045 / gb
Interface endpoint$0.010 / hour$0.010 / gb

The gateway endpoints for Amazon S3 and DynamoDB are free. The discussion below on break-even point only applies to interface endpoints—Systems Manager, ECR, CloudWatch Logs, Secrets Manager, etc.

Because the hourly cost of 4.5 interface endpoints equals the hourly cost of one NAT Gateway, less than five of interface endpoints are always cheaper than NAT Gateway. There is no complexity here. The complexity emerges when we have 5+ interface endpoints.

Formula

Given the number of endpoints(NE), the formula to calculate the break-even point(GB) is:

Break-Even Point Formula - NAT Gateway v.s. VPC Endpoint

One way to look at this formula is that we first find the break-even point for one AZ, then multiply the result by the number of AZs.

Break-Even Points

The figure below illustrates the cost relation between NAT Gateway and number of interface endpoints. The point where two lines—one for NAT Gateway, another for interface endpoints—cross is the break-even point.

NAT Gateway–VPC Endpoint Break-Even Points
NAT Gateway–VPC Endpoint Break-Even Points

The amount of data processed at each break-even point is listed in the following table.

Data Break-Even Point - Hourly (gb)
Number of
Endpoints
Number of AZs
123
50.140.290.43
60.430.861.29
70.711.432.14
81.002.003.00
91.292.573.86
101.573.144.71

Multiplying 24 hours × 30 days (= 720 hours) to the values in the table above, we obtain the monthly break-even points.

Data Break-Even Point Monthly (gb)
Number of
Endpoints
Number of AZs
123
5103206309
6309617926
75141,0291,543
87201,4402,160
99261,8512,777
101,1312,2633,394

For the hourly table, the values are rounded to the nearest hundredth. For the monthly, the values are rounded to the nearest whole number.

Monthly Costs

Given the amount of data processed at each break-even point, we can obtain the monthly cost as well.

Monthly Costs at Break-Even Point (usd)
Number of
Endpoints
Number of AZs
123
5$37.03$74.06$111.09
6$46.29$92.57$138.86
7$55.54$111.09$166.63
8$64.80$129.60$194.40
9$74.06$148.11$222.17
10$83.31$166.63$249.94

Conclusion

Excluding endpoints to S3 and DynamoDB, if we have more than four VPC interface endpoints, and the amount of data process is lower than 103 gb per AZ, NAT Gateways are always cheaper than VPC interface endpoints.

Key Takeaways

  1. The “Low-Traffic Sandbox” Trap: If we have a staging environment that sits idle most of the time but references ten different interface endpoints across three AZs, we are burning over $200/month just in idle endpoint base fees. For low-traffic environments, routing everything through a single NAT Gateway is often cheaper.
  2. The “High-Data Analytics” Winner: If our application is streaming gigabytes of metrics to CloudWatch Logs or pulling massive Docker images from ECR constantly, interface endpoints will cut our data bill by over 77% compared to running that data through a NAT Gateway.

Resources