← All masterclasses

Full Stack DevOps Automation

Terraform + GitHub Actions for fully automated infrastructure and deployment.

3–4 days DevOps engineers, backend developers, platform teams

Overview

Manual infrastructure management doesn’t scale. This masterclass takes your team from clicking in cloud consoles to fully automated, version-controlled infrastructure and deployment pipelines using Terraform and GitHub Actions — the two tools that cover 90% of real-world DevOps automation needs.

What you’ll build

  • A complete Terraform codebase for multi-environment infrastructure
  • CI/CD pipelines that build, test, and deploy on every push
  • Automated preview environments for pull requests
  • Infrastructure drift detection and auto-remediation

Curriculum

Day 1 — Terraform Foundations

  • Infrastructure as Code principles and why they matter
  • Terraform core: providers, resources, data sources, state
  • HCL deep dive: variables, locals, outputs, expressions
  • State management: remote backends, locking, workspaces
  • Hands-on: provision a full application stack (compute, database, networking)

Day 2 — Terraform at Scale

  • Module design: reusable, composable, versioned modules
  • Multi-environment patterns: workspaces vs directory structure vs Terragrunt
  • Secret management: Vault, AWS Secrets Manager, environment variables
  • Policy as code: Sentinel, OPA, Checkov for security guardrails
  • Import existing infrastructure into Terraform
  • Hands-on: refactor a monolithic Terraform config into modules

Day 3 — GitHub Actions CI/CD

  • Workflow syntax: triggers, jobs, steps, matrices
  • Building and testing application code in CI
  • Container image builds and registry pushes
  • Deployment strategies: rolling, blue-green, canary
  • Environment protection rules and manual approvals
  • Hands-on: build a full CI/CD pipeline for a web application

Day 4 — Putting It Together

  • Terraform + GitHub Actions: plan on PR, apply on merge
  • Preview environments: spin up per-PR infrastructure automatically
  • Drift detection: scheduled Terraform plans that alert on changes
  • Cost estimation in CI with Infracost
  • Monitoring deploys: health checks, rollback triggers
  • Capstone: end-to-end automated deployment of a multi-service application

Prerequisites

  • Command-line proficiency
  • Basic understanding of cloud services (AWS, GCP, or Azure)
  • Git and GitHub familiarity

Outcomes

Your team leaves with production-grade IaC and CI/CD pipelines, plus the patterns to extend them for any new service or environment.

Interested in this masterclass?

Tell me about your team and I'll tailor the programme to your needs.

Book this masterclass