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!

preguntada hace 2 años440 visualizaciones
2 Respuestas
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
EXPERTO
respondido hace 2 años
profile pictureAWS
EXPERTO
kentrad
revisado hace 2 años
  • 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.

EXPERTO
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas