Configure the Google Cloud Discovery connector

The Snow Integration Connector for Google Cloud Discovery is configured in the Snow Integration Manager. For more information on SIM, refer to Snow Integration Manager.

Prerequisites

To configure the Google Cloud Discovery connector, a Google Cloud service account with permissions to at least one project is required.

Preparations

Before the Google Cloud Discovery connector can be configured, the following preparations have to be made.

  1. Set up an IAM service account with:

    • Access to the projects that you want to include in the aggregation.

    • The role Compute Viewer or the permissions compute.instances.list and resourcemanager.projects.get.

  2. Create a P12 certificate file with its corresponding service account key.

  3. Enable APIs for the primary and secondary projects:

    • Cloud Resource Manager API - your primary project.

    • Compute Engine API - your primary project and all secondary projects you plan to discover Virtual Machines within.

Configuration

In Snow Integration Manager, add the Google Cloud Discovery connector and configure the settings:

  1. Enter the Email Address for the Google cloud service account.

    google_cloud.png
  2. Enter the value for the service account key in the Certificate File.

  3. Enter the Certificate Password for the cloud service account.

  4. To set up a proxy server, select the desired proxy in Proxy.

    Proxies can be configured in the Proxy profiles tab in the Snow Integration Manager main interface.

  5. Select Test connection to check if the connection is established.

  6. Select Projects.

    The Available Projects appear. The dialog box displays the primary project and all secondary projects that have been added.

  7. Select the checkboxes for the Google Cloud projects that you would like Virtual Machines to be discovered from, and close the Available Projects.

  8. Enter the site name for the connector in the Name. This will override the global site name set in SIM.

  9. Select OK to close the window and save the configuration.

    The connector is now ready to generate Snowpacks including all Compute Instances from the selected projects.