Uninstall the Google Cloud Platform Quickstart app
Stop Observe from collecting Google Cloud Platform data
Stop the data collection before you uninstall the app. You can do this using Terraform, deployment manager, or GCP Console.
Terraform
To uninstall GCP collection, remove the observe-gcp-collection module by running the following in the root directory:
$ terraform destroyThe command removes the associated Service Accounts, Pub/Sub Topics, Log Sinks, and the data collection Cloud Function. This does not affect any enabled APIs GCP Console.
Service Account Private Keys also stop working in the GCP app connections.
Deployment manager
If you performed the deployment using the Deployment Manager, then you can delete it using the following commands:
$ gcloud beta deployment-manager deployments delete observeThe command removes the associated Service Accounts, Pub/Sub Topics, Log Sinks, and the data collection Cloud Function. This does not affect any enabled APIs GCP Console.
Service Account Private Keys also stop working in the GCP app connections.
GCP Console
To uninstall using the GCP Console, follow these steps:
Delete service accounts
- Navigate to Service Account.
- Under Email, select the Service Account Emails created in the installation steps.
- Click Delete to delete the Service Accounts.
These should be associated with these sample descriptions:
- For my Observe Poller
- For data collection Cloud Function
- For triggering the data collection Cloud Function via Scheduler
Delete the Pub/Sub Topic
- Navigate to Topics.
- Select the Topic ID created in the installation steps.
- Click Delete to delete the Pub/Sub Topic.
Delete the Log Sink
- Navigate to Log Router
- Select the Log Router Sink created in the installation steps for Observe Pub/Sub Topic.
- Click Delete to delete the Log Router Sink.
Delete GCP Cloud Function
- Navigate to Cloud Functions
- Select the Function created in the installation steps.
- Click Delete to delete the Function.
Delete GCP Cloud scheduler job
- Navigate to Cloud Scheduler
- Select the Scheduler Job created in the installation steps.
- Click the Delete icon to delete the Scheduler Job.
Service Account Private Keys also stop working in the GCP app connections.
Disable APIs
Optionally, disable the following APIs using GCP Console:
Baseline:
- Cloud Asset API
- Identity and Access Management (IAM) API
- Cloud Logging API
- Stackdrive Monitoring API
- Cloud Pub/Sub API
- Cloud Resource Manager API
- Cloud Build API
- Cloud Scheduler API
Service-specific:
Uninstall the Google Cloud Platform Quickstart app
To uninstall the Google Cloud Platform Quickstart app from your Observe workspace, follow the instructions located at Delete an app.
To uninstall the GCP pollers, follow the instructions at Uninstall the GitHub poller.
Updated about 2 months ago