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).
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.