Configure Google Cloud Platform for monitoring
To monitor Google Cloud Platform (GPC) resources, configure GCP to allow the SolarWinds Platform to collect data by using a dedicated service account with the required permissions.
Required permissions
The service account must have the following IAM roles assigned at the GCP project level. Assign roles based on the features you plan to monitor.
| Required for | Required roles | Description |
|---|---|---|
| Baseline access (required) |
|
Provides read-only access to all GCP resources. If assigned, you don’t need the more specific compute- or network-specific viewer roles listed below. |
| Compute and monitoring access |
|
Use these roles instead of roles/viewer if you want more granular permissions.
|
| Network connectivity monitoring |
|
Required to monitor network traffic and connectivity. |
| Tag‑based monitoring |
|
Required if you monitor resources by using GCP tags. |
| Instance management actions |
or
|
Allows start, stop, and delete operations on Compute Engine instances. The |
| Cloud SQL monitoring |
|
Required for monitoring cloud SQL in addition to roles/monitoring.viewer.
|
| Load balancer monitoring |
|
Required to view load balancer configuration and metrics.
You can also use |
| Cost monitoring (BigQuery) |
or
|
Required to read billing export data, run queries, and manage datasets for cost monitoring. |
Required APIs/services
- Cloud DNS API
- Cloud Resource Manager API
- Compute Engine API
- CloudMonitoring API
- Cloud SQL - used for database monitoring
- Cloud SQL Admin API - used for database monitoring
- Network Management API
- Network Services API
Create a GCP service account in the GCP console
Before you begin, contact an IT admin and have GCP projects within your organization created.
See Create service accounts in Google documentation for more information.
-
Log in to the Google console using an account with admin privileges.
-
Enable the required APIs/services.
See Enabling an API in Google Cloud documentation.
-
Create a service account. See Create service accounts in Google Cloud documentation.
-
Grant the account the required roles. See IAM basic and predefined roles reference in Google Cloud documentation.
-
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 the SolarWinds Platform.