calculator.onl
Categories50

AWS NAT Gateway versus VPC endpoints cost

Compare keeping NAT gateways with routing eligible traffic through VPC endpoints, including hourly, processing and cross-zone charges.

A worked example

Raise the gateway endpoint share from 60% to 80%. Where do the last 200 GB of NAT traffic go?

Monthly NAT-only cost$335.70Monthly cost with endpoints$219.50Monthly saving with endpoints$116.20Traffic still using NAT1,000 GB
h
Provisioned hours per month (h).

Original NAT gateway count.

AZs per interface endpoint.

Interface endpoint services per AZ.

GB
Monthly NAT-processed traffic (GB).

%
Traffic moved to interface endpoints (%).

%
Traffic moved to S3/DynamoDB gateway endpoints (%).

USD/h
NAT price per gateway-hour (¤/h).

USD/GB
NAT processing price per GB (¤/GB).

USD/h
Interface endpoint price per AZ-hour (¤/h).

USD/GB
Interface processing price per GB (¤/GB).

Keep NAT even with no remaining traffic.

GB
Billable cross-AZ GB before (GB).

GB
Billable cross-AZ GB after (GB).

USD/GB
Cross-AZ price per billed GB (¤/GB).

GB
Common billed internet egress (GB).

USD/GB
Internet egress price per GB (¤/GB).

Updates as you type

Use a dot or comma for decimals. No thousands separators. Currency selection changes the display unit, not an exchange rate.

YOUR RESULT

Monthly saving with endpoints

$116.20

Calculated from your inputs

Monthly NAT-only cost$335.70
Monthly cost with endpoints$219.50
Traffic still using NAT1,000 GB
Monthly endpoint fixed charges$43.80
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

The endpoint’s fixed hourly charge can be spread across more eligible traffic as monthly volume grows. For a related calculation, try Reserved cloud capacity vs on-demand.

What to enter

InputWhat it meansExample value
Provisioned hours per monthProvisioned hours per month (h).730 h
Original NAT gateway countOriginal NAT gateway count.2
AZs per interface endpointAZs per interface endpoint.2
Interface endpoint services per AZInterface endpoint services per AZ.3
Monthly NAT-processed trafficMonthly NAT-processed traffic (GB).5,000 GB
Traffic moved to interface endpointsTraffic moved to interface endpoints (%).40 %
Traffic moved to S3/DynamoDB gateway endpointsTraffic moved to S3/DynamoDB gateway endpoints (%).40 %
NAT price per gateway-hourNAT price per gateway-hour (¤/h).0.045 USD/h
NAT processing price per GBNAT processing price per GB (¤/GB).0.045 USD/GB
Interface endpoint price per AZ-hourInterface endpoint price per AZ-hour (¤/h).0.01 USD/h
Interface processing price per GBInterface processing price per GB (¤/GB).0.01 USD/GB
Keep NAT even with no remaining trafficKeep NAT even with no remaining traffic.Disabled
Billable cross-AZ GB beforeBillable cross-AZ GB before (GB).0 GB
Billable cross-AZ GB afterBillable cross-AZ GB after (GB).0 GB
Cross-AZ price per billed GBCross-AZ price per billed GB (¤/GB).0.01 USD/GB
Common billed internet egressCommon billed internet egress (GB).500 GB
Internet egress price per GBInternet egress price per GB (¤/GB).0.09 USD/GB

How the calculation works

  1. Enter your technical data and costs in one currency.
  2. Scenario: Provisioned hours per month · Original NAT gateway count · AZs per interface endpoint.
  3. Compare: Monthly saving with endpoints · Monthly NAT-only cost · Monthly cost with endpoints · Traffic still using NAT · Monthly endpoint fixed charges.
The formulaN = H × n × rN + G × pN + Xbefore × pX + common; V = retainedNAT + Ginterface × pV + H × AZ × services × rV + Xafter × pX + common

A worked example

Change “Monthly NAT-processed traffic” from 5,000 GB to 10,000 GB and keep the other inputs from the worked example. The value for “Monthly saving with endpoints” goes from $116.20 to $276.20.

Example you can load

What to enter
Result for this example · Monthly saving with endpoints$116.20

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

Editable illustrative rates, not live AWS prices; use one currency and the same regional billing basis. S3/DynamoDB gateway endpoints have no endpoint fees. Any remaining traffic keeps the original NAT gateways. Interface services are provisioned in every entered AZ. Enter billable cross-AZ GB separately; common internet egress is counted in both options. No taxes, tiers or cross-region model.

Frequently asked questions

How is the result calculated?

Monthly saving with endpoints = Monthly NAT-only cost − Monthly cost with endpoints. Monthly endpoint fixed charges = Provisioned hours per month × AZs per interface endpoint × Interface endpoint services per AZ × Interface endpoint price per AZ-hour.

Which units are used?

Enter your technical data and costs in one currency. Provisioned hours per month (h). Original NAT gateway count. AZs per interface endpoint. Interface endpoint services per AZ. Monthly NAT-processed traffic (GB). Traffic moved to interface endpoints (%). Traffic moved to S3/DynamoDB gateway endpoints (%). NAT price per gateway-hour (¤/h). NAT processing price per GB (¤/GB). Interface endpoint price per AZ-hour (¤/h). Interface processing price per GB (¤/GB). Keep NAT even with no remaining traffic. Billable cross-AZ GB before (GB). Billable cross-AZ GB after (GB). Cross-AZ price per billed GB (¤/GB). Common billed internet egress (GB). Internet egress price per GB (¤/GB).

What assumptions apply?

Editable illustrative rates, not live AWS prices; use one currency and the same regional billing basis. S3/DynamoDB gateway endpoints have no endpoint fees. Any remaining traffic keeps the original NAT gateways. Interface services are provisioned in every entered AZ. Enter billable cross-AZ GB separately; common internet egress is counted in both options. No taxes, tiers or cross-region model.