1-2-1 training delivered successfully

Terraform on Google Cloud with GitHub Actions: Delivered in 1-2-1 Sessions

One-to-one sessions in which the learner automated Google Cloud infrastructure with Terraform and ran every change through a GitHub Actions pipeline.

  • 70%Hands-on labs
  • 30%Talks & demos
  • 5Modules
  • 1-2-1One-to-one sessions
  • CI/CDGitHub Actions pipeline
Delivered successfully

Pipeline built in the sessions

Infrastructure as Code on Google Cloud

  1. Git push
  2. GitHub Actions
  3. terraform init
  4. terraform plan
  5. terraform apply
  6. VPC & Compute Engine
  7. IAM & Cloud SQL
  • Terraform
  • Google Cloud (GCP)
  • VPC
  • Compute Engine
  • IAM
  • Cloud SQL
  • GitHub Actions
  • Infrastructure as Code
View the project on GitHub
Cloudnixia trainer pointing to the Terraform on Google Cloud programme (1-2-1 retail training)
1-2-1 retail training · the learner built this pipeline end to end
Delivery format

70% Labs, 30% Talks

Every concept was followed straight away by a lab, so participants left with working code, not just slides.

What participants built in the labs

  • Configured Terraform with the Google provider
  • Created a VPC, Compute Engine VM, IAM bindings and Cloud SQL with code
  • Refactored the code into reusable modules
  • Ran terraform plan and apply from a GitHub Actions workflow

What the talks covered

  • Why infrastructure as code beats console clicks
  • How Terraform state works
  • Best practices for Terraform in a DevOps team

Session goal: The learner writes reusable Terraform for Google Cloud and runs plan and apply from GitHub Actions, the way DevOps teams work in practice.

Table of contents

Topics Delivered

The modules covered in the 1-2-1 sessions, with the activity for each.

  1. 01 Talk + demo

    Infrastructure as Code & Terraform Basics

    • Why infrastructure as code
    • How Terraform works: providers, resources and state
    • Setting up Terraform for Google Cloud

    Discussion + demo

  2. 02 Hands-on

    Providers, Variables & State

    • Configuring the Google provider
    • Input variables and outputs
    • Managing Terraform state

    Lab: first Terraform project on GCP

  3. 03 Hands-on

    Google Cloud Resources with Terraform

    • VPC networks and subnets
    • Compute Engine instances
    • IAM roles and service accounts
    • Cloud SQL databases

    Lab: build a VPC, VM, IAM and Cloud SQL

  4. 04 Hands-on

    Reusable Modules & Best Practices

    • Writing reusable Terraform modules
    • Project layout and naming
    • Best practices for teams

    Lab: refactor into reusable modules

  5. 05 Hands-on

    CI/CD with GitHub Actions

    • A GitHub Actions workflow for Terraform
    • Plan and apply on every change
    • Handling credentials securely

    Lab: run Terraform from a pipeline

  • Terraform
  • Google Cloud (GCP)
  • VPC
  • Compute Engine
  • IAM
  • Cloud SQL
  • GitHub Actions
  • Infrastructure as Code
Takeaways

What the Learner Took Home

Terraform code

Working, reusable Terraform for VPC, Compute Engine, IAM and Cloud SQL.

GitHub Actions workflow

A pipeline that runs Terraform on every change.

Project guide

The README to rebuild and extend the setup on any GCP project.

FAQ

About This Programme

What is 1-2-1 Terraform training?

Live online sessions with one trainer and one learner, paced around the learner's own goals and projects.

Which Google Cloud services are covered?

VPC networks, Compute Engine, IAM and Cloud SQL, all created and managed with Terraform.

Is CI/CD included?

Yes. Terraform runs from a GitHub Actions workflow, so every change is planned and applied by the pipeline.

Can I get the same training?

Yes. It is available as 1-2-1 sessions, in a retail batch or as a corporate programme.

See all retail & 1-2-1 training we have delivered

Want this programme for your team?

We deliver Terraform on Google Cloud and other AI, Cloud and DevOps programmes on-site or online, 70% hands-on.