Google Cloud Platform integration

What is Google Cloud Platform (GCP)?

Google Cloud Platform is a collection of cloud computing solutions offered by Google that includes storage, analytics, and networking services. Its key features also include machine learning and a set of management tools for monitoring, logging and diagnostics.

By incorporating our dedicated Google actions into your CI/CD pipelines you can run, deploy and manage code within your Google cloud environment, ensuring security and dependability in your software delivery.

Buddy supports a wide range of services, from simple file storage (GCS), serverless computing (Google Functions), over managing services and applications (GAE, GCR, Firebase), to handling Kubernetes (GKE).

On top of that, you can use our Google Cloud CLI action to interact with Google integration services and resources directly from your CI/CD pipeline.

Image loading...Pipeline example for Google Cloud Platform

Setting up Google Cloud Platform integration

To set up GCP application integration:

  1. Navigate to the Integrations tab and click New integration.
  2. Look up and click Google Cloud (it can be found under the IaaS category):

Image loading...Google Cloud integration selection

  1. When the configuration window shows up, provide a name for your integration and select the authorization method:

Image loading...Google Cloud integration configuration

Hint
You can adjust the privacy settings of your integration (i.e. who can use it and where) in the Sharing tab.

Types of Google integration

Google authorization can be performed in two ways:

  1. By creating a service principal.
  2. By using the OIDC identity provider.

Service principal

Service account identities allow for much higher granulation of permissions than standard OAuth. For the integration to work, you need to paste the JSON with the service account key to Buddy.

Warning
Before you proceed, make sure to properly configure the required policies in your service account's permission settings.
  1. Sign to your Google Cloud Console and go to IAM & Admin.
  2. Switch to Service Accounts and click the account that you want to integrate with.

Image loading...Service accounts in Google Cloud panel

  1. Open the Keys tab and create a new key:

Image loading...Keys tab in Google Cloud

  1. Set the type to JSON and click Create to download the key to disk:

Image loading...Service account key creation

  1. Once downloaded, you can use the JSON file with the created service key in the integration configuration window in Buddy:

Image loading...Google Cloud integration configuration in Buddy

Once the application integration is finished successfully, you can start using Google actions in your pipelines to cover any use case you want.

OIDC

To integrate with OIDC, jump to our dedicated article on integrating Google services with Buddy pipelines over OIDC.

Last modified on Sep 23, 2024