Deleting a Subnet

Scenarios

You can delete a subnet to release network resources if the subnet is no longer required.

A subnet cannot be deleted if it is being used by an ECS, VPN, or private IP address. To delete a subnet these cases, you must first delete the ECS, VPN, or private IP address.

Procedure

  1. Log in to the management console.
  2. On the console homepage, under Network, click Virtual Private Cloud.
  3. In the navigation pane on the left, click Virtual Private Cloud.
  4. On the Virtual Private Cloud page, locate the VPC from which a subnet is to be deleted and click the VPC name.
  5. On the Subnet page, locate the target subnet and click Delete.
  6. Click OK in the displayed dialog box.
Registration