Free tool

What are your NAT gateways costing you, and what would VPC endpoints save?

Enter your region, how many NAT gateways you run and how much data goes through them. See the hourly and data processing cost, what free gateway endpoints for S3 and DynamoDB save, and how much traffic an interface endpoint needs before it pays for itself.

  • Prices come from AWS's own price list, with the date we checked them.
  • Every result shows its formula and inputs, so you can check the math.
  • Everything is calculated in your browser. Nothing you enter is sent anywhere.

Loading prices…

Your NAT gateways

The Region the NAT gateways and endpoints are in.
Usually one per AZ. Count them with aws ec2 describe-nat-gateways.

The usage amount of NatGateway-Bytes in Cost Explorer (EC2-Other, grouped by usage type).

AWS's pricing examples use 730 hours a month.

Where that traffic goes

Shares of the NAT traffic going to AWS services in the same Region. Endpoints do not cover traffic to buckets, tables or services in other Regions, so leave that out. VPC Flow Logs on the NAT gateways' network interfaces tell you the split.

Includes ECR image layers, which are served from S3.

Services with interface endpoints, such as the ECR API, CloudWatch Logs, STS or SQS.

Interface endpoints you would add

One per service. ECR needs two (ecr.api and ecr.dkr). Enter 0 to skip.

Each endpoint bills per hour in every AZ it is placed in.

How to check

Find your own numbers

  • In Cost Explorer, filter Service to EC2-Other and group by usage type. NatGateway-Hours is the fixed part; NatGateway-Bytes is the GB to enter above.
  • Turn on VPC Flow Logs on each NAT gateway's network interface for a day, then sum bytes by destination and by source in CloudWatch Logs Insights. Match the top addresses against AWS's published IP ranges, where S3 and DynamoDB have their own service values.
  • Flow logs bill for ingestion, so delete the flow log when you have your numbers.
  • The step-by-step commands are in Gotcha 4 of our free guide, 12 cloud bill gotchas.

Privacy

Your numbers stay on this page

  • The calculator runs in your browser. The page loads its own price list from this site and sends nothing you type.
  • Its Content-Security-Policy only allows connections back to this site, and it loads no third-party scripts, fonts or trackers.
  • A shared link keeps your inputs after the #. Browsers never send that part of a link to a server.
  • The only request with something you typed is the optional email signup. It sends your email address and the tool's name, nothing else.

Want us to look at the real thing?

Book a free 30-minute consult: we'll look at your bill with you, no obligation and no sales pitch. Or check your own cloud bill first with our free Cloud Bill Gotchas Checker.

Book a free 30-minute consult