VPC foundations
Security | Resilience | Performance | Cost Domain
// ROUTE TO THE RIGHT SERVICE
Amazon VPC Provides a logically isolated virtual network where AWS resources launch with controlled IP ranges and routing. Open → VPC subnets Divides a VPC IP range into Availability Zone-scoped networks where resources are placed. Open → Internet Gateway (IGW) Enables two-way IPv4 and IPv6 traffic between a VPC and the internet. Open → NAT Gateway Lets private-subnet instances connect out while blocking externally initiated connections. Open → NAT Instance A customer-managed EC2 instance performing NAT for private subnets. Open → Elastic IP (EIP) Static public IPv4 address you can remap between instances or network interfaces. Open → Route Table Holds routes deciding where traffic from a subnet or gateway goes. Open →
// FAST ROUTING SIGNALS
"private instances must download patches" → NAT gateway in a public subnet
"internet clients reach the web server" → Internet gateway plus a public IPv4 address
"fixed public IP for an allow-list" → Elastic IP
"route 0.0.0.0/0 out of the subnet" → Route table to IGW (public) or NAT gateway (private)
"port forwarding or bastion on the NAT device" → NAT instance (NAT gateways support neither)
Mastered VPC foundations?
Test your knowledge in the interactive practice simulator.