Interview Prep/AWS/VPC and Networking

What happens when you delete the default VPC and why might you?

BeginnerScenarioVPC and Networking
Answer

Situation read → Default VPCs have public subnets and permissive defaults that bypass your network design.

What I'd do →

  1. Delete in every region via CLI, including subnets, IGW and the VPC
  2. Prevent recreation of workloads in them using an SCP and detect with Config
  3. If needed, aws ec2 create-default-vpc restores it

Why → Removing it prevents people launching instances into an unmanaged, internet-routable network.

Interview tip → Mention doing it for all regions, not just the one you use.

aws All AWS questions Roadmap: AWS core services

More on VPC and Networking