Terraform Essentials for AWS by Pearson
8h 3mIntermediate2026-09-08
Authors

Pearson
Course details
Get introduced to the core concepts of Terraform and managing AWS infrastructure. Begin by setting up your environment, including AWS and Terraform installations, and configuring Visual Studio Code for an optimal workflow. Explore Terraform fundamentals, where you can learn about the workflow, provider plugins, and core commands like init, plan, and apply. Gain insights about managing AWS configurations, including instances, security groups, and SSH keys, to create and secure cloud infrastructures proficiently. Discover advanced Terraform functionalities such as using cloud-init for automating server setup and configuring multiple AWS resources with Terraform modules. Improve your workflow by automating repetitive tasks through Terraform variables. This course supports IT professionals, developers, and DevOps engineers by providing practical skills for cloud infrastructure automation. By the end of this course, you will be more equipped to create robust AWS solutions that are both repeatable and efficient using Terraform.
Concepts
Introduction
- Terraform essentials for Amazon Web Services (AWS) - Introduction
Pretest and System Setup
- Module 1 - Setup and Terraform fundamentals introduction
- Learning objectives
- Pretest assessment
- Setting up a Linux virtual machine - Part 1
- Setting up a Linux virtual machine - Part 2
- Installing Visual Studio Code
- Accessing the Git repository
- Installing Terraform
- Installing Terraform autocomplete
- Setting up AWS
- Configuring Visual Studio Code
Terraform Fundamentals
- Learning objectives
- What is infrastructure as code (IaC)
- What is Terraform
- Why use Terraform
- The Terraform help system
- How Terraform works
- Terraform documentation
- Terraform workflow
- Quiz
First Terraform Configuration with Amazon Web Services (AWS)
- Module 2 - AWS Cloud configurations introduction
- Learning objectives
- Lab preparation
- Creating a main.tf file
- Formatting Terraform code
- Initializing the working directory
- Validating Terraform code
- Viewing the Terraform plan
- Applying the infrastructure to AWS
- Analyzing the state file
- Destroying the infrastructure
- Quiz
AWS Configuration with Security Groups
- Learning objectives
- Coding a main.tf file in Visual Studio Code
- The Terraform Registry
- Validating and creating infrastructure
- Destroying the infrastructure and analysis
- Quiz
AWS Configuration with Secure Shell (SSH) and Outputs
- Learning objectives
- Creating the directory structure
- Creating a Secure Shell (SSH) key pair
- Coding the Terraform files
- Terraform outputs
- Initializing, validating, and applying infrastructure
- Using SSH to connect to the new instance
- Destroying the infrastructure
- Quiz
Terraform with cloud-init and Viewing Resources
- Learning objectives
- Preparing the lab
- Analyzing the cloud-init script
- Terraforming the infrastructure
- Logging into the instance and verifying the website
- Viewing resources with Terraform commands
- Modifying and replacing individual resources
- Destroying the infrastructure
- Quiz
Terraform Variables
- Module 3 - Terraform core functionality introduction
- Learning objectives
- Introduction to Terraform variables
- Define and reference variables
- Using -var to specify values
- Specifying values in the command-line interface (CLI)
- Types of variables
- Using .tfvars files
- Environment variables
- Variables precedence
- Speeding up Terraform - Aliases in Bash and fish
- Quiz
Terraform Modules
- Learning objectives
- Introduction to Terraform modules
- Building a shared local module - Part 1
- Building a shared local module - Part 2
- Building a shared local module - Part 3
- Working with public and local modules - Part 1
- Working with public and local modules - Part 2
- Working with public and local modules - Part 3
- Working with public and local modules - Part 4
- Working with public and local modules - Part 5
- Quiz
Conclusion
- Terraform essentials for AWS - Summary