Setup GCP Account
Steps to setup the GCP account before provisioning Infrastructure
Overview
Follow the steps below to set up your GCP account before you proceed with the DIGIT deployment.
Setup
Sign up for the GCP account if you do not already have one. Use this link to get started.
Create a new project & assign billing to it.
Assign Administrator/Owner Access to the user for the necessary permissions.
Request CPU quotas (if not already available). You can check available quotas here.
Open the terminal. Run the following command you have installed on the AWS CLI, and use the credentials.
Initialise GCloud CLI -
gcloud init
You will be prompted to log in and grant access in a web browser or to select an existing account. Complete the authorisation step when prompted.
Choose a current Google Cloud project if prompted.
Choose a default Compute Engine zone if prompted. (example: asia-south1-a for a zone in the Mumbai region)
To view the properties set through the
gcloud init
command, use thegcloud config list
command.
Run the below cmd and provide the prompted permissions. This enables Terraform to use the default credentials available.
Install gke-gcloud-auth-plugin for kubectl authentication.
Enable the necessary Google APIs
Use the project-id, region & zone in Terraform to connect with your GCP account & provision cloud resources.
Last updated
Was this helpful?