copyright | lastupdated | keywords | subcollection | ||
---|---|---|---|---|---|
|
2019-05-17 |
vpc, delete, resources, api, rias, ui, console |
vpc-on-classic |
{:shortdesc: .shortdesc} {:new_window: target="_blank"} {:codeblock: .codeblock} {:pre: .pre} {:pre: .pre} {:screen: .screen} {:tip: .tip} {:important: .important} {:note: .note} {:download: .download} {:DomainName: data-hd-keyref="DomainName"}
{: #deleting-using-console}
Before you can delete a VPC in the IBM Cloud console, you must delete all of the VPC's public gateways, subnets, and attached resources.
To delete a VPC using the console:
- Find all subnets in the VPC. Click VPCs in the navigation pane and select your VPC.
- On the VPC details page, go to the Subnets in this VPC list and select a subnet to view its details.
- Delete any resources that are attached to the subnet. In the navigation pane, click Attached resources. For each attached instance, load balancer, or VPN gateway, select the resource to go its details page. On the details page for each resource, click the delete icon.
Although the resource's status immediately changes to Deleting, it can take up to 30 minutes for the delete operation to complete. The subnet can't be deleted until all attached resources are no longer displayed in the console. {: tip}
- After all attached resources are deleted, go back to the subnet's details page and click the delete icon.
- After you delete all subnets, go back to the details page for the VPC and click the delete icon. The VPC and any public gateways are deleted.