Deleting a VPC

Scenarios

This section describes how to delete a VPC.

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

  1. Log in to the management console.

  2. Click image1 in the upper left corner and select the desired region and project.

  3. On the console homepage, under , click Virtual Private Cloud.

  4. In the navigation pane on the left, click Virtual Private Cloud.

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

  6. Confirm the information and click Yes.

    Important

    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?