hands-on lab

Installing Terraform on Windows and Linux

Difficulty: Beginner
Duration: Up to 45 minutes
Students: 4,319
Rating: 4.6/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 by using code. The tool itself is written in Golang which makes it easily multi-platform compatible. Installing Terraform is not like installing usual applications. It involves downloading the binary and modifying the environment variables. Understanding how to install Terraform is crucial when designing an infrastructure as code strategy and is a foundational concept when building CI/CD pipelines to deliver infrastructure.

In this lab, you will install Terraform on a Windows and Linux server.

Learning Objectives

Upon completion of this lab, you will be able to:

  • Understand how Terraform is installed
  • Install Terraform on Windows and Linux environments

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:

Updates

October 28th, 2024 - Updated Terraform Version to use the latest available

June 29th, 2023 - Updated the instructions and screenshots to reflect the latest UI

January 12th, 2020 - Updated to the latest Windows AMI

Environment before

Environment after

Covered topics

Lab steps

Logging In to the Amazon Web Services Console
Installing Terraform on Linux
Installing Terraform on Windows