Creating a GCP Service (with GKE) Cloud Account
A Cloud Account is a cloud environment that Configuration Manager monitors. For more information about monitoring Cloud Accounts, see Getting Started with Configuration Manager.
To create a GCP Service (with GKE) Cloud Account, you must set up a service account with the appropriate role and permissions.
First, ensure that the necessary APIs are enabled.
- Log in to the Google Cloud Platform Console.
- Select the APIs & Services tab, then select Library.
- Search for the following APIs and if they are not enabled, enable them:
- Google Cloud Storage JSON API
- Cloud Resource Manager API
- Identity and Access Management (IAM) API
- Cloud Key Management Service (KMS) API
- Cloud SQL Admin API
- Cloud DNS API
Next, create the Cloud Account in Configuration Manager.
-
In Configuration Manager, navigate to Environment > Cloud Accounts and click New.
-
In the New Cloud Account pane, enter a Name and Description to identify this account.
-
Select GCP Service Account (with GKE) as the account Type.
-
Scroll to the bottom of the New Cloud Account pane and complete the instructions to add a service account to your project.
Once done, the Project ID, Client Email, and Private Key fields should automatically populate.
-
Specify the Cluster Location and Cluster Name of the GKE cluster to monitor.
-
Click Save to create the new Cloud Account.