Deploying to AWS with Terraform and Ansible

By Moosa Khalid

In this course we create alchemy using Terraform, AWS, and Ansible.

8 hours
  • 30 Lessons
  • 4 Hands-On Labs
  • Chapter 1 4 Lessons Getting Started 10:44

    Course Introduction: Infrastructure As Code with Terraform and Ansible

    5:29

    About the Course Author

    1:39

    What We Are Going to Build

    2:02

    Important: Prerequisites for Following Along

    1:34
  • Chapter 2 3 Lessons Setting Up the Environment 14:32

    Setting Up Terraform

    4:10

    Setting Up AWS CLI and Ansible

    5:14

    AWS IAM Permissions For Terraform

    5:08
  • Chapter 3 16 Lessons Terraform Infrastructure as Code (IaC) 1:56:27

    Understanding Terraform fmt, validate, plan, and apply

    3:33

    Persisting Terraform State in S3 Back End

    5:42

    Setting Up Multiple AWS Providers in Terraform

    6:06

    Network Setup Part 1: Deploying VPCs, Internet GWs, and Subnets

    6:54

    Network Setup Part 2: Deploying Multi-Region VPC Peering

    8:18

    Network Setup Part 3: Deploying Security Groups

    8:21

    Creating a multi-region network with VPC peering using SGs, IGW and RTs

    0:00 Hands-On Lab

    App VM Deployment Part 1: Using Data Source (SSM Parameter Store) to Fetch AMI IDs

    8:11

    App VM Deployment Part 2: Deploying Key Pairs for App Nodes

    6:57

    App VM Deployment Part 3: Deploying Jenkins Master and Worker Instances

    10:28

    Configuring Terraform Provisioners for Config Management via Ansible

    13:11

    Load Balancing: Creating an ALB and Routing Traffic to EC2 App Node

    13:31

    Deploying Jenkins Master and Worker nodes in AWS behind an ALB using Terraform & Ansible

    0:00 Hands-On Lab

    Putting It All Behind DNS: Setting up HTTPS and a Route 53 Record

    17:07

    Creating Route53 records(Alias) to route traffic to an ALB using Terraform

    0:00 Hands-On Lab

    Terraform Outputs and Terraform Graph

    8:08
  • Chapter 4 4 Lessons Ansible Configuration Management 27:30

    Ansible Playbooks and Syntax Checking

    3:31

    Building Playbooks for Jenkins Master Setup

    8:46

    Building Playbooks for Jenkins Worker Setup

    10:04

    Building Jinja2 Templates for Ansible Playbooks

    5:09
  • Chapter 5 2 Lessons Bringing It All Together 18:24

    Verifying Our IaC Code and Terraform Apply

    10:48

    Troubleshooting Our Setup (TF_LOG, ANSIBLE_DEBUG)

    7:36
  • Chapter 6 1 Lesson Final Hands-On Lab 0:00

    Deploying to AWS with Terraform and Ansible

    0:00 Hands-On Lab

What you will need

  • AWS, Linux CLI, AWS CLI

What are Hands-on Labs

What's the difference between theoretical knowledge and real skills? Practical real-world experience. That's where Hands-on Labs come in! Hands-on Labs are guided, interactive experiences that help you learn and practice real-world scenarios in real cloud environments. Hands-on Labs are seamlessly integrated in courses, so you can learn by doing.

Practice alongside courses in Cloud Playground

What is Cloud Playground? Cloud Playground lets you build skills in real-world AWS, Google Cloud, and Azure environments. Spin up risk-free Sandboxes, Servers and Terminals and follow along with courses, test a new idea or prepare for exams.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!