In order to perform Google Cloud Platform (GCP) discovery and visibility jobs, CDV stores files, data, and other resources on the target AWS infrastructure. This data is used to track network resources so that they can be noted and passed on to Address Manager by visibility jobs. If you don't need to run discovery or visibility on a system anymore (or you simply want to clear out data for maintenance), you can purge it to remove these files.
CDV tracking resource files typically begin with the prefix BC-CDV-
.
Purging deletes all Logging Sink, Pub/Sub Subscriptions, and Pub/Sub Topics. Purging
removes only files that begin with BC-CDV-
, plus files and data
associated with discovery and visibility jobs that currently exist in CDV. When purging
GCP systems, the purging operation is applied to resources within a project.
To purge a GCP visibility system:
-
In CDV, go to the GCP Settings tab. (Click the GCP tab in the header, then click the Settings tab and expand Purge Visibility System.)
-
Establish authentication for CDV on the GCP infrastructure. There are two main options for authenticating CDV on GCP:
-
Use the virtual machine's credentials: If CDV is deployed on a virtual machine (VM), CDV can use the VM's credentials.
When you open the CDV for GCP, you'll see the message "Detecting VM instance deployment" in the GCP Service Account section. This means CDV is trying to detect whether CDV is running on a VM instance.
If CDV successfully detects that it is running on a VM on GCP, select the Use VM instance credentials checkbox that appears. CDV will now authenticate itself using the VM's credentials.
-
Use a custom GCP service account: If CDV is not deployed on a VM, on the Setup page, under GCP Service Account, drag your GCP service account key file (a JSON file) to the Service Account File area. (You can also click the upload icon and manually browse to the file.)
After successfully uploading GCP service account keys, CDV will validate the service account keys with Google Cloud Platform.
-
-
When you're done, click Purge.