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.
More on VPC and Networking
What is a VPC and what are the CIDR constraints?BeginnerWhat makes a subnet public or private?BeginnerHow do route tables work, including the local route and longest-prefix match?IntermediateNAT Gateway vs NAT instance?IntermediateSecurity group vs network ACL: compare them.BeginnerWhat are the nuances of security group statefulness?Advanced