ALL HELP
- Network
- Virtual Private Cloud
- Elastic Load Balance
- Domain Name Service
- NAT Gateway
- Virtual Private Network
- Security
- Anti-DDoS
- Management and Deployment
- Identity and Access Management
- Cloud Eye
- Cloud Trace Service
- Tag Management Service
- Application
- Simple Message Notification
- Glossary
- FAQ
- Purchase Guide
-
User Guide
- Overview
- Getting Started
- VPC and Subnet
-
Security
- Security Group
-
Network ACL
- Creating a Network ACL
- Enabling or Disabling a Network ACL
- Associating Subnets with a Network ACL
- Adding a Network ACL Rule
- Enabling or Disabling a Network ACL Rule
- Modifying a Network ACL Rule
- Changing the Sequence of a Network ACL Rule
- Deleting a Network ACL Rule
- Viewing a Network ACL
- Modifying a Network ACL
- Deleting a Network ACL
- Disassociating a Subnet from a Network ACL
-
Network Components
- EIP
- Custom Route
-
VPC Peering Connection
- VPC Peering Connection Creation Procedure
- VPC Peering Connection Configuration Plans
- Creating a VPC Peering Connection with Another VPC of Your Own
- Creating a VPC Peering Connection with a VPC of Another Tenant
- Viewing VPC Peering Connections
- Modifying a VPC Peering Connection
- Deleting a VPC Peering Connection
- Viewing Routes Configured for a VPC Peering Connection on the Peering Connection Details Page
- Viewing Routes Configured for a VPC Peering Connection in the VPC Peering Route Table
- Deleting a Route on the VPC Peering Connection Details Page
- Deleting a Route from the VPC Peering Route Table
- Direct Connect
- Change History
-
API Reference
- API Calling
- Common Message Headers
- Virtual Private Cloud
- Subnet
- Elastic IP Address
- Elastic IP Address V2.0 (Extended OpenStack API)
- Bandwidth
- Quota
- Private IP Address
- Security Group
- Port
- VPC Peering Connection
- VPC Route
- Port (Native OpenStack API)
- Network (Native OpenStack API)
- Subnet (Native OpenStack API)
- Router (Native OpenStack API)
- Floating IP Address (Native OpenStack API)
- Security Group (Native OpenStack API)
- Floating IP Address Mapping
- Appendix
- Change History
- Document Download
Help Center
>
Virtual Private Cloud
>
User Guide
>
VPC and Subnet
>
Deleting a VPC
>
Deleting a Subnet
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
- Log in to the management console.
- 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 Subnet page, locate the target subnet and click Delete.
- Click OK in the displayed dialog box.
Parent topic:
Deleting a VPC
Last Article: Deleting a VPN Connection
Next Article: Deleting a VPC
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.