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)
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
S3 GET via gateway endpoint — often removes NAT for that prefix; still model request ops and any DT nuances.
AWS API via interface endpoint — trades NAT for endpoint hours/ENI/private GB; multiply by AZ count.
Third-party SaaS HTTPS — still needs NAT or equivalent Internet path; endpoints do not cover arbitrary destinations.
Hybrid routing — classify destinations; price endpoint stack and NAT stack as separate lines.
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
Export NAT bytes/hours by AZ for 30–90 days; split AWS-bound vs true Internet.
Candidate gateway endpoints for S3/DynamoDB-heavy prefixes.
Candidate interface endpoints only for high-chatter AWS APIs — count AZs.
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.