Managing Cloud Infrastructure with Terraform

Advanced 9 Steps 8h 35m 61 Credits

In this Quest, the experienced user of Google Cloud will learn how to describe and launch cloud resources with Terraform, an open source tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned. In these nine hands-on labs, you will work with example templates and understand how to launch a range of configurations, from simple servers, through full load-balanced applications.



Although this quest will teach you the fundamentals of Terraform, you will still need hands-on experience with GCP’s computing and networking services before getting started. It is recommended that the student have at least earned a Badge by completing the hands-on labs in the Cloud Architecture and/or the Networking in the Google Cloud Quests before beginning.

Quest Outline

Hands-On Lab

Terraform Fundamentals

In this hands-on-lab you will create infrastructure, a virtual machine, using Terraform in the cloud environment.

Hands-On Lab

Creating a Custom Machine Type with Terraform

In this lab you'll create an instance with a custom machine type, a bastion host, and a NAT gateway using Terraform.

Hands-On Lab

Using a NAT Gateway with Kubernetes Engine

This lab shows how to define new node IP address mappings by using network address translation (NAT) gateways.

Hands-On Lab

Deploy Kubernetes Load Balancer Service with Terraform

In Terraform, a Provider is the logical abstraction of an upstream API. This lab will show you how to setup a Kubernetes cluster and deploy Load Balancer type Nginx service on it.

Hands-On Lab

HTTPS Content-Based Load Balancer with Terraform

This lab shows you how to create a HTTPS load balancer to forward traffic to a custom URL map, which then sends traffic to the region closest to you with static assets being served from a Cloud Storage bucket.

Hands-On Lab

Modular Load Balancing with Terraform - Regional Load Balancer

This lab will demonstrate how to use the Regional Load Balancer GCP Terraform modules for setting up various load balancers.

Hands-On Lab

Using Vault on Compute Engine for Secret Management

In this hands-on lab you will learn how to deploy Vault, an open source tool for secret management, to GCP (Google Cloud Platform) Compute Engine using Terraform.

Hands-On Lab

Custom Providers with Terraform

In Terraform, a Provider is the logical abstraction of an upstream API. This lab will show you how to build a custom provider for Terraform.

Hands-On Lab

Cloud SQL with Terraform

In this hands-on lab you will learn to create Cloud SQL instances with Terraform, then set up the Cloud SQL Proxy, testing the connection with both MySQL and PostgreSQL clients.

Enroll Now

Enroll in this quest to track your progress toward earning a badge.