Domain Masterclass

Infrastructure as Code

Treat your infrastructure like software. Version it, test it, and deploy it with Terraform and Ansible.

Start Learning
175+
Articles
9
Sub-topics
65%
Avg Completion
What You'll Learn
  • Terraform 30 guides
  • Ansible 25 guides
  • Puppet 10 guides
  • Chef 8 guides
  • Terraform Providers 12 guides
  • Terraform Modules 10 guides
  • State Management 10 guides
  • Ansible Playbooks 15 guides
  • + 1 more topics below

Terraform

Providers, resources, modules, state and workspaces

30 guides

Ansible

Inventory, playbooks, roles, handlers, templates and Vault

25 guides

Puppet

Manifests, modules, Hiera and Puppet Enterprise

10 guides

Chef

Cookbooks, recipes, knife commands and Test Kitchen

8 guides

Terraform Providers

AWS, Azure, GCP providers — configuration and authentication

12 guides

Terraform Modules

Reusable modules, registry modules and module versioning

10 guides

State Management

Remote state, state locking, S3 backend and workspaces

10 guides

Ansible Playbooks

Writing idempotent playbooks for server configuration

15 guides

Ansible Roles

Role structure, Galaxy, reusable role patterns

10 guides

Core Concepts

Terraform Workflow

init → plan → apply → destroy — the Terraform lifecycle.

State Files

Why state matters, remote backends, and state locking with DynamoDB.

Ansible Playbooks

Writing idempotent playbooks for configuration management.

Modules & Roles

Reusable Terraform modules and Ansible roles for DRY infrastructure.

Learning Roadmap

1
Phase 1: Beginner

Write your first Terraform plan to provision an EC2 instance, and a basic Ansible ping playbook.

Terraform
Ansible
Puppet
Chef
2
Phase 2: Intermediate

Terraform modules, remote state, Ansible roles, Vault for secrets, and CI/CD integration.

Terraform Providers
Terraform Modules
State Management
Ansible Playbooks
3
Phase 3: Advanced

Custom Terraform providers, Ansible AWX, policy-as-code with OPA/Sentinel, and drift detection.

Ansible Roles

Related Articles & Guides

Career Path

Become a Infrastructure as Code Expert

This domain is a core requirement for senior engineering roles.

View Full Path

Topics in This Domain

Terraform Ansible Puppet Chef State Modules Terraform Ansible Puppet Chef Terraform Providers Terraform Modules State Management Ansible Playbooks
Sandbox On-Demand

Practice Labs

Jump into interactive sandboxes and solve real-world Infrastructure as Code challenges.

devknow@host:~$ sandbox load iac
[LOAD] Calibrating live environment...
Ready (http://localhost:3000)
Go to Practice Labs