iac learning guide

k13

Infrastructure as Code
from zero to a working homelab pipeline

Interactive, step-by-step guides for sysadmins learning Terraform, Ansible, and HashiCorp Vault. Check off steps as you go — progress is saved in your browser.

By a sysadmin teaching himself this in a homelab; not a production reference. Who built this

Guides

Terraform
Provision VMs
Learn Terraform by provisioning Hyper-V VMs from code. Covers providers, modules, state, deploy/destroy lifecycle, and a PR-based review workflow.
11 modules · 49 steps
Ansible
Configure Servers
Harden servers with Ansible roles. Covers baselines, SSH, firewall layering, secrets with Vault, monitoring agents, and Galaxy role integration.
11 modules · 65 steps
HashiCorp Vault
Manage Secrets
Replace static credentials with centralized, auditable secrets. Covers KV secrets, SSH certificates, internal PKI, and Ansible + Terraform integration.
11 modules · 60 steps

Reference

Quick Reference
Workflows, Commands, Patterns
Tabbed reference for common workflows, server baselines, CLI commands, file structure, design patterns, and glossary terms.
6 tabs
Script Library
All Code Files
Every Terraform config, Ansible role, playbook, inventory, and PowerShell script referenced in the guides. Copy-ready with syntax highlighting.
69 files · 5 tabs
Role Builder
Generate Ansible Roles
Interactive form that generates complete Ansible role YAML. Configure packages, users, firewall, services, templates, and sysctl — get complete role files to review.
Interactive tool