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
68 lines (39 loc) · 2.61 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 a GCP Installation from the Console
owner: Ops Manager
---
<strong><%= modified_date %></strong>
When you deploy [Pivotal Cloud Foundry](https://network.pivotal.io/products/pivotal-cf) (PCF) to Google Cloud Platform (GCP), you provision a set of resources. This topic describes how to delete the resources associated with a PCF deployment.
You can delete the resources in one of two ways:
* If you created a separate project for your PCF deployment, perform the procedure in the [Delete the Project](#delete-project) delete the project.
* If the project that contains your PCF deployment also contains other resources that you want to preserve, perform the procedure in the [Delete PCF Resources](#delete-resources) section.
##<a id='delete-project'></a> Delete the Project
Perform the following steps to delete the project for your PCF 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 PCF Resources
Perform the following steps to delete the resources associated with your PCF 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 PCF 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 PCF resource.
1. When all PCF 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 PCF deployment, and click **RELEASE STATIC ADDRESS**.
1. Click on **Networks**, and perform the following steps for any networks you created for PCF:
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 PCF and click **REMOVE**.
1. Navigate to **Compute Engine > Metadata > SSH Keys**. Delete the `vcap` SSH key that you created for the project.