Add a GCP cloud account
To monitor your GCP-managed host and associated GCP services with SolarWinds Observability SaaS, integrate SolarWinds Observability SaaS with your GCP account.
Create a GCP service account and add IAM permissions for cloud monitoring in SolarWinds Observability SaaS
Before you begin, contact an IT admin and have GCP projects within your organization created.
-
Log in to the Google console using an account with admin privileges. In the top navigation bar, select a project you want to create the service account in.
-
Enable the following APIs/services:
-
Cloud Resource Manager API
-
Compute Engine API
-
Cloud Monitoring API
-
Cloud Storage API
See Enabling an API in Google Cloud documentation.
-
-
Create the service account. Skip optional sections Permissions and Principals with access. For details, see Create service accounts in Google Cloud documentation.
-
Copy the email address of the created service account.
-
Grant the Viewer role to the service account:
-
In the left pane, click Manage resources.
-
Select the projects you want to monitor and click Add principal.
-
Under Add principals, paste the service account email address. Under Assign roles, select Basic > Viewer. Click Save.
-
-
Generate a private key for the service account. As the key type, select JSON. See Create and delete service account keys in Google Cloud documentation.
The generated key file contains the GCP credentials needed to add the GCP account to SolarWinds Observability SaaS.
Add a GCP account for monitoring
-
In SolarWinds Observability SaaS, click Add Data at the top.
-
In the Add Data dialog, click either the Infrastructure tab or Monitor my cloud infrastructure > GCP.
-
In the Basic Settings screen of the Add GCP Cloud Account dialog, type a Display name to represent the integration with your GCP account. This will be the display name of the management account integration.
-
Enter a unique name in the Metrics tag field. The metrics tag will be added to all measurements ingested from the GCP cloud services on this GCP account. Click Next.
-
On the Service Account Credentials screen, provide the following details:
-
Client Email - provide your service account email ID.
-
Private Key - paste the key you generated for the GCP service account.
-
Client ID - enter ID of the GCP project you want to monitor.
-
-
Click Test Connection. Click Next.
-
On the Projects screen, select one or more projects for monitoring.
-
On the Regions & Services screen, select the GCP service regions that you want to monitor.
-
In the Summary screen, verify the GCP integration settings. Click Submit.
Your GCP resources will be added to SolarWinds Observability SaaS for monitoring.
To view data collected for the newly configured entity in the Entity Explorer, click the name of the resource in the confirmation dialog in the lower-left corner. It may take a few seconds for data to appear for the newly created entity. See Entity Explorer for details.