Deploying Infrastructure with Terraform

Lab Steps

Logging in to the Amazon Web Services Console
Connecting to the Terraform Web based IDE
Creating and Deploying a Terraform Configuration

Ready for the real environment experience?

Time Limit30m


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 VPC in AWS.

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 VPC in AWS

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
About the Author

Luke currently serves as a Cloud Labs Developer at Cloud Academy. His background is infrastructure development using Terraform. He is an Azure DevOps Engineer Expert, Azure Administrator Associate, and HashiCorp Certified - Terraform Associate.