Advanced 9 Steps 8h 35m 68 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.
Prerequisites
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
Terraform Fundamentals
In this hands-on-lab you will create infrastructure, a virtual machine, using Terraform in the cloud environment.
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.
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.
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.
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.
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.
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.
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.
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.