Deleting a VPC
Scenarios
If you no longer need a VPC, you can delete it.
The VPC service has multiple resources. Some are free, while some are not. For details about VPC resource pricing, see Pricing Details.
Notes and Constraints
If you want to delete a VPC that has subnets, custom routes, or other resources, you need to delete these resources as prompted on the console first and then delete the VPC.
You can refer to Why Can't I Delete My VPCs and Subnets?
Procedure
- Log in to the management console.
- Click in the upper left corner and choose Networking > Virtual Private Cloud.
The Virtual Private Cloud page is displayed.
- On the Virtual Private Cloud page, locate the row that contains the VPC to be deleted and click Delete in the Operation column.
A confirmation dialog box is displayed.
If your VPC is used by other resources, you need to delete these resources before deleting a VPC.
- Confirm the information and click Yes.
If a VPC cannot be deleted, a message will be displayed on the console. Delete the resources that are in the VPC by referring to Why Can't I Delete My VPCs and Subnets?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.