Infrastructure as Code โ Terraform & Ansible
Terraform modules, remote state, security, Ansible fundamentals, roles, AWX and a full IaC pipeline capstone
100% Free ยท All lessons unlocked
Course Content
Foundations
Core concepts and groundwork
Module Structure โ Inputs, Outputs, Versions and Registry
Reading
Remote State โ S3 and DynamoDB Locking, Workspaces and Isolation
Reading
count, for_each, Dynamic Blocks and Conditional Expressions
Reading
Data Sources, depends_on and Lifecycle Meta-Arguments
Reading
Terraform Cloud โ VCS-Driven Runs and Remote State
Reading
Practice โ Build a Reusable VPC Module with Public and Private Tiers
Exercise
Core Skills
Essential techniques and patterns
Lab โ Migrate Local State to S3 and DynamoDB with Locking
Reading
Secrets Hygiene โ SSM Parameter Store, Vault and Env Vars
Reading
tflint โ Provider-Specific Rule Linting for Terraform Configs
Reading
Checkov and tfsec โ Static IaC Security Scanning
Reading
Terratest โ Go-Based Integration Tests for Terraform Modules
Reading
Drift Detection โ terraform plan in CI and Remediation Workflow
Reading
Applied Practice
Hands-on, real-world scenarios
Practice โ Add Checkov and tflint to a GitHub Actions PR Workflow
Exercise
Lab โ Fix 5 Real Checkov HIGH-Severity Failures on an AWS Module
Reading
Inventory โ Static YAML/INI and Dynamic EC2 and Azure Plugins
Reading
Playbook Anatomy โ Plays, Tasks, Handlers, Tags and Blocks
Reading
Core Modules โ copy, template, service, package, user and file
Reading
Jinja2 Templating โ Filters, Lookups, Conditionals and Loops
Reading
Advanced Topics
Deeper, more complex material
Ansible Vault โ Encrypting Variables, Strings and Entire Files
Reading
Practice โ Configure Nginx, ufw and chrony on 3 Ubuntu Servers
Exercise
Lab โ Run Ansible Playbook Against Live EC2 Inventory via SSM
Reading
Roles โ Directory Layout, Defaults, Vars, Files and Meta
Reading
Ansible Galaxy โ Installing, Pinning and Vendoring Community Roles
Reading
Production & Scale
Building for the real world
Molecule โ Scenario Design and Testinfra Assertions
Reading
AWX and AAP โ Job Templates, Credentials, Surveys and RBAC
Reading
Combining Terraform and Ansible โ Provision-Then-Configure Pattern
Reading
Practice โ Multi-Tier LAMP Stack with 3 Ansible Roles and Molecule
Exercise
Lab โ Provision Infra via Terraform and Configure via Ansible Role
Reading
Mastery & Capstone
Projects and final review
Project Brief โ Three-Tier App Fully in IaC with CI Gate
Reading
Terraform Modules โ VPC, ALB, EC2 ASG, RDS Multi-AZ and S3
Exercise
Ansible Roles โ App Deploy, OS Hardening and CloudWatch Agent
Exercise
GitHub Actions Pipeline โ Lint and Plan on PR, Apply on Merge
Reading
Capstone โ Submit IaC Repo with Passing CI Pipeline and Live URL
Project
100% Free ยท All lessons unlocked
Topic Overview
What you'll learn
- Core concepts and fundamentals of Infrastructure as Code โ Terraform & Ansible
- Industry best practices and design patterns
- Hands-on exercises with real-world scenarios
- Performance optimization and advanced techniques
- Building production-ready applications