Interview Prep/AWS/VPC and Networking

Internet Gateway vs NAT Gateway: what does each do?

BeginnerConceptVPC and Networking
Answer

An IGW is a horizontally scaled, redundant gateway that provides two-way internet connectivity for resources with public IPs, performing 1:1 NAT between private and public addresses. A NAT gateway lets instances in private subnets initiate outbound connections to the internet while blocking inbound connections initiated from outside.

NAT gateways are AZ-scoped and live in a public subnet with an Elastic IP.

aws All AWS questions Roadmap: AWS core services

More on VPC and Networking