Sari la conținutul principal

Curs

Getting Started with Terraform for Google Cloud

De bază6 h

Use Terraform to provision and manage Google Cloud resources as code, from your first config to reusable modules.

R6 hCertificat de realizare

Creează-ți contul gratuit

Continuă cu Google
sau
Continuând, accepți Termenii de utilizare, Politica de confidențialitate și faptul că datele tale sunt stocate în SUA.

Apreciat de cursanți din mii de companii

Instruiești o echipă?

Încearcă pentru companii →

Descrierea cursului

Manage Infrastructure as Code

Clicking through a console doesn’t scale. Infrastructure as code lets you define cloud resources in files you can version, review, and reuse. This course introduces Terraform, one of the most widely used infrastructure as code tools, and shows you how to use it with Google Cloud.

Write and Organize Terraform Configurations

You’ll learn the core Terraform concepts and terminology, including providers, resources, variables, and outputs, and follow the standard workflow of initializing, planning, and applying changes. Then you’ll organize your configurations into modules so you can reuse proven building blocks across projects.

Build and Manage Google Cloud Resources

Hands-on labs give you practice creating and updating real Google Cloud resources with Terraform, and you’ll learn how Terraform tracks your infrastructure using state. By the end of the course, you’ll be able to write Terraform configurations, deploy and manage Google Cloud infrastructure with them, and keep your environments consistent and repeatable.

Cerințe prealabile

Nu există cerințe prealabile pentru acest curs

Programă

Planul cursului

1

Course Introduction

This section welcomes learners to the Google Cloud Fundamentals: Core Infrastructure course, and provides an overview of the course structure and goals.
Începe capitolul
2

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.
Începe capitolul
3

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.`
Începe capitolul
4

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.
Începe capitolul
6

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.
Începe capitolul
7

Course Summary

In this final section, we review what's been presented in this course.
Începe capitolul
R

Getting Started with Terraform for Google Cloud

Curs
finalizat

Obține diploma de absolvire

Înscrie-te acum

Dezvoltă-ți competențele în date cu DataCamp for Mobile

Fă progrese din mers cu cursurile noastre pentru mobil și provocările zilnice de programare de 5 minute.