hands-on lab

Deploying AWS Infrastructure with Terraform

Difficulty: Beginner
Duration: Up to 45 minutes
Students: 4,529
Rating: 4.2/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 teams to treat their infrastructure as code. Infrastructure as code provides many benefits such as improved recovery, predictability, and speed. Infrastructure as code is quickly becoming a standard for managing cloud resources and is widely practiced among top-performing companies.

Terraform is platform-agnostic, meaning it can be used to manage any major cloud service provider as well as on-premise 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 simple to learn and can be easily adopted as a way to manage your cloud infrastructure.

In this lab, you will create a Terraform configuration to deploy a VPC in AWS.

Learning objectives

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

  • Work with the HashiCorp AWS Terraform Provider
  • Use with the HashiCorp Configuration Language syntax and Terraform configuration files
  • Run Terraform init, plan, and apply commands to manage infrastructure
  • Deploy an Amazon Virtual Private Cloud in AWS

Intended audience

  • Individuals studying for the HashiCorp Certified: Terraform Associate exam
  • Cloud Engineers
  • DevOps Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Amazon Virtual Private Cloud

The following content can be used to fulfill the prerequisites:

Updates

  • July 28, 2023 - Updated lab steps, Terraform version, and lab format to utilize code tour format.

Environment before

Environment after

Covered topics

Lab steps

Deploying an Amazon Virtual Private Cloud With Terraform