Course / 11

DevOps

How software gets from a commit to a reliable service: the shell and Git, builds, containers and CI/CD, networking and infrastructure as code, Kubernetes, and the site-reliability practices of observability, SLOs, resilience and incident response.

Before you start: the Computer Architecture and Operating Systems course for processes, files, sockets and containers, and the Programming in Python course, or comfort with one programming language. A few notes use expectation and simple statistics from Probability Theory, for canary analysis and error budgets. The notes explain concepts with worked examples of commands and configuration; hands-on practice lives outside the site. The MLOps course builds on this one.

The plan of the course → · The course in one paragraph →

  1. Foundations
  2. Ship
  3. Infrastructure
  4. Orchestration
  5. Reliability
  1. 01

    Foundations

    What DevOps optimizes, and the two tools every pipeline is made of.

    After this section: Explain the flow from commit to production and how it is measured, automate a task in the shell, and reason about Git as a graph of objects rather than a list of commands.

    3 of 3 notes published
  2. 02

    Build and Ship

    From source code to a tested artifact running in production.

    After this section: Describe a build as a dependency graph, package a service as a container image, design a CI pipeline, and choose a deployment strategy with a rollback plan.

    4 of 4 notes published
  3. 03

    Infrastructure

    The network and the machines a service runs on, described as code.

    After this section: Trace a request through DNS, TLS, proxies and load balancers, describe infrastructure declaratively and read a plan before applying it, and map a service onto cloud building blocks.

    3 of 3 notes published
  4. 04

    Orchestration

    Running many containers on many machines by declaring the state you want.

    After this section: Explain Kubernetes as controllers reconciling desired and actual state, and deploy, configure, expose and scale a service on it.

    2 of 2 notes published
  5. 05

    Reliability

    Knowing what a running system does, and keeping it working.

    After this section: Instrument a service with logs, metrics and traces, set an SLO and alert on its error budget, design for timeouts, retries and overload, and run an incident and its postmortem.

    4 of 4 notes published