Google Cloud Provider
Learn how to connect your account and autonomously manage GCP cloud resources.
Sedai currently supports GCP Dataflow and Google Kubernetes Engine (GKE). Select a resource type to learn how to connect your GCP resources:
Connect your GCP Dataflow resources to Sedai from Settings -> Integrations. Select Add Integration, and under Cloud Provider, choose Google Cloud Provider.
Once you've selected Google Cloud Provider, do the following:
- 1.Enter an account nickname.
- 2.Enter a Project ID: Log into your GCP console and you will see your Project ID on the home page.
- 3.Select regions: In Sedai, select all the regions you want to connect to Sedai.
- 4.Input your Service Account JSON: Return to the GCP Console and click IAM & Admin, then select Service Accounts in the left-hand menu.
- 1.Create a new service account: Click the Create Service Account button and fill in the details. Add Sedai IAM roles for Dataflow Viewer, Computer Viewer, and Monitoring Viewer. For more information on creating a service account, see GCP Docs.
- 2.Create a new JSON Key: Find the service account you just created in the Service accounts list and click on it. In the Keys section, click the Add key dropdown and select Create new key. Choose JSON key as the key type and click Create. A JSON key file will be generated and downloaded to your computer. Copy and paste into Sedai.
- 1.Select a monitoring provider in the dropdown menu.
- 2.Enter a nickname for your monitoring provider.
- 3.Enter a Project ID: In the GCP console, select Operations in the left-hand menu (This section may also be labeled "Monitoring" or "Logging" depending on your GCP Console configuration). Select your monitoring workspace and copy and paste the Project ID into Sedai.
- 4.Add your GCP Service Account JSON as your Authentication Method: To find this, return to the GCP Console and click IAM & Admin in the navigation menu at the top left of the page. Locate the desired service account and download the JSON Key File. Open the file and copy and paste its key into Sedai.
- 5.Input your labels: Sedai leverages tags to accurately infer metrics and map them to your infrastructure. This allows it to correlate metrics to corresponding resources it discovers within the connected account/cluster.By default, Sedai pre-populates standard tag values based on industry best practices for naming conventions. However, if you configured custom tags, you will need to provide the exact tag value used for load balancers, applications, instances, and regions.
- 6.Optionally add your instance ID patterns. These are the supported patterns:
${instanceld}
${instanceName}
${appId}
${appName}
${regionId}
${loadBalancerId}
${kubeNamespace}
${kubeClusterName}
- 7.Test Connection: Click the "Test Connection" button to verify that your connection works. If the connection fails, please double-check that you've entered the correct information in each field. If the connection is successful, click Add.
- 8.Optionally add another monitoring provider by repeating the steps above.
- 9.Click Save: Topology related to your newly connected GCP account will populate soon.
If you're new to Sedai, create your account to begin onboarding. After entering a username and password, select Kubernetes Cluster for your resources, then choose Google Kubernetes Engine.
If you already have a Sedai account, navigate to Settings -> Integrations within Sedai. Click Connect Cloud, then select Kubernetes Cluster and choose Google Kubernetes Engine. Enter an account nickname.
Select your monitoring provider from the list and enter the required credentials. See Connect Monitoring Data to learn more about connecting each provider.
Once you've completed each step and clicked Save, topology related to your newly connected GKE cluster will populate soon.
Last modified 18d ago