NETWORK & TRAFFIC VPC foundations

NAT Instance

A customer-managed EC2 instance performing NAT for private subnets.

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

// DECISION LOGIC MATRIX

✓

When to Choose

You need port forwarding or a bastion on the same device.

✕

When to Avoid

You want AWS-managed availability, bandwidth, and patching. AWS recommends NAT gateways.

// EXAM TRAPS & SIGNAL KEYWORDS

fully managed, highly available by default, automatic scaling

// OFFICIAL AWS REFERENCE

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

"AWS recommends NAT gateways over NAT instances for better availability and bandwidth and less administration. A NAT instance runs a generic AMI configured to perform NAT."

  • AWS lists NAT instance availability as 'Use a script to manage failover between instances'. Bandwidth depends on instance type.
  • Port forwarding and bastion server use are supported on NAT instances and listed 'Not supported' for NAT gateways.
  • Security groups attach to a NAT instance but never to a NAT gateway.

// NAT INSTANCE TAKEAWAYS

01

Role: A customer-managed EC2 instance performing NAT for private subnets.

02

Choose: You need port forwarding or a bastion on the same device.

03

Avoid: You want AWS-managed availability, bandwidth, and patching. AWS recommends NAT gateways.

04

Trap: Watch for exam signals like fully managed, highly available by default, automatic scaling.

05

Fact: AWS lists NAT instance availability as 'Use a script to manage failover between instances'. Bandwidth depends on instance type.

06

Fact: Port forwarding and bastion server use are supported on NAT instances and listed 'Not supported' for NAT gateways.

07

Fact: Security groups attach to a NAT instance but never to a NAT gateway.

// PRACTICE QUESTIONS

Ready to test your NAT Instance knowledge?

12 practice questions cover NAT Instance.

Start Practice →