Interview Prep/Networking/VPC & Network Architecture

What makes a subnet public versus private?

BeginnerProductionVPC & Network Architecture
Answer

Only the route table. A public subnet has a route 0.0.0.0/0 to an internet gateway and its instances have public or Elastic IPs. A private subnet has no IGW route; outbound goes via NAT gateway or not at all.

Auto-assign public IP settings and security groups still decide whether an instance is reachable, so being in a public subnet alone is not exposure.

All Networking questions Roadmap: Networking for DevOps

More on VPC & Network Architecture