
Getting Started with Terraform for Google Cloud
Are you looking to learn everything you need to know about implementing an infrastructure as a code solution? This course will teach you how to apply Terraform's key features and functionalities on Google Cloud.
Book this courseCourse Overview
1 day course
Certificate of Attendance
Private
Partner of the Year
Jellyfish has been selected by Google to facilitate the delivery of this one-day introductory course.
We're an award-winning Google Cloud Partner and our trainers work with Google Cloud on a daily basis, so you'll be able to benefit from the years of industry experience they’ll share with you.
This course provides a comprehensive overview of Terraform for Google Cloud. During the session, you’ll be taught how it can be used to implement infrastructure as a code; and how to effectively utilize its features and functionalities to create and manage Google Cloud infrastructure.
You’ll learn about the business need for infrastructure as code and study the benefits of using it in your environment. By the end of the session, you’ll be able to create Google Cloud infrastructure resources and then use Terraform modules to build reusable configurations.
Our Getting Started with Terraform for Google Cloud course is available as a private session that can be delivered virtually or at a location of your choice in South Africa.
What you'll learn
By the end of this course, you will be able to:
Define the business need for infrastructure as code and the benefits of using it in your environment
Use Terraform resources, variables, and output values to create Google Cloud infrastructure resources
Explain Terraform state and its importance
Explain the features and functionalities of Terraform
Use Terraform modules to build reusable configurations
Course agenda
Module 1: Introduction to Terraform for Google Cloud
- What is infrastructure as Cod (IaC) and what problems can it solve?
- Benefits of IaC
- Provisioning vs. Configuration
- IaC configuration Workflow
- Imperative vs. Declarative approach
- Terraform overview and use cases
- IaC configuration workflow
- Terraform use cases
- How to use Terraform; running it in Production and installing it
- Authentication for Google Cloud
Module 2: Terms & Concepts
- The author phase: Terraform Directory Structure, Introduction to HCL Syntax, Resources, Variables, State and Modules
- Terraform commands: init, plan, apply, fmt, destroy
- Terraform validator tool: Introduction, why use it, validation workflow, and use cases
Module 3: Writing Infrastructure Code for Google Cloud
- Introduction to resources: overview, syntax, example, refer a resource attribute
- Considerations to define a resource block
- Meta-arguments for resources
- Resource dependencies: implicit and 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 variables: overview and best practices
- Introduction to Terraform registry and CFT
Module 4: Organizing & Reusing Configuration with Terraform Modules
- Introduction to Modules: what are they, and why are they needed?
- Reusing configurations by using modules: module sources and calling a module into the source configuration
- Using variables to parameterize your configuration
- Pass resource attributes using output variables
- Module use cases, benefits, and best practices
Module 5: 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
Who it's for
This beginner-level course is suitable for:
- Cloud engineers
- DevOps engineers
- Individuals who want to start using Terraform to automate infrastructure provisioning with a focus on Google Cloud
Prerequisites
To get the most out of this course, you should have taken our Google Cloud Fundamentals: Core Infrastructure course. You should also have basic programming skills and familiarity with using CLI, and have an overall general familiarity with Google Cloud.
BOOK THIS COURSE
Enquire for a team or large group
For private sessions call our sales team