hands-on lab

Deploying AWS Infrastructure with Terraform

Beginner
45m
4,044
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.
Lab 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
About the author
Avatar
Jun Fritz
Cloud Labs Developer
Students
39,042
Labs
103
Courses
1
Learning paths
6

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content. 

Covered topics
Lab steps
Deploying an Amazon Virtual Private Cloud With Terraform