Create AWS Resources with Terraform

Lab Steps

Logging in to the Amazon Web Services Console
Connecting to the Virtual Machine using SSH
Installing Terraform
Configuring Providers in Terraform
Creating an AWS Resource with Terraform
Validate Create AWS Resources with Terraform

The hands-on lab is part of these learning paths

Refactoring a Monolithic .Net Application to use Cloud Services
course-steps 4 certification 2 lab-steps 6
Solving Infrastructure Challenges with Terraform
course-steps 1 certification 1 lab-steps 5

Ready for the real environment experience?

Time Limit35m
star star star star star-half


Lab Overview

Terraform is a tool for declaring and managing infrastructure as code. With Terraform you can write declarative configuration files, view execution plans, and apply plans to realize the infrastructure declared in the configuration files. An important advantage of Terraform is that is supports over 100 resource providers including the major public cloud providers, such as Amazon Web Services, Microsoft Azure, and Google Cloud Platform. In this Lab, you will learn the basics of working with Terraform and create an Amazon Virtual Private Cloud (VPC) with Terraform.

Lab Objectives

Upon completion of this Lab you will be able to:

  • Install Terraform on Linux
  • Configure Terraform providers
  • Create AWS resources with Terraform

Lab Prerequisites

You should be familiar with:

  • Working at the command-line in Linux
  • Amazon VPC basics

Lab Environment

Before completing the Lab instructions, the environment will look as follows:

After completing the Lab instructions, the environment should look similar to:




July 18th, 2019 - Improved the validation Lab Step to further check the work you perform in the Lab

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

About the Author

Learning paths12

Logan has been involved in software development and research since 2007 and has been in the cloud since 2012. He is an AWS Certified DevOps Engineer - Professional, AWS Certified Solutions Architect - Professional, Microsoft Certified Azure Solutions Architect Expert, MCSE: Cloud Platform and Infrastructure, Google Cloud Certified Associate Cloud Engineer, Certified Kubernetes Administrator (CKA), Certified Kubernetes Application Developer (CKAD), Linux Foundation Certified System Administrator (LFCS), and Certified OpenStack Administrator (COA). He earned his Ph.D. studying design automation and enjoys all things tech.

Covered Topics