Deleting a Subnet
Scenarios
If your subnet is no longer required, you can delete it.
![](https://support.huaweicloud.com/intl/en-us/usermanual-vpc/public_sys-resources/notice_3.0-en-us.png)
The VPC service has multiple resources. Subnets can be used for free. For details about VPC resource pricing, see Pricing Details.
Notes and Constraints
If you want to delete a subnet that has custom routes, virtual IP addresses, or other resources (ECSs, load balancers, or NAT gateways), you need to delete these resources as prompted on the console first.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project.
- Click
in the upper left corner and choose Networking > Virtual Private Cloud.
The Virtual Private Cloud page is displayed.
- In the navigation pane on the left, choose Virtual Private Cloud > Subnets.
The Subnets page is displayed.
- In the subnet list, locate the row that contains the subnet you want to delete and click Delete in the Operation column.
A confirmation dialog box is displayed.
If your subnet is used by other resources, you need to delete these resources before deleting a subnet.
- Enter DELETE as prompted and click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot