- Lab
-
Libraries: If you want this lab, consider one of these libraries.
Automating Network Infrastructure with Terraform
In this lab, you'll practice automating network infrastructure with Terraform to provision a virtualized multi-tier network topology and manage infrastructure through the Terraform workflow. When you're finished, you will have successfully provisioned a VPC with multi-subnet architecture, managed infrastructure through Terraform's state management workflow, and implemented modularity with drift detection capabilities.
Lab Info
Table of Contents
-
Challenge
Access the Terminal
- Connect to the lab terminal using the provided credentials.
- Verify Terraform is available from the command line.
- Confirm AWS credentials are available on the instance.
-
Challenge
Provision a Virtualized Multi-tier Network Topology
- Configure the AWS provider and root Terraform files.
- Build a VPC with public and private subnets, routing, and an Internet Gateway.
- Create a security group for HTTP and SSH access.
-
Challenge
Manage Infrastructure through the Terraform Workflow
- Initialize the workspace and inspect the provider installation.
- Plan and apply the configuration to provision the network.
- Verify deployed resources.
-
Challenge
Implement Modularity and Audit Infrastructure Drift
- Refactor the network resources into a reusable module.
- Redeploy the modular configuration and expose key outputs from the root module.
- Simulate out-of-band changes and use Terraform to detect and correct drift.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.