logo

Google Cloud Course

course overview

download outline

Select Country and City to View dates & book now

Overview

This course provides an introduction to using Terraform for Google Cloud. It enables learners to describe how Terraform can be used to implement infrastructure as code and to apply some of its key features and functionalities to create and manage Google Cloud infrastructure.
Learners will get hands-on practice building and managing Google Cloud resources using Terraform.

Outline

Course Introduction
Introduction to Terraform for Google Cloud
This is an introductory module that covers the business need for Terraform. We’ll start with the basics by providing an overview of infrastructure as code (IaC), which is the basic concept for Terraform. We will explore how Terraform can be used as an IaC tool on Google Cloud and also cover its features and benefits. We’ll then look at how Terraform transforms lines of code into real infrastructure on Google Cloud.
  • Module Overview
  • Infrastructure as Code
  • Terraform Overview
  • Using Terraform
  • Quiz : Introducing to Terraform for Google Cloud
  • Module Summary
Terms and Concepts
In this module, we introduce you to HashiCorp Language and discuss the terms and concepts involved in authoring a Terraform configuration. We also explore some of the important Terraform commands involved in managing the terraform configuration. Upon completion of this module, you will be able to interpret what each code block means, create basic configuration files within Terraform and be able to explain the purpose of a few few important terraform commands and we will also explore what a Validator tool is.`
  • Module Overview
  • Terraform Configurations and the HashiCorp Language
  • Author Phase Terms and Concepts
  • Terraform Commands
  • The Terraform Validator
  • Demo - Terraform Workflow
  • LAB: Infrastructure as Code with Terraform: In this lab, you will explore how terraform can be used to create, manage, and destroy Google Cloud resources.
  • Quiz: Terms and Concepts
  • Module Summary
Writing Infrastructure Code for Google Cloud
In this module, you will explore more about resources, variables, and output resources. We will begin by exploring how to create infrastructure components using resources and then explore how Terraform handles dependencies within resources. While we have been covering resource creation by using hard-code resource arguments, we will explore how you can parameterize a given configuration using variables. We will explore the syntax to declare, define and use them within your configuration. We will then discuss how you can export resource attributes outside the resource declaration using output values. We will then wrap up the module by discovering how you can simplify code authoring using Terraform registry, and Cloud Foundation Toolkit.
  • Module Overview
  • Introduction to Resources
  • Meta-arguments for Resources
  • Resource Dependencies
  • Variables
  • Variables Best Practices
  • Output Values
  • Terraform Registry and Cloud Foundation Toolkit
  • LAB: Creating Resource Dependencies with Terraform: Explore implicit and explicit resource dependencies and examine the use of lifecycle meta-argument.
  • Quiz: Writing Infrastructure Code for Google Cloud
  • Module Summary
Organizing and Reusing Configuration with Terraform Modules
You will explore what modules are, how to use them from a public registry, how to use modules to reuse configurations, and parameterize configurations using input variables. You will also explore how to use output values to access resource attributes outside of the module.
  • Module Overview
  • Introduction to Terraform Modules
  • Modules use cases and benefits
  • Reuse Configurations with Modules
  • Variables and Outputs
  • Best Practices and a Real Time Scenario
  • LAB: Automating the Deployment of Infrastructure Using Terraform: In this lab, you create a Terraform configuration with a module to automate the deployment of GCP infrastructure.
  • Quiz: Organizing and Reusing Configuration with Terraform Modules
  • Module Summary
Introduction to Terraform State
The module starts with an introduction to Terraform state. You’ll then learn about the different ways to store Terraform state. Later in the module you’ll explore the benefits of storing the state file in a remote location. While there are many remote locations in which you can store the state file, this module describes how to store it in a Google Cloud Storage Bucket. You’ll wrap up the module by learning best practices for working with state files.
  • Module Overview
  • Introduction to Terraform State
  • Storing State Files
  • Terraform State Best Practices
  • LAB: Creating a Remote Backend: In this lab, you will learn how to create a local and remote backend.
  • Quiz: Introduction to Terraform State
  • Module Summary

Talk to an expert

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. Its a cost effective option. One on one training can be delivered too, at reasonable rates.

Submit an enquiry from any page on this site and let us know you are interested in the requirements box, or simply mention it when we contact you.

All $ prices are in USD unless it’s a NZ or AU date

SPVC = Self Paced Virtual Class

LVC = Live Virtual Class

Please Note: All courses are availaible as Live Virtual Classes

Trusted by over 1/2 million students in 15 countries

Our clients have included prestigious national organisations such as Oxford University Press, multi-national private corporations such as JP Morgan and HSBC, as well as public sector institutions such as the Department of Defence and the Department of Health.