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 data centers around the globe. This page explains how to configure integration with Google Cloud Platform.


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 password.
  9. Copy the private key password to a text editor at a safe location.

You will 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. Select a client from the drop-down list in which you want to install the Google Cloud app.

  2. Navigate to Setup > Account.

  3. Click on the Integrations and Apps tile.

  4. If there are apps/integrations already installed, it will redirect to the Installed Integrations page where all the installed integrations/apps are displayed. Otherwise, the Available Integrations and Apps page is displayed.

  5. Click +ADD and search for Google Cloud app using the search option. You can also use the All Categories dropdown to search.

  6. Click +ADD on the Google Cloud tile. The Add Google Cloud page is displayed.

  7. Provide the details in the fields:

    • 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.

  8. Click NEXT.

    In the Filter page:

  9. Choose Any or All to match any one or all of the defined conditions for filtering

  10. Select the options for the filter criteria:

    • Resource Type: List all the supported resource types.
    • Attribute Name: List attributes for the selected resource type. Attributes are resource type-dependent.
    • Logic condition: Logical match criteria for search: Contains, Not Contains, Equals, Not Equals, Starts With, Ends With, and Regex.
    • Value: Value corresponding to the attribute name and logical condition.

    Select the required resource types.

  11. Click NEXT.

  12. Select the actions to be performed on the resources.

    • Select the Manage Device option such that all the discovered resources are in a managed state.
    • Select the Collect Cost Analytics option to collect cost details of the resources utilized in the project and enter the bucket name configured for billing.
    • Select the Stream Google Events option to consume GCP events and enter the GCP event subscription name.
    • From the Assign Gateway Management Profile, select the gateway management profile from the drop-down list.

  13. Click Install Agent (Linux only) if the agent needs to be installed on the device and select the device credentials. Select Agent Type as Direct or Proxy.
    If you select Proxy then select a gateway management profile from the drop-down list.

  14. Select the Discovery Schedule option to schedule a discovery and define the preferred Recurrence pattern.

  15. Click FINISH. The Google Cloud app is installed.

    All the discovered services are visible in the Infrastructure page under
    Resources > Google Cloud

  16. Click Google Cloud. The list of installed Google Cloud integrations are displayed. You can perform actions like Edit, Rescan, Uninstall, View Resources, Export.