logo


your one source for IT & AV

Training Presentation Systems Services & Consulting Cloud Services Purchase Client Center Computer Museum
Arrow Course Schedule | Classroom Rentals | Student Information | Free Seminars | Client Feedback | Partners | Survey | Standby Discounts

Getting Started with Terraform for Google Cloud

SS Course: 65493

Course Overview

TOP
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 a 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 Google Cloud resources using Terraform.                                                                  

Scheduled Classes

TOP
06/24/24 - TDV - Virtual-Instructor Led - Virtual-Instructor Led (click to enroll)

What You'll Learn

TOP
Define the business need for infrastructure as code and the benefits of using it in your environment.
  • Explain the features and functionalities of Terraform.
  • Use Terraform resources, variables, and output values to create Google Cloud infrastructure resources.
  • Use Terraform modules to build reusable configurations.
  • Explain Terraform state and its importance.

Outline

TOP
Viewing outline for:
Introduction to IaC
  • IaC configuration workflow
  • Terraform use cases
  • Using Terraform
  • How to use Terraform
  • Running Terraform in production
  • What is infrastructure as code (IaC)?
  • Problems IaC can solve
  • Benefits of IaC
  • Provisioning versus configuration
  • Imperative versus declarative approach
  • Introduction to Terraform
  • Terraform overview
  • Terraform features
  • Terraform Directory structure
  • terraform apply
  • terraform fmt
  • terraform destroy
  • Terraform Validator tool
  • Introduction
  • Why use the Terraform Validator tool
  • Validation workflow
  • Terraform Validator use cases
  • Introduction to HCL syntax
  • Resources
  • Variables
  • State
  • Modules
  • Terraform commands
  • terraform init
  • terraform plan
  • Introduction to Resources
  • Explicit dependency
  • Introduction to Variables
  • Overview
  • Syntax to declare a variable
  • Syntax to reference and assign a value to a variable
  • Variables best practices
  • Introduction to output values
  • Output values overview
  • Best practices
  • Terraform Registry and CFT
  • Resources overview
  • Introduction to Terraform Registry
  • Introduction to CFT
  • Syntax
  • Example
  • Refer a resource attribute
  • Considerations to define a resource block
  • Meta-arguments for resources
  • Resource dependencies
  • Implicit dependency
  • Introduction to modules:
  • Module use cases, benefits, and best practices
  • Why are modules needed
  • What is a module?
  • Example
  • Reusing configurations by using modules
  • Module sources
  • Calling a module into the source configuration
  • Using variables to parameterize your configuration
  • Pass resource attributes using output variables
  • Introduction to Terraform state
  • How information is stored in a Terraform state file
  • Ways to save a state file
  • Storing a state file in a Cloud Storage bucket
  • Issues when storing the Terraform state locally
  • Benefits of storing a state file in a Cloud Storage bucket
  • Process of storing a Terraform state file remotely in a Cloud Storage bucket
  • Terraform state best practices

Prerequisites

TOP
Complete Google Cloud Fundamentals: Core Infrastructure
  • Have basic programming skills and familiarity with using CLI
  • Have general familiarity with Google Cloud

    Who Should Attend

    TOP
    Cloud engineers, DevOps engineers, and individuals who want to start using Terraform to automate infrastructure provisioning with a focus on Google Cloud Platform

      Next Step Courses

      TOP