Free tutorial · 25 lessons

DevOps Tutorial

DevOps from the ground up: Linux and the shell, robust bash scripts, Git, CI/CD pipelines, deployment strategies, Docker, Compose and Kubernetes, configuration and secrets, monitoring, SLOs and incident response. Shell and Git examples were run in real bash; concept examples are Python you can run in the browser.

Start learning →

DevOps Basics

  1. DevOps Introduction — What DevOps is, the problems it solves, and the skills and tools this tutorial covers.
  2. DevOps Culture and DORA Metrics — The principles behind DevOps and the four DORA metrics teams use to measure delivery performance.
  3. DevOps History & Milestones — How DevOps grew out of agile and the "wall" between developers and operations, the tools and books that shaped it, from Git and Jenkins to Docker, Kubernetes and GitHub Actions, and what modern DevOps looks like today.

Linux and the Shell

  1. Linux Files and Directories — Navigate and manage the Linux file system from the shell: paths, directories, files and finding things.
  2. Users and Permissions — Read and change Linux file permissions, understand users and groups, and why containers shouldn't run as root.
  3. Processes, Services and Signals — Inspect processes, manage services with systemd, and handle signals like SIGTERM for graceful shutdowns.
  4. Shell Scripting Basics — Variables, conditions, loops, functions and exit codes: the bash you need for automation and CI steps.
  5. Writing Robust Scripts — Make bash scripts fail fast and clean up after themselves with set -euo pipefail, traps, quoting and ShellCheck.
  6. Text Processing: grep, sed, awk — Search and summarise logs and command output with grep, sort, uniq, cut, sed and awk.
  7. Working with JSON and YAML — Read and transform JSON with jq, and write YAML for CI pipelines and Kubernetes without the classic mistakes.

Git and CI/CD

  1. Git Basics — Track changes with Git: repositories, commits, the staging area, history and undoing mistakes.
  2. Branches, Pull Requests and Merging — Work in branches, review with pull requests, merge safely, and choose between trunk-based development and long-lived branches.
  3. Continuous Integration Pipelines — Build a CI pipeline with GitHub Actions: triggers, jobs, steps, caching, secrets and the checks that protect main.
  4. Versioning and Artifacts — Version releases with semantic versioning and Git tags, and store build outputs in artifact and container registries.
  5. Deployment Strategies — Rolling, blue-green and canary deployments, feature flags, and rolling back safely.

Containers and Kubernetes

  1. Containers and Docker — What containers are, how images and containers differ, and the Docker commands you'll use every day.
  2. Writing Good Dockerfiles — Small, fast, secure images: layer caching, multi-stage builds, non-root users, .dockerignore and pinned base images.
  3. Docker Compose — Run an app with its database and cache locally with one Docker Compose file: services, networks, volumes and health checks.
  4. Kubernetes Basics — Pods, Deployments, Services and the declarative reconciliation loop that makes Kubernetes self-healing.
  5. Rolling Updates, Probes and Resources — How Kubernetes rolls out new versions, why readiness probes and graceful shutdown matter, and how to set requests and limits.
  6. Configuration and Secrets — Keep configuration out of images and secrets out of Git: environment variables, ConfigMaps, secret managers and rotation.

Operating in Production

  1. Monitoring, Logging and Tracing — The three pillars of observability, the golden signals to watch, and why percentiles beat averages.
  2. SLOs, Error Budgets and Alerts — Define service level objectives, turn them into error budgets, and alert on burn rate instead of every blip.
  3. Incident Response and Postmortems — Handle production incidents calmly: roles, mitigation before root cause, communication, and blameless postmortems.
  4. DevOps Next Steps — Where to go next: the DevOps in Production course, Terraform, cloud networking, quizzes and interview questions.

Was this page helpful?