forked from pivotal-cf/docs-pcf-install
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeleting-gcp-install.html.md.erb
64 lines (39 loc) · 2.9 KB
/
deleting-gcp-install.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
title: Deleting Pivotal Platform from GCP
owner: Ops Manager
---
<% current_page.data.title = "Deleting " + vars.product_name + " from GCP" %>
When you deploy [<%= vars.product_name %>](https://network.pivotal.io/products/pivotal-cf) to Google Cloud Platform (GCP), you provision a set of resources. This topic describes how to delete the resources associated with a <%= vars.product_name %> deployment.
You can delete the resources in one of two ways:
* If you created a separate project for your <%= vars.product_name %> deployment, perform the procedure in the [Delete the Project](#delete-project) delete the project.
* If the project that contains your <%= vars.product_name %> deployment also contains other resources that you want to preserve, perform the procedure in the [Delete <%= vars.product_name %> Resources](#delete-resources) section.
##<a id='delete-project'></a> Delete the Project
Perform the following steps to delete the project for your <%= vars.product_name %> deployment:
1. Navigate to the GCP Console Dashboard.
1. Under your **Project**, click **Manage project settings**.
1. Click **DELETE PROJECT**.
1. Enter your project ID and click **SHUT DOWN** to confirm.
##<a id='delete-resources'></a> Delete <%= vars.product_name %> Resources
Perform the following steps to delete the resources associated with your <%= vars.product_name %> deployment:
1. Navigate to the GCP Console Dashboard.
1. Click the upper left icon and select **Networking**.
1. Click **Load balancing**.
1. Perform the following steps for all load balancers associated with your <%= vars.product_name %> deployment:
1. Click the trashcan icon next to the load balancer.
1. In the next dialog, select any **health checks** and **backend services** associated with the load balancer.
1. Click **DELETE LOAD BALANCER AND THE SELECTED RESOURCES**.
1. Click the upper left icon and select **Compute Engine**.
1. Perform the following steps for **VM instances**, **Instance groups**, and **Disks**:
1. Select the checkbox next to the <%= vars.product_name %> resource.
1. When all <%= vars.product_name %> resources are selected, click **DELETE** in the upper right.
1. Click **DELETE** to confirm.
1. Click the upper left icon and select **Networking**.
1. Click **External IP addresses**.
1. Select all external IP addresses associated with your <%= vars.product_name %> deployment, and click **RELEASE STATIC ADDRESS**.
1. Click on **Networks**, and perform the following steps for any networks you created for <%= vars.product_name %>:
1. Click the name of the network.
1. Click **DELETE NETWORK**.
1. Click **DELETE** to confirm.
1. Click the upper left icon and select **IAM & Admin**.
1. Click the trashcan icon next to the `bosh` service account you created for <%= vars.product_name %> and click **REMOVE**.
1. Navigate to **Compute Engine > Metadata > SSH Keys**. Delete the `vcap` SSH key that you created for the project.