Skip to main content

Set up automation for a client

Use the Setting Up Automation tab on a client record to enter that client's GCP account details and work through the four setup stages.

N
Written by Niyaz

Use the Setting Up Automation tab on a client record to enter that client's GCP account details and work through the four setup stages.

Before you begin

  • Install Terraform on your local machine.

  • Install the Google Cloud SDK, which provides the gcloud command-line tool that authenticates you with GCP.

Steps

  1. On the client record, select the Setting Up Automation tab.

  2. Enter values in Billing account and GCP Account Email.

  3. Select Request Access. On the empty form, Request Access is unavailable.

  4. In stage 1 Install Terraform, follow the Install Terraform link.

  5. Select Next. Stage 2 Install the Google Cloud SDK opens.

  6. Follow the Install the Google Cloud SDK link. Install the SDK.

  7. Authenticate your session by running this command.

    gcloud auth application-default login

  8. Select Next. Stage 3 Configure Instance opens. The form starts with Region set to europe-west8, Machine Type set to e2-medium, and 10 for each disk size.

  9. Under Advanced settings, complete Region, Machine type, File System Disk Size (in GB) and Data Base Disk Size (in GB). Use the region picker link to choose the best option for Region. Each disk size field has a minimum of 10.

  10. Select Apply.

  11. Select Next. Stage 4 Initialize opens.

  12. Select Download ZIP.

  13. Initialize Terraform to download the necessary provider plugins.

    terraform init

  14. Create an execution plan that shows what resources Terraform will create.

    terraform plan -out=tfplan

  15. Apply the configuration to build the infrastructure in your GCP account.

    terraform apply -auto-approve tfplan

If something goes wrong

  • If you need to change an earlier stage, select Back.

Related

Did this answer your question?