NETWORK & TRAFFIC VPC foundations

NAT Gateway

Lets private-subnet instances connect out while blocking externally initiated connections.

Official AWS Reference https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html ↗
SCOPE Regional
HIGH AVAILABILITY Multi-AZ Compatible
RESILIENCE Production Grade

// DECISION LOGIC MATRIX

✓

When to Choose

Private backends need outbound patching and API calls with zero administration.

✕

When to Avoid

You need inbound access, port forwarding, or a bastion. VPC endpoints avoid NAT charges for AWS service traffic.

// EXAM TRAPS & SIGNAL KEYWORDS

inbound access, security group on the NAT gateway, port forwarding

// OFFICIAL AWS REFERENCE

AWS https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html ↗

"A NAT gateway lets instances in a private subnet connect to services outside the VPC, while external services cannot initiate connections to those instances."

  • 5 Gbps of bandwidth, scaling automatically to 100 Gbps. 1 million packets per second, scaling to 10 million.
  • Each IPv4 address supports 55,000 simultaneous connections per unique destination (IP, port, protocol). Up to 8 IPv4 addresses raise that.
  • Created in one Availability Zone and redundant only within it. No security group can be attached. A public NAT gateway needs an Elastic IP at creation.

// NAT GATEWAY TAKEAWAYS

01

Role: Lets private-subnet instances connect out while blocking externally initiated connections.

02

Choose: Private backends need outbound patching and API calls with zero administration.

03

Avoid: You need inbound access, port forwarding, or a bastion. VPC endpoints avoid NAT charges for AWS service traffic.

04

Trap: Watch for exam signals like inbound access, security group on the NAT gateway, port forwarding.

05

Fact: 5 Gbps of bandwidth, scaling automatically to 100 Gbps. 1 million packets per second, scaling to 10 million.

06

Fact: Each IPv4 address supports 55,000 simultaneous connections per unique destination (IP, port, protocol). Up to 8 IPv4 addresses raise that.

07

Fact: Created in one Availability Zone and redundant only within it. No security group can be attached. A public NAT gateway needs an Elastic IP at creation.

// PRACTICE QUESTIONS

Ready to test your NAT Gateway knowledge?

16 practice questions cover NAT Gateway.

Start Practice →