
Master terraform fundamentals and advanced automation on Google Cloud Platform by building infrastructure with modules, variables, lists, maps, outputs, and conditionals, covering volumes, buckets, databases, IAM, and Kubernetes.
Learn to install VirtualBox and set up Ubuntu 20.04 as a virtual machine, including creating a VM, allocating memory and storage, mounting the Ubuntu ISO, and enabling guest additions.
Download Terraform 0.12.5 from Terraform io, unzip it to /opt using sudo, and export PATH to include /opt; verify with Terraform version 0.12.5.
Install Visual Studio Code on Ubuntu, install the Terraform 12 extension for syntax highlighting, linting, and formatting, add Bash Debug and a dark color theme, and set up a workspace.
Set up your Google Cloud Platform account, choose individual type, and enable the free tier with 300 credits for 12 months, then enable billing to access VM instances.
Explore how regions and zones determine where compute resources live, compare machine types from standard to high CPU, high memory, and ultra memory, and note latency by choosing nearby regions.
Set up GCP credentials, configure Terraform provider, and launch your first Google compute instance in europe west2; authenticate via service account key and run init, plan, apply, and destroy.
Automate Terraform workflows with plan, apply, and destroy scripts that initialize, download modules, and run with auto-approve, turning manual steps into a quick, executable pipeline.
Learn to define and use Terraform variables, assign defaults, and reference them with var.name, organize them in a Variables.tf file, and plan, apply, and destroy resources on Google Cloud.
Learn how to define terraform outputs to print resource details after apply, such as Google Compute Instance machine type, name, and zone, using resource, name, and field syntax.
Define a list variable in Terraform, use length and count to create three GCP instances, and display outputs for each with a clear naming scheme.
Use maps to map keys to values for flexible machine type variables in Terraform. Define a type map with dev and prod defaults and reference keys to switch configurations.
Learn to join multiple instance ids in Terraform by using the join function with a comma delimiter to expose a single instance_id output.
Learn how to use Terraform's depends_on to enforce creation order in Google Cloud Platform, using two Google compute instances to demonstrate top-down evaluation, plan, and apply outcomes.
Learn to use conditionals in Terraform for GCP. Define environment and machine type variables, and switch between N1 standard 1 and 4 using equal and not-equal logic.
Combine Terraform with Google Cloud Platform to build a virtual machine, configure labels, metadata and startup scripts, and implement firewall rules with HTTP and HTTPS access.
Learn how to add additional volumes to Google Cloud instances using terraform by creating a google_compute_disk and a google_compute_attached_disk, then attach a 10 gigs ssd in the same zone.
Create a Google storage bucket in Terraform, naming it and setting location and regional storage class. Enable labels and versioning via variables, then plan and apply to deploy on GCP.
Create a MySQL 5.7 database on Google Cloud Platform with Terraform by defining variables in main.tf, enabling APIs, and provisioning the database user.
Master auto scaling on Google Cloud through Terraform by building an instance template, health checks, group manager, and autoscaler policies to manage dynamic instances.
Learn how the Terraform Registry provides Google modules to configure Google Kubernetes Engine clusters, inspect source code, and follow usage to plan and apply infrastructure changes.
Welcome to the Terraform Beginner to Advanced - Using Google Cloud Platform course! This course aims to teach you the fundamentals of Terraform and apply them to GCP. We also aim to show the more complex features of functions of GCP and Terraform to really get the student ready for the working world.
The course has been updated to use Terraform Version 12.
The course teaches the following:
Virtual Machines
Databases
Security Groups & Firewall Rules
VPC
Buckets
Functions
Conditionals
Remote State
Null Resources
Local Provisioners
Join
Count
Depends
The in-depth course aims to get the the student up and running, straight to the point and teach how to get this infrastructure working in GCP.
We hope you enjoy it!