Educational — Cloud egress & data-transfer cost guides. FinOps-lite estimators. Not a quote, broker, or savings guarantee. Launching soon where incomplete.
nat-triple · Educational

Cloud egress: VPC endpoints vs NAT Gateway path matrix

VPC gateway endpoints (e.g. S3/DynamoDB) and interface endpoints (PrivateLink) can move AWS-bound traffic off a NAT Gateway — trading NAT hourly/processing/Internet DT-out for endpoint hours, ENI, or private-path fees. Compare stacks with Mode B; keep rates Unknown until verified.

Updated

Gateway and interface VPC endpoints can shift AWS-bound traffic off NAT — compare endpoint fees to the NAT triple-charge stack.

Path matrix: VPC endpoints vs NAT Gateway (educational)
PathMeters to modelBest whenFinOps note
Private subnet → NAT → Internet/AWS publicHourly + processing + Internet DT-out (+ cross-AZ hairpin)True Internet destinationsTriple-charge pattern
Private subnet → gateway endpoint → S3/DynamoDBEndpoint policy/ops; often no NAT for that prefixHeavy AWS-managed object/DB API pullsGateway endpoints are prefix-based
Private subnet → interface endpoint → AWS APIsEndpoint hourly / ENI / PrivateLink-style GBPrivate API access without IGWPer-AZ endpoint sprawl multiplies hours
Public subnet → IGWInternet DT-out; no NAT processingHardened public workloadsSecurity groups ≠ cost model
Hybrid: endpoints for AWS + NAT for InternetBoth stacks on one billMixed destinationsSplit bytes by destination class

Sources (official AWS docs)

  1. AWS VPC pricing (NAT & endpoints) — as-of Unknown until verified
  2. AWS PrivateLink / interface endpoint concepts — as-of
  3. AWS gateway endpoints — as-of
  4. AWS data transfer / EC2 pricing — as-of Unknown until verified

Dated starting points only — Unknown until verified means no invented $/GB. Gateway vs interface coverage lives on this one spoke — no thin duplicate URLs.

This matrix covers both gateway endpoints and interface / PrivateLink-style endpoints versus NAT Gateway on one page — avoiding thin duplicate URLs. For a deeper interface/PrivateLink vs NAT egress bill-line map, open the PrivateLink vs NAT egress spoke. Educational FinOps-lite only; not a broker quote.

Path templates to model

Common traps

Enabling one S3 gateway endpoint and declaring “NAT solved.” Spawning interface endpoints in every AZ “for HA” without measuring bytes. Comparing only Internet $/GB while ignoring NAT hourly. Assuming PrivateLink zeros cross-AZ. No guaranteed savings from endpoint adoption.

FinOps checklist

  1. Export NAT bytes/hours by AZ for 30–90 days; split AWS-bound vs true Internet.
  2. Candidate gateway endpoints for S3/DynamoDB-heavy prefixes.
  3. Candidate interface endpoints only for high-chatter AWS APIs — count AZs.
  4. Model NAT with calculator Mode B; keep endpoint rates Unknown until dated.
  5. Sibling-check NAT vs IGW and the free-tier cliff; read methodology.

Glossary: NAT processing, IGW, path template, VPC endpoint.

FinOps-lite Unknown until verified

Worked example (educational): 1,500 GB AWS-bound via NAT vs endpoint shift

  1. Baseline: 1,500 GB/month S3 API pulls traverse NAT (processing + Internet DT-out) plus 730 NAT hours.
  2. Line NAT hourly — rate Unknown; line NAT processing×1,500 GB — rate Unknown; line Internet DT-out×1,500 GB — rate Unknown.
  3. Candidate shift: gateway endpoint for the S3 prefix — endpoint fee line Unknown (no invented $/GB).
  4. If interface endpoints are needed for other APIs, add per-AZ endpoint hours/ENI — rates Unknown.
  5. Compare stacks with Mode B; do not claim savings without dated cites. Educational only.
Numbered NAT vs endpoint shift — Unknown rate cells
#Scenario lineVolumeUnit rate
1NAT hourly (baseline)730 hUnknown $/hour
2NAT processing (baseline)1,500 GBUnknown $/GB
3Internet DT-out (baseline)1,500 GBUnknown $/GB
4Gateway endpoint fees (shift)same prefixUnknown
5Interface endpoint hours (optional)per AZUnknown

Open calculator Mode B Cost Explorer decoder

FAQ on this path

Do VPC endpoints replace NAT for all traffic?

No. Gateway and interface endpoints cover specific AWS services/prefixes. Arbitrary Internet destinations still need NAT, IGW, or another egress path.

Gateway vs interface — which spoke?

Both live on this matrix. Gateway endpoints are prefix-based (classic S3/DynamoDB); interface endpoints are ENI/PrivateLink-style. PipeToll avoids thin duplicate URLs.

Will endpoints guarantee lower spend?

No. PipeToll never guarantees savings. Measure bytes, AZ count, and dated fees before changing architecture.