CloudAcademy

Manage AWS Resources with Terraform

The hands-on lab is part of this learning path

Solving Infrastructure Challenges with Terraform

course-steps 1 certification 1 lab-steps 5

Lab Steps

keyboard_tab
lock
Logging in to the Amazon Web Services Console
lock
Connecting to the Virtual Machine using SSH
lock
Importing an AWS Resource into Terraform
lock
Creating an EC2 Instance with Terraform
lock
Using Variables to Generalize Terraform Configuration

Ready for the real environment experience?

DifficultyIntermediate
Duration35m
Students192

Description

Lab Overview

Terraform allows you to safely manage your infrastructure by modifying configuration files. Terraform will show you an execution plan that you must approve before any infrastructure changes are applied. This Lab highlights several capabilities of Terraform that make managing infrastructure easy. You will learn how to import existing resources, understand configuration file interpolation syntax to reference resource attributes, and use variables to generalize configuration while you manage AWS resources with Terraform. 

Lab Objectives

Upon completion of this Lab you will be able to:

  • Import existing resources into Terraform
  • Use interpolation syntax to reference resource attributes in configurations
  • Use variables to parameterize Terraform configurations
  • Understand Terraform's concept of state

Lab Prerequisites

You should be familiar with:

  • Working at the command-line in Linux
  • Amazon VPC and EC2 basics
  • Basic Terraform concepts such as resources, and state. It is highly recommended to complete the Create AWS Resources with Terraform Lab before attempting this Lab.

Lab Environment

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

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

About the Author

Students8071
Labs60
Courses6
Learning paths3

Logan has been involved in software development and research for over eleven years, including six years in the cloud. He is an AWS Certified DevOps Engineer - Professional, MCSE: Cloud Platform and Infrastructure, and Certified Kubernetes Administrator (CKA). He earned his Ph.D. studying design automation and enjoys all things tech.

Covered Topics