Interview Prep/Networking/VPC & Cloud Network Design

Why shouldn't production run in the default VPC?

BeginnerScenarioVPC & Cloud Network Design
Answer

Situation read → The default VPC is built for convenience, not for controlled production.

What I'd do →

  1. List problems: every default subnet is public with auto-assign public IP
  2. The CIDR is fixed at 172.31.0.0/16 and can clash with other networks
  3. There is no tier separation or private subnets by default
  4. Build a custom VPC with Terraform, with explicit public, private and data subnets
  5. Optionally delete the default VPC in every region with aws ec2 delete-vpc

Why → Everything launched there is internet-adjacent by default, which is the opposite of least privilege.

Interview tip → Mention that you delete or lock down default VPCs in new accounts through SCPs or a baseline stack.

All Networking questions Roadmap: Networking for DevOps

More on VPC & Cloud Network Design