Clean up a load balancing setup Stay organized with collections Save and categorize content based on your preferences.
After you set up a load balancer, you can delete the resources that you made sothat you aren't billed for them in the future. If these resources were createdwithin their own project, you can delete the entire project. Otherwise, you candelete the resources individually.
Deleting the project
Caution: Deleting a project has the following effects:- Everything in the project is deleted. If you used an existing project, when you delete it, you also delete any other work that you've done in the project.
- Custom project IDs are lost. When you created this project, you might have created a custom project ID that you want to use in the future. To preserve the URLs that use the project ID, such as a
YOUR_PROJECT_ID.REGION_ID.r.appspot.comURL, delete selected resources inside the project instead of deleting the project.
Console
In the Google Cloud console, go to theProjects page.
In the project list, select the project that you want to delete, and thenclickDelete.
In the dialog, type the
PROJECT_ID, and then clickShut down to delete the project.
gcloud
Run the following command, replacingPROJECT_ID with yourproject ID:
gcloud projects deletePROJECT_ID
Deleting individual resources
Deleting the load balancer
In the Google Cloud console, go to theLoad balancing page.
Select the checkbox next to your load balancer name.
At the top of the page, clickDelete.
Select the checkboxes next to all the additional resources, includingbackend services, backend buckets, health checks, and SSL certificates.
ClickDelete load balancer and the selected resources.
Deleting the Cloud Storage buckets
If you created backend buckets, deleting the load balancer and backend bucketsdoesn't delete the underlying Cloud Storage buckets or the objectscontained within them.
For information about deleting Cloud Storage buckets and the objectscontained within them, seeDeleting buckets.
Deleting the instance groups
If you created instance groups, delete them. Deleting the instance groupalso deletes the individual VMs.
In the Google Cloud console, go to theInstance groups page.
To select all instance groups, select the checkbox next toName, and thenclickDelete.
In the confirmation window, clickDelete.
Deleting the VM instances
If you created standalone VM instances, delete them.
In the Google Cloud console, go to theVM instances page.
Select the checkbox next toName to select all instances, andthen clickDelete.
In the confirmation window, clickDelete.
Deleting the NEGs
If you created any network endpoint groups (NEGs), delete them. Deleting a NEGalso deletesnetworkendpointscontained in the NEG.
In the Google Cloud console, go to theNetwork Endpoint Groups page.
Locate the network endpoint group that you want to delete.
In that row, clickDelete.
Releasing reserved IP addresses
If your load balancer uses one or more a reserved IP addresses, make sure youdelete them.
In the Google Cloud console, go to theExternal IP addresses page.
Select the checkboxes next to your reserved IP addresses.
ClickRelease static address.
In the confirmation window, clickDelete.
Deleting the VPC network
If you created a custom VPC network, delete it. Deleting aVPC network also deletes its subnetworks, routes, and firewallrules.
In the Google Cloud console, go to theVPC networks page.
Click your custom VPC network.
On the network details page, clickDelete VPC network.
In the confirmation window, clickDelete.
Deleting custom firewall rules in the default VPC network
If you created custom firewall rules in the default VPC network,delete them.
In the Google Cloud console, go to theFirewall policies page.
Select the checkboxes next to your custom firewall rules.
ClickDelete.
In the confirmation window, clickDelete.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-18 UTC.