AWS NAT Gateway vs. VPC Endpoint Cost Calculator
Compare monthly AWS NAT Gateway processing fees against S3/DynamoDB Gateway Endpoints and PrivateLink Interface Endpoints, including multi-AZ break-even traffic.
How the Break-Even Math Works
It is not unheard of for private-subnet containers to pull gigabytes of ECR images or push S3 backups straight through a Managed NAT Gateway simply because nobody added a VPC endpoint. Enter your Availability Zone count, active NAT Gateways, editable hourly and per-GB rates, and monthly traffic across S3/DynamoDB, public internet egress, and AWS PrivateLink services (ECR, CloudWatch Logs, Secrets Manager, STS, KMS, or SQS).
Is adding VPC endpoints always cheaper? Gateway Endpoints for S3 and DynamoDB carry no hourly or per-GB endpoint charge in standard AWS regions, so they save money immediately. Interface Endpoints work differently: each one adds an hourly per-AZ ENI charge alongside a lower per-GB fee, meaning a service has to push enough monthly volume to clear its multi-AZ break-even point when NAT Gateways stay active for internet traffic.
Rate Assumptions and Exports
Preset rates default to standard US East on-demand pricing ($0.045/hr and $0.045/GB for NAT Gateway; $0.01/hr per AZ and $0.01/GB for PrivateLink across 730 hours/month). Edit any rate to match your AWS region or Enterprise Discount Program, then copy the text summary, export CSV or PDF, or print.
Illustrative Break-Even Example
Across 3 Availability Zones (730 hours/month at $0.01/ENI-hour), one PrivateLink Interface Endpoint adds $21.90/month in fixed hourly fees while cutting per-GB processing from $0.045/GB to $0.01/GB—a $0.035/GB difference. When your NAT Gateways remain provisioned for public internet egress anyway, that single service needs roughly 626 GB/month across the VPC before the Interface Endpoint pays for itself. An S3 Gateway Endpoint, by contrast, saves $0.045/GB starting with the first gigabyte.
Related Guides and Services
Frequently Asked Questions
Why can adding Interface Endpoints increase a small VPC bill?
Every Interface Endpoint provisions an Elastic Network Interface in each selected Availability Zone, which runs roughly $7.30/month per AZ in US East. Turning on six Interface Endpoints across three AZs adds about $131/month in fixed hourly charges—more than the NAT processing fee itself if those services only move a few dozen gigabytes a month.
Does adding an S3 Gateway Endpoint interrupt existing connections?
Adding a Gateway Endpoint inserts a prefix-list route to S3 in your VPC route table. AWS documents that existing long-lived TCP streams opened through a NAT Gateway can hang or reset when the route changes underneath them, so apply route-table updates during a maintenance window and confirm workers reconnect cleanly.
Does an endpoint eliminate cross-AZ data transfer fees?
Only when instances talk to an endpoint ENI inside their own Availability Zone. Provision Interface Endpoints in every AZ that runs heavy traffic, and enable private DNS so workloads resolve the local-AZ endpoint address.