How do I create, delete, or restore a default VPC in Amazon VPC?

2 minute read

I want to use a default VPC in Amazon Virtual Private Cloud (Amazon VPC).

Short description

Each AWS Region in your AWS account is provided a default VPC. You can use the default VPC instead of creating and configuring your own VPC. The default VPC is available for immediate use to launch AWS services, such as Amazon Elastic Compute Cloud (Amazon EC2) instances.


Can I create a new default VPC?

If you don't want to use the default VPC, then you can create a new one. Use either the Amazon VPC console or AWS Command Line Interface (AWS CLI) to create the new default VPC. For more information, see Create a default VPC.

Can I delete a default VPC?

If you delete a default VPC, subnets, and internet gateway, then there isn't a direct impact on your other AWS resources in non-default VPCs. Depending on your network architecture configuration, there might be traffic impact. For example, there might be impact to VPC peering or transit gateway attachments for your default VPC. However, if you don't have AWS resources that carry production traffic in your default VPC, then there's no impact.

If you delete your default VPC, then you must launch resources in other VPCs. Without a default VPC or subnets, you must specify the VPC and subnet IDs when launching EC2 instance and other resources.

Important: If you delete your default subnets or default VPC, then you must explicitly specify a subnet in another VPC to launch your instance into.

Before deleting your VPC, review the default VPC components.

In your manually created VPC, make sure that all items are working correctly.

For the default VPC that you want to delete, verify that it doesn't have any resources or running services. After you delete the VPC, services or resources on the default VPC are no longer available.

Can I make an existing VPC the default VPC or restore a deleted default VPC in Amazon VPC?

You can't select an existing non-default VPC as your new default VPC. You also can't restore a previous default VPC that you deleted.

How do I delete a default VPC?

For information on how to delete a VPC, see Delete your VPC.

Related information

Default VPCs

AWS OFFICIALUpdated 8 months ago