- Lab
- A Cloud Guru
Make Changes to AWS Infrastructure Using Terraform
Hey there, Gurus! Welcome to the lab! This lab will demonstrate how easy it is to manage and destroy infrastructure in AWS with Terraform. We will first deploy the lab environment, and then we will make a couple changes to the Terraform configuration and redeploy. We will then confirm the changes were made and then delete all of the resources we deployed. Let's get started!
Path Info
Table of Contents
-
Challenge
Set Up the Environment
- In the terminal, once logged into your instance, change to the
lab-managing-aws
directory. - Copy your ami and your subnet_id from your
resource_ids.tx
file, and update the main configuration file. - Initialize the working directory.
- Apply the Terraform configuration.
- In the terminal, once logged into your instance, change to the
-
Challenge
Deploy Configuration Changes
- In the terminal, edit the main configuration file.
- Change instance_type to t3.micro.
- Change the tag name to Robin.
- Apply the Terraform configuration.
- Verify the change in configuration.
-
Challenge
Delete All Resources
- In the terminal, delete all the resources.
- Confirm the deleting of resources.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.