Interview Prep/AWS/VPC and Networking

NAT Gateway vs NAT instance?

IntermediateConceptVPC and Networking
Answer

The managed NAT gateway scales to 100 Gbps, is highly available within an AZ, and needs no patching, but charges per hour plus per GB processed. A NAT instance is an EC2 you manage with source/destination check disabled; it is cheaper at tiny scale and allows port forwarding, security groups and custom tooling, but you own patching, failover and throughput limits.

In production we use NAT gateways, one per AZ. NAT instances survive only in dev environments where cost matters.

aws All AWS questions Roadmap: AWS core services

More on VPC and Networking