Skip to content
Cloud8 Logo
  • PRODUCT
  • PRICING
  • SUPPORT
  • CONTACT US
  • LOGIN
  • PRODUCT
  • PRICING
  • SUPPORT
  • CONTACT US
  • LOGIN

Best Practices

  • Best Practices: Custom Rule Notifications via AWS S3
  • Best Practices: Microsoft Teams Support
  • Best Practices: Password and Credential Monitoring
  • AWS Bucket S3 Topic Notification
  • How to integrate Slack into Best Practices
  • How to monitor memory and swap with SSM

Charging

  • AWS account suspension: tips and what to do

Concepts

  • Cloud Control Panel – AWS, Azure, GCP, Huawei and Oracle
  • Cloud server image or template
  • Cost model: pay per use
  • FINOPS: Data Integration and Enhancement Flow (Infographic)
  • Difference between RI Applied vs RI in Cloud8 Panel
  • Security groups
  • Access key
  • Snapshot
  • Additional disks
  • Cloud Computing
  • Comparison: Automation via Cloud8 vs “homemade” automation

Credentials

  • Connecting OCI Providers to Cloud8 – Full Tutorial
  • Best Practices: Enabling user monitoring in Azure
  • Multi-Factor Authentication (MFA) with Cloud8 Panel
  • How to integrate SSO with Azure AD
  • Security credentials for public clouds
  • How to use IAM Role to integrate your security with Cloud8
  • Using Cloud8 with a custom AWS security credential
  • Credential for Huawei Cloud

First Steps

  • Connecting OCI Providers to Cloud8 – Full Tutorial
  • Connecting AWS Providers to Cloud8 – Full Tutorial
  • Onboarding: getting started on Cloud8
  • Cloud8 Users and Profiles
  • How to create an Azure credential to integrate with Cloud8
  • Creating a new Amazon AWS account
  • How to associate your Amazon AWS account with Cloud8
  • Hot to enable cloud cost estimates monitoring
  • How to manage more than one AWS account
  • How to create a GCP Credential to integrate with Cloud8
  • Creating a New Account on Amazon Cloud (AWS)

MSP / Reseller

  • MSP: Configuring markup
  • White label at no additional cost
  • MSP: Configuring costs

Services

  • S3 Lambda Notification Processor (deploy via CLI)
  • Exporting data to Azure Storage Account
  • FinOps: Cost Anomaly Reports and Charts
  • FinOps: Reports, Alerts and Budgets
  • FinOps: Tagged / Untagged
  • FinOps: Tag Sanitization, Compliance and MultiCloud
  • FinOps: Tag Sharing and Prorating
  • FinOps: Reverse API
  • Exporting data to AWS S3 (Bucket)
  • Cloud Task Automations
  • Automated backup of cloud servers
  • How to install the Metricbeat component in OKE
  • How to install Metricbeat component on EKS
  • How to install Metricbeat component on GKE clusters
  • How to install Metricbeat component on AKS
  • GCP Storage Integration
  • How to enable support for ECS / EKS shared costs
  • RDS reports with grouping by ID
  • Add TAGs with CSV file
  • Kubernetes Cost Support
  • Detailed Costs Report
  • Workflow: How to reset tasks periodically
  • How to integrate SSO with Azure AD
  • Cloud aggregator control panel
  • Multiple Users – Multiuser Panel
  • Cloud cost control, alerts and reports
  • Cloud usage statistics
  • Alerts
  • Managers on Cloud8 – Resource management on AWS, Azure and GCP
  • Audit logs
  • ECS / Fargate support on Workflow

Troubleshooting

  • I exported the cloud server usage report. What do the fields mean?
  • I subscribed Amazon and I still can’t access Cloud8
  • How is the cloud cost estimate calculated?
  • I created a security group through the AWS console and it still doesn’t appear in Cloud8
  • Cloud8 and Amazon don’t monitor my cloud server’s memory?
  • Using Cloud8 with a custom AWS security credential

Tutorials

  • S3 Lambda Notification Processor (deploy via CLI)
  • Best Practices: Microsoft Teams Support
  • FinOps: Cost Anomaly Reports and Charts
  • FinOps: Tagged / Untagged
  • FinOps: Tag Sanitization, Compliance and MultiCloud
  • Group data in Pivot Table
  • How to install the Metricbeat component in OKE
  • How to install Metricbeat component on EKS
  • How to install Metricbeat component on GKE clusters
  • How to install Metricbeat component on AKS
  • Workflow: How to reset tasks periodically
  • How to integrate SSO with Azure AD
  • How to configure the Scheduler for script execution on OCI
  • How to access a Windows server in the Amazon AWS cloud
  • How to access a Linux server
  • How to create a cloud server
  • How to configure scheduling for script execution in AWS
  • How to configure scheduling by Tags / Labels
  • Configure vault copy at AWS (cross account) with KMS
  • How to integrate Slack into Best Practices
View Categories
  • Home
  • Docs
  • First Steps

How to create a GCP Credential to integrate with Cloud8

2 min read

Follow the step-by-step guide for creating a credential to integrate your GCP cloud with Cloud8.

We need a JSON file that contains the service account:

IMPORTANT : enable APIs at  https://console.cloud.google.com/apis/dashboard  – check the project and enable the APIs for “Cloud Resource Manager API”, “Compute”, “Cloud SQL” and “Cloud Billing” (if you are going to use cost analysis through Cloud8);

  • me Manage, enable;
  • Create the Service Account: https://console.developers.google.com/iam-admin/serviceaccounts/project  (if you have another project, see which one GCP picked up by default!);
  • “Create Service Account”;
  • Roles – depending on the type of action you want Cloud8 to perform – viewing and/or backup, schedules for cost reduction, etc.
  • Browser
  • Viewer
  • View Service Accounts
  • Compute Engine -> Compute Admin ou Compute Viewer;
  • Cloud SQL -> Cloud SQL Admin ou Cloud SQL Viewer;
  • Monitoring -> Monitoring Viewer – metrics;
  • BigQuery -> BigQuery Data Viewer and BigQuery Job User – cost analysis;
  • Kubernetes -> Kubernetes Engine Cluster Viewer;
  • Cloud Asset Viewer
  • Compute Recommender Viewer
  • Cloud Functions Viewer

Choose a name and create. After creation, click on the ‘3 dots’ on the right and create a new JSON key.


Note : if the project is a member of an “Organization”, it must have the same roles as the Service Account, otherwise you will receive the message “User is not Authorized”.

After creating, open the .json file and place the content in Cloud8 for synchronization.

Support for exporting data from Cloud SQL to a bucket

If you are going to use the Cloud SQL data export workflow, one of the following permissions is required:

  • Role: “Cloud Storage Admin”
  • In “Cloud Storage”, choose the bucket and add the ServiceAccount of the “Cloud SQL” instance as Object Creator

Customization

If you want to configure via API permission, you can generate a YAML file with the following content:

title: Automation
description: “”
stage: “GA”
includedPermissions:
– cloudsql.instances.get
– cloudsql.instances.list
– cloudsql.instances.update –> CloudSQL has no setLabels
– cloudsql.instances.restart
– cloudsql.instances.export
– compute.autoscalers.get
– compute.autoscalers.list
– compute.autoscalers.update
– compute.instances.start
– compute.instances.startWithEncryptionKey
– compute.instances.stop
– compute.instances.get
– compute.instances.list
– compute.addresses.list- compute.instances.setLabels
– compute.instanceGroupManagers.get
– compute.instanceGroupManagers.list
– compute.instanceGroupManagers.update
– compute.instanceGroupManagers.use
– compute.disks.list
– compute.disks.get
– compute.disks.createSnapshot
– compute.disks.setLabels
– compute.zones.get
– compute.zones.list
– compute.snapshots.list
– compute.snapshots.get
– compute.snapshots.setLabels
– monitoring.groups.get
– monitoring.groups.list
– monitoring.metricDescriptors.get
– monitoring.metricDescriptors.list
– monitoring.monitoredResourceDescriptors.get
– monitoring.monitoredResourceDescriptors.list
– monitoring.timeSeries.list
– resourcemanager.projects.get
– compute.regions.list
– cloudfunctions.functions.list
– resourcemanager.projects.getIamPolicy
– iam.serviceAccounts.get
– cloudasset.assets.searchAllResources
– recommender.computeInstanceIdleResourceRecommendations.list
– recommender.computeInstanceMachineTypeRecommendations.list
– cloudasset.assets.searchAllResources

And then create the Service Account:

gcloud iam roles create cloudautomation –project <project_id> –file ./cloud8.yaml
gcloud projects add-iam-policy-binding <project_id> –role projects/<project_id>/roles/cloudautomation –member serviceAccount:serviceAccount%3Acloud8@export-billing-brlm.iam.gserviceaccount.com

Integration with costs

Important: Cloud8 needs the project that contains the costs BigQuery. In the Serice Account of this project, we need the Roles: Viewer, Browser, BigQuery Data Viewer and BigQuery Job User.

In the GCP console:

  • click on “Billing”
  • check “my billing account” – The URL would be  https://console.cloud.google.com/billing?project=&folder=&organizationId=  (with the ID of your organizationID)
  • you should see a line with the “Billing Account ID” and the number of projects below it
  • when you click on the Billing Account ID it redirects you to the dashboard
  • Billing Export – check if BigQuery export is checked (  https://console.cloud .google.com/billing/BILLING_ACCOUNT_ID/export/bigquery?organizationId=ORG_ID  – you have to replace it with the values). We suggest using “Detailed Usage cost”
  • in Cloud8 you will need DataSet and table name (gcp_billing_export_v1_BILLING_ACCOUNT_ID or gcp_billing_export_resource_v1_BILLING_ACCOUNT_ID)

You may want to check these Docs too: #

  • Connecting AWS Providers to Cloud8 - Full Tutorial
  • Onboarding: getting started on Cloud8
  • Cloud8 Users and Profiles
  • Connecting OCI Providers to Cloud8 - Full Tutorial
  • Creating a New Account on Amazon Cloud (AWS)
Access, Accounts, Cloud Computing, Cloud Management, GCP, Integration, Provider, Services
Did this Doc help you?

Share This Article:

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Cloud8 Logo
  • Terms of Use
  • About Us
  • FAQ / Support
  • Blog
  • Contact Us
  • Cookies (EU)
  • Terms of Use
  • About Us
  • FAQ / Support
  • Blog
  • Contact Us
  • Cookies (EU)
Globe-americas Facebook Twitter Linkedin Youtube

Disclaimer: AWS, images, and associated services are property of Amazon Web Services Inc. and its affiliates. Azure, images, and associated services are property of Microsoft Corporation. GCP, images, and associated services are property of Google Inc. Huawei, images, and associated services are property of Huawei Technologies Co Ltd. Oracle, images, and associated services are property of Oracle Corporation. Cloud8 Brasil em Português.

Manoel Netto Designer
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}