OpsRamp helps you discover, integrate seamlessly and access details of how your Google Cloud services are performing. Google Cloud consists of a set of physical assets, such as computers and hard disk drives, and virtual resources, such as virtual machines (VMs), that are contained in Google’s data centers around the globe. This page explains how to configure integration with Google Cloud Platform.

Prerequisite

The service account created to give access to the Google Cloud resources must at least be assigned the viewer role. For more details on IAM roles, see Google cloud documentation on Understanding roles. To grant a service account access to a project, see Creating and managing service accounts.

Google Cloud Platform configuration

To install GCP integration:

  1. Log into your Google Cloud portal.
  2. Select the project that you are assigned to and click Open.
  3. Copy the Project ID from the Project info section.
  4. On the left pane, click IAM & Admin > Service Accounts.
  5. From the displayed service accounts for your project, copy and paste the service account email ID in a text editor such as Notepad.
  6. From the available options, under the Actions column, select Create key.
  7. From the Create private key for “project-name” window, select P12 and click CREATE.
    GCP - Private key
  8. Download the file at a safe location.
    A new window opens, confirming the downloading of the file and the private key’s password.
  9. Copy the private key’s password to a text editor at a safe location.

You wo not be able to see the password again. You need this password to use the private key.

OpsRamp configuration

After you have copied all the details from your Google Cloud console, use the details to install the Google Cloud integration on the OpsRamp console.

To install GCP integration:

  1. Go to Setup > Integrations > Integrations.

  2. Click All Clients and from the drop-down list, select a client.
    The Available Integrations page opens.

  3. From the Available Integrations page, click Public Cloud and click Google Cloud.

  4. Click Install.

  5. On the Install Google Cloud Integration window:

    • Provide a suitable name for the integration.
    • Enter the service account email ID.
    • Enter the Project ID.
    • For Service Account Management Certificate, click Choose File and select the private key P12 file through the file browser.
    • In the Management Certificate PassPhrase field, enter the password of the private key file.
    • Click Install.

The Google Cloud Integration page displays the credentials of the Google Cloud account integration and the discovery profile.