user9560107
user9560107

Reputation: 71

What will happen if I delete the default VPC in AWS?

I don't use the default VPC. I have created another VPC. However, I haven't assigned my other VPC as default. I would like to delete my default VPC and set my other VPC as default.

I read some arguments on the Internet. If I delete the default VPC then I will not be able to create instances. Is this correct?

What will happen if I delete the default VPC in AWS?

Upvotes: 6

Views: 5767

Answers (3)

Varun
Varun

Reputation: 91

You can recreate a new default vpc by going to the actions tab in vpc and by clicking on : Create default VPC

enter image description here

Upvotes: 1

quercy
quercy

Reputation: 78

To answer your question, if there are no resources in your default VPC, and you delete it, nothing will happen. Any VPC other than the default will need to be "manually" selected and may not auto-populate for other services - there is no existing way (and no real need) to call another VPC the "default VPC", however.

Upvotes: 1

Ashan
Ashan

Reputation: 19748

AWS has recently announced a feature to self restore the default VPC.

Also its not mandatory to have a default VPC in place for a region. However, at least one is needed if you plan to start EC2 instances in the particular region.

Note: In the past, if the default VPC is deleted, it was required to contact AWS Support to restore it back.

Upvotes: 5

Related Questions