Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Google Cloud Platform icon
Labs

Building Highly Available Multi Tier Architecture with Terraform

In this lab, you will learn how to build a highly available multi-tier architecture on AWS using Terraform. This lab will guide you through creating a multi-tier VPC network, deploying EC2 instances in a private subnet, setting up an Application Load Balancer, and integrating with a backend database. By leveraging Terraform’s infrastructure-as-code capabilities, you can define each component of the architecture in a structured and repeatable manner. By the end of this lab, you will understand how to create and manage a scalable and fault-tolerant environment using best practices. This approach ensures that your infrastructure is optimized for high availability and reliability, making it ideal for production-level workloads and applications.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Intermediate
Last updated
Sep 23, 2025
Duration
45m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Log into your virtual machine and create user
    1. Use the provided credentials to connect to your virtual machine, use "cloud_user" as your username and replace "your_vm_public_ip_address" with the correct IP address.
    2. Open your browser in incognito mode and navigate to the identity and access management section.
    3. Go to "User Management," start creating a new user, and select "Attach policies directly" to give full admin access.
    4. Complete user creation and generate access and secret keys under security credentials.
  2. Challenge

    Install Git and clone repository
    1. Update your package list.
    2. Install Git and confirm the installation using sudo yum install git -y.
    3. Clone the repository and navigate into it. https://github.com/pluralsight-cloud/multi-tier-terraform.git
  3. Challenge

    Run the Install Script and use AWS configure
    1. Ensure the script has executable permissions by using chmod +x "your script name"
    2. Run the script to install required packages.
    3. Install Git LFS.
    4. Configure the AWS CLI with the previously created user's credentials, entering the Access Key ID, Secret Access Key, region, and output format when prompted.
  4. Challenge

    Initialize, Plan and Apply the Terraform code
    1. Navigate to the folder with your main configuration file and run the command to initialize Terraform.
    2. Use the command to preview planned changes.
    3. Run the command to apply changes and create resources as defined in main.tf, confirming with "yes" when prompted.
  5. Challenge

    Verify Resource Creation
    1. Once the terraform apply command completes, verify that the resources have been successfully created in your AWS Console.
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

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.

Get started with Pluralsight