Deleting Ops Manager from GCP

Page last updated:

When you deploy Ops Manager to Google Cloud Platform (GCP), you provision a set of resources. This topic describes how to delete the resources associated with a Ops Manager deployment.

You can delete the resources in one of two ways:

  • If you created a separate project for your Ops Manager deployment, perform the procedure in Delete the Project.
  • If the project that contains your Ops Manager deployment also contains other resources that you want to preserve, perform the procedure in the Delete Ops Manager Resources section.

Delete the Project

Perform the following steps to delete the project for your Ops Manager deployment:

  1. Navigate to the GCP Console Dashboard.

  2. Under your Project, click Manage project settings.

  3. Click DELETE PROJECT.

  4. Enter your project ID and click SHUT DOWN to confirm.

Delete Ops Manager Resources

Perform the following steps to delete the resources associated with your Ops Manager deployment:

  1. Navigate to the GCP Console Dashboard.

  2. Click the upper left icon and select Networking.

  3. Click Load balancing.

  4. Perform the following steps for all load balancers associated with your Ops Manager deployment:

    1. Click the trashcan icon next to the load balancer.
    2. In the next dialog, select any health checks and backend services associated with the load balancer.
    3. Click DELETE LOAD BALANCER AND THE SELECTED RESOURCES.
  5. Click the upper left icon and select Compute Engine.

  6. Perform the following steps for VM instances, Instance groups, and Disks:

    1. Select the checkbox next to the Ops Manager resource.
    2. When all Ops Manager resources are selected, click DELETE in the upper right.
    3. Click DELETE to confirm.
  7. Click the upper left icon and select Networking.

  8. Click External IP addresses.

  9. Select all external IP addresses associated with your Ops Manager deployment, and click RELEASE STATIC ADDRESS.

  10. Click on Networks, and perform the following steps for any networks you created for Ops Manager:

    1. Click the name of the network.
    2. Click DELETE NETWORK.
    3. Click DELETE to confirm.
  11. Click the upper left icon and select IAM & Admin.

  12. Click the trashcan icon next to the bosh service account you created for Ops Manager and click REMOVE.

  13. Navigate to Compute Engine > Metadata > SSH Keys. Delete the vcap SSH key that you created for the project.