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!

feita há 2 anos439 visualizações
2 Respostas
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
ESPECIALISTA
respondido há 2 anos
profile pictureAWS
ESPECIALISTA
kentrad
avaliado há 2 anos
  • 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.

ESPECIALISTA
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas