hands-on lab

Deploying Infrastructure with Terraform in Azure

Difficulty: Beginner
Duration: Up to 30 minutes
Students: 2,088
Rating: 4.8/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Terraform is an infrastructure automation tool that allows companies to manage infrastructure through code. This provides many benefits such as greater recovery, predictability, and speed. Infrastructure as code is quickly becoming a standard for managing cloud resources and is widely practiced among the top high performing companies. One of the major benefits of using Terraform over other infrastructure as code tools is that its platform agnostic. Terraform can be used to manage any major Cloud Service Provider as well as on-prem environments using vSphere and Cisco. Teams can use the same adopted skillset and workflows to manage other environments instead of reinventing the wheel for managing each environment. Terraform is also simple to learn in a matter of a few days and can be quickly adopted as a way to manage infrastructure among teams.

In this lab, you will create a Terraform configuration to deploy a Virtual Network in Azure.

Learning Objectives

Upon completion of this lab you will be able to:

  • Understand what a Terraform provider is
  • Use Terraform init, plan, and apply commands to build infrastructure
  • Be familiar with the Hashicorp Configuration Language syntax and Terraform configuration files
  • Build and destroy a Virtual Network in Azure

Intended Audience

This lab is intended for:

  • Individuals studying to take the HashiCorp Certified: Terraform Associate exam
  • Anyone interested in learning how to use Terraform to manage Cloud Service Providers

Lab Prerequisites

You should be familiar with:

  • Basic concepts of Cloud Service Providers

Environment before

Environment after

Covered topics

Lab steps

Creating and Deploying an Azure Terraform Configuration