Erase Default VPC

0

Hi, is it a good idea to erase/replace the default VPC that comes with a brand-new AWS account? some day, a person who knows a lot of AWS told me that he faced issues because he deleted the default 172.31.0.0 VPC. Can I delete and then create a new VPC with the same CIDR 172.31.0.0 or will this cause future issues? Thank you!

2 Answers
1

So the answer to your question is Yes:

Can I delete and then create a new VPC with the same CIDR 172.31.0.0 or will this cause future issues?

If you delete your default VPC, you can create a new one. You cannot restore a previous default VPC that you deleted, and you cannot mark an existing non-default VPC as a default VPC.

Reference: https://docs.aws.amazon.com/vpc/latest/userguide/default-vpc.html#create-default-vpc

Is there a reason you want to use the default VPC? I'd highly encourage to move away from default VPC as it's not recommended and is a bad practice to use mainly for security reasons.

profile pictureAWS
EXPERT
answered 2 years ago
profile pictureAWS
EXPERT
kentrad
reviewed 2 years ago
  • Thank you for your reply. My main question is more related to the fact of deleting the default VPC, not using it. Should I keep the default VPC and just not use it? is there a recommendation about keeping the default VPC for something? I normally create a new VPC and work on it, but should I keep the default VPC?

  • You can go ahead and delete it, it wont cause any issues.

0

Go ahead and delete the default VPC. It's standard practice for us across all VPCs for all our clients and has never caused the slightest issue.

EXPERT
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions