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개 답변
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
전문가
답변함 2년 전
profile pictureAWS
전문가
kentrad
검토됨 2년 전
  • 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.

전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠