AWS & Cloud Engineering
NAT gateway economics
Explain what a NAT gateway bills for, how the traffic path changes the bill, and how gateway endpoints keep AWS service traffic off the NAT data charge in a private subnet.
What you will be able to do
- Explain the hourly and per-gigabyte charges on a NAT gateway.
- Decide when a gateway endpoint removes NAT traffic and when it does not.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in AWS & Cloud Engineering
- VPC route tablesBeginner · 4 min
A subnet route table selects a target for a matching destination, generally using the most specific prefix.
- Public and private subnetsIntermediate · 4 min
A subnet is public or private because of its route table, and a resource also needs a public address and a permitting rule before the internet can reach it.
- Gateway endpointsIntermediate · 4 min
Explain how a gateway endpoint for S3 or DynamoDB works as a route table target, what it costs, and which callers it cannot reach from outside its VPC.
- Interface endpointsIntermediate · 4 min
Explain how an interface endpoint places a private network interface in each chosen subnet, how private DNS sends service hostnames to it, and what it costs to run.
- Security groupsIntermediate · 4 min
Explain how security groups filter traffic per resource, why they are stateful, and why one broad inbound rule exposes every resource that carries the group.
- Network ACLsIntermediate · 4 min
Explain how network ACL rules are numbered and evaluated, why they are stateless, and how an ACL allows or denies traffic at the subnet boundary.