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 ↗// 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
// OFFICIAL AWS REFERENCE
"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
Role: A customer-managed EC2 instance performing NAT for private subnets.
Choose: You need port forwarding or a bastion on the same device.
Avoid: You want AWS-managed availability, bandwidth, and patching. AWS recommends NAT gateways.
Trap: Watch for exam signals like fully managed, highly available by default, automatic scaling.
Fact: AWS lists NAT instance availability as 'Use a script to manage failover between instances'. Bandwidth depends on instance type.
Fact: Port forwarding and bastion server use are supported on NAT instances and listed 'Not supported' for NAT gateways.
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.