Terraform - colonising Azure!
summary
Uses Terraform to build a live multi‑cloud setup: launches two DigitalOcean droplets in Amsterdam (30–40s provisioning), uploads SSH keys, provisions Apache via remote-exec provisioners, then creates Azure VMs in Ireland (about 4 minutes each), and wires AWS Route 53 weighted health‑checked DNS to split traffic 50/50. Shows taint/plan/apply/state workflow, uses a YubiKey via the SSH agent for private key protection, demonstrates failing DigitalOcean and automatic failover to Azure, and the end‑to‑end build succeeds.
AI-written summary · about
chapters (8)
- 0:00Start
- 2:33Provider (1) • A provider is used to connect to a cloud provider
- 8:38Dependencies (3) • A resource can depend on another resource • Can determine the order of creation
- 16:24provisioner (5) • A provisioner lets you provision against the resource right after creation
- 18:34terraform taint • When resources have to be recreated from scratch, they have to be tainted
- 21:50Security first! (6) • Use smart card to protect your private key
- 31:13Multi provider, multi datacenter, multi technology (9) • DNS using weighted record set
- 45:53Bonus: Dependency graph • Dependency graph can be generated dynamically
related talks
01h 01mTaming Infrastructure Workflow at Scale
50mTerraform 101: Building Repeatable, Secure Azure Infrastructure
01h 03mTerraforming the world, one cloud at a time.
01h 03mCloud Devops
25mEnterprise Deployment to Azure and AWS in Azure DevOps
37mTerraform & CI/CD
31mUsing Ansible and Terraform Together
33mPushing the boundaries of security with Azure Arc
