Deleting a Subnet¶
Scenarios¶
This section describes how to delete a subnet.
Notes and Constraints¶
If you want to delete a subnet that has custom routes, virtual IP addresses, or other resources, you need to delete these resources as prompted on the console first and then delete the subnet.
Procedure¶
Log in to the management console.
Click in the upper left corner and select the desired region and project.
On the console homepage, under Network, click Virtual Private Cloud.
In the navigation pane on the left, click Virtual Private Cloud.
On the Virtual Private Cloud page, locate the VPC from which a subnet is to be deleted and click the VPC name.
On the Subnets page, locate the target subnet and click Delete.
Click Yes in the displayed dialog box.