DevOps / Production Engineering

How does code become production, and stay operable while it keeps changing?

Not a tour of CI tools, YAML or kubectl. The engineering question underneath: how do we reliably turn source into a running system, operate it safely, change it continuously, and recover when production behaves differently from our assumptions?

Your path through DevOps / Production Engineering

0 of 75 Foundation lessons done
0 of 227 lessons done overall
Start: What Production Engineering Is →

Then follow the stages in order

Each stage builds on the ones before it. Labs and simulators sit right after the lessons they exercise. Open a stage to see its lessons. Full roadmap with goals →

  1. Source to artifact0 of 32 lessons done
    1. What Production Engineering IsFoundation≈ 5 min
    2. The Production LoopFoundation≈ 5 min
    3. Source Control as Production InfrastructureFoundation≈ 10 min
    4. Trunk-Based DevelopmentFoundation≈ 10 min
    5. Protected BranchesFoundation≈ 10 min
    6. Required ChecksFoundation≈ 10 min
    7. Continuous IntegrationFoundation≈ 10 min
    8. CI Is a Feedback SystemFoundation≈ 10 min
    9. Designing the PipelineFoundation≈ 10 min
    10. Flaky TestsFoundation≈ 10 min
    11. What a Build System Actually IsFoundation≈ 10 min
    12. Reproducible BuildsFoundation≈ 10 min
    13. Dependency PinningFoundation≈ 10 min
    14. What an Artifact IsFoundation≈ 10 min
    15. Build Once, Deploy ManyFoundation≈ 10 min
    16. Tags Versus DigestsFoundation≈ 10 min
    17. Semantic Versioning, and Where It Stops ApplyingFoundation≈ 10 min
    18. Artifact RegistriesFoundation≈ 10 min
    19. What DevOps Actually MeansFoundation≈ 5 min
    20. Why Local Success Predicts So LittleFoundation≈ 5 min
    21. Shared OwnershipFoundation≈ 5 min
    22. From Developer to UsersFoundation≈ 5 min
    23. What Can Fail Between Commit and UserFoundation≈ 5 min
    24. Git WorkflowsFoundation≈ 10 min
    25. Long-Lived BranchesFoundation≈ 10 min
    26. Parallelising CIFoundation≈ 10 min
    27. The CI Dependency GraphFoundation≈ 10 min
    28. Caching in CIFoundation≈ 10 min
    29. Triaging a CI FailureFoundation≈ 10 min
    30. Dependency ManagementFoundation≈ 10 min
    31. Build EnvironmentsFoundation≈ 10 min
    32. Build PerformanceFoundation≈ 10 min
  2. A runnable unit and the things that vary around it0 of 24 lessons done
    1. The Container LifecycleFoundation≈ 10 min
    2. Image Versus ContainerFoundation≈ 10 min
    3. Layers and the Build CacheFoundation≈ 10 min
    4. Multi-Stage BuildsFoundation≈ 10 min
    5. What Image Size Actually CostsFoundation≈ 10 min
    6. PID 1 and SignalsFoundation≈ 10 min
    7. Graceful ShutdownFoundation≈ 15 min
    8. Artifact Plus ConfigurationFoundation≈ 10 min
    9. Build-Time and Runtime ConfigurationFoundation≈ 10 min
    10. Validate at Startup, Fail ClearlyFoundation≈ 10 min
    11. A Config Change Is a Production ChangeFoundation≈ 10 min
    12. What Counts as a Secret, and Where It Must Not BeFoundation≈ 10 min
    13. Secret Managers and What They Actually Give YouFoundation≈ 10 min
    14. Workload IdentityFoundation≈ 10 min
    15. Secrets in CIFoundation≈ 10 min
    16. What an Environment Is ForFoundation≈ 10 min
    17. Parity That Is Worth Paying ForFoundation≈ 10 min
    18. Environment DriftFoundation≈ 10 min
    19. Promotion Between EnvironmentsFoundation≈ 10 min
    20. Debugging a Container in ProductionFoundation≈ 10 min
    21. Production Data in Lower EnvironmentsFoundation≈ 10 min
    22. Configuration DriftFoundation≈ 10 min
    23. Rotation That Applications SurviveFoundation≈ 10 min
    24. When Secrets FailFoundation≈ 10 min
  3. Getting change into production safely0 of 19 lessons done
    1. Deployment Is Not ReleaseFoundation≈ 10 min
    2. Continuous DeliveryFoundation≈ 10 min
    3. Continuous DeploymentFoundation≈ 10 min
    4. The Deployment PipelineFoundation≈ 10 min
    5. Deployment StrategiesFoundation≈ 10 min
    6. Recreate: Stop Everything, Then Start the New ThingFoundation≈ 10 min
    7. Rolling: Two Versions, One DatabaseFoundation≈ 10 min
    8. Blue/Green: Paying for the Fastest Rollback There IsFoundation≈ 10 min
    9. Canary: One Percent, Then Five, Then WatchFoundation≈ 10 min
    10. Feature Flags: Deploy Is Not ReleaseFoundation≈ 10 min
    11. Progressive Delivery: Exposure as a DialFoundation≈ 10 min
    12. Version Coexistence: N and N+1, in Both DirectionsFoundation≈ 10 min
    13. Canary Analysis: Compared Against What?Foundation≈ 10 min
    14. A Successful Deploy Is Not Evidence of a Healthy SystemFoundation≈ 10 min
    15. Rollback: Only Useful If It Is Actually SafeFoundation≈ 10 min
    16. Roll Forward: When Going Back Is the Harder OptionFoundation≈ 10 min
    17. Change Size: Why Small Changes Are Safer, and When They Are NotFoundation≈ 10 min
    18. Blast Radius: If This Is Wrong, How Much Does It Affect?Foundation≈ 10 min
    19. Shadow Traffic: Real Requests, Discarded AnswersFoundation≈ 10 min
  4. Infrastructure you can reproduce0 of 13 lessons done
    1. Infrastructure as CodeIntermediate≈ 5 min
    2. Declarative vs Imperative InfrastructureIntermediate≈ 10 min
    3. The Plan: Desired vs CurrentIntermediate≈ 10 min
    4. StateIntermediate≈ 10 min
    5. DriftIntermediate≈ 5 min
    6. Destructive Changes: What a Rename Really DoesIntermediate≈ 10 min
    7. Immutable InfrastructureIntermediate≈ 10 min
    8. Pets and Cattle, Read CarefullyIntermediate≈ 10 min
    9. Preview EnvironmentsIntermediate≈ 10 min
    10. Ephemeral EnvironmentsIntermediate≈ 10 min
    11. Manual Production ChangesIntermediate≈ 10 min
    12. Production AccessIntermediate≈ 10 min
    13. Least Privilege in ProductionIntermediate≈ 10 min
  5. Orchestration, discovery and traffic0 of 28 lessons done
    1. Do You Need Kubernetes?Intermediate≈ 10 min
    2. The Problems Kubernetes AnswersIntermediate≈ 10 min
    3. Cluster, Control Plane, Nodes, PodsIntermediate≈ 10 min
    4. Pods: The Unit That Gets ScheduledIntermediate≈ 10 min
    5. Deployments: Declaring What Should Be RunningIntermediate≈ 10 min
    6. ReplicaSets: The Layer You Should Not ManageIntermediate≈ 5 min
    7. Services: A Stable Address Over Moving PodsIntermediate≈ 10 min
    8. Getting Traffic Into the ClusterIntermediate≈ 10 min
    9. Reconciliation: The Loop Under EverythingIntermediate≈ 10 min
    10. Apply Is Not RunningIntermediate≈ 10 min
    11. The Scheduler, and Why a Pod Is PendingIntermediate≈ 10 min
    12. Requests and LimitsIntermediate≈ 10 min
    13. Probes: Readiness, Liveness and StartupIntermediate≈ 10 min
    14. ConfigMaps and SecretsIntermediate≈ 10 min
    15. Service Discovery in OperationIntermediate≈ 10 min
    16. DNS in ProductionIntermediate≈ 10 min
    17. Operating a Load BalancerIntermediate≈ 10 min
    18. Draining: Stopping Without DroppingIntermediate≈ 10 min
    19. Certificates as an Operational ObjectIntermediate≈ 10 min
    20. Renewal: Automating the Thing That ExpiresIntermediate≈ 10 min
    21. How Resource Settings Go WrongIntermediate≈ 10 min
    22. OOMKilled: Over the Memory LimitIntermediate≈ 10 min
    23. CPU Throttling: The Latency With No ErrorIntermediate≈ 10 min
    24. Reading a Broken WorkloadIntermediate≈ 10 min
    25. Volumes: Storage With a LifecycleIntermediate≈ 10 min
    26. StatefulSets: Identity, Storage and OrderIntermediate≈ 10 min
    27. Kubernetes Anti-PatternsIntermediate≈ 10 min
    28. Operating the EdgeIntermediate≈ 10 min
  6. Operating it, and responding when it breaks0 of 22 lessons done
    1. Using Observability, Not Building ItIntermediate≈ 10 min
    2. An Alert Should Demand ActionIntermediate≈ 10 min
    3. Alert on Symptoms, Not on CausesIntermediate≈ 10 min
    4. Alert FatigueIntermediate≈ 10 min
    5. Dashboards an Operator Can Act OnIntermediate≈ 10 min
    6. Deploys on the Same Timeline as the SymptomIntermediate≈ 10 min
    7. On-Call Is Production OwnershipIntermediate≈ 10 min
    8. Rotations People Can SustainIntermediate≈ 10 min
    9. What Happens Between the Page and the PostmortemIntermediate≈ 10 min
    10. Severity: What It Should ReflectIntermediate≈ 10 min
    11. Stop the Harm Before You Understand ItIntermediate≈ 10 min
    12. Roles During an IncidentIntermediate≈ 10 min
    13. Reconstructing What Actually HappenedIntermediate≈ 10 min
    14. Telling People What Is HappeningIntermediate≈ 10 min
    15. PostmortemsIntermediate≈ 10 min
    16. Root Cause vs Contributing FactorsIntermediate≈ 10 min
    17. Action Items That Change the SystemIntermediate≈ 10 min
    18. Production DebuggingIntermediate≈ 10 min
    19. Deployment-Centric DebuggingIntermediate≈ 10 min
    20. Change CorrelationIntermediate≈ 10 min
    21. Five Whys, and Its LimitsIntermediate≈ 10 min
    22. The Debugging TimelineIntermediate≈ 10 min
  7. Capacity, cost and the stateful parts0 of 31 lessons done
    1. Capacity ManagementAdvanced≈ 10 min
    2. Building a Capacity ModelAdvanced≈ 10 min
    3. HeadroomAdvanced≈ 10 min
    4. Load SheddingAdvanced≈ 10 min
    5. OverprovisioningAdvanced≈ 10 min
    6. Idle CapacityAdvanced≈ 10 min
    7. AutoscalingAdvanced≈ 10 min
    8. Choosing the Scaling SignalAdvanced≈ 10 min
    9. How Autoscaling FailsAdvanced≈ 10 min
    10. Horizontal Pod AutoscalingAdvanced≈ 10 min
    11. Queue-Based AutoscalingAdvanced≈ 10 min
    12. Scale to ZeroAdvanced≈ 10 min
    13. Cost AwarenessAdvanced≈ 10 min
    14. Cost DriversAdvanced≈ 10 min
    15. Cost Per RequestAdvanced≈ 10 min
    16. FinOpsAdvanced≈ 10 min
    17. Operating a Production DatabaseAdvanced≈ 10 min
    18. The Connection BudgetAdvanced≈ 10 min
    19. Why Migrations Are the Dangerous ChangeAdvanced≈ 15 min
    20. Expand, Migrate, ContractAdvanced≈ 10 min
    21. Zero-Downtime MigrationsAdvanced≈ 10 min
    22. A Migration and a Deploy Are One EventAdvanced≈ 10 min
    23. BackfillsAdvanced≈ 10 min
    24. Destructive MigrationsAdvanced≈ 15 min
    25. Why Stateful Workloads Are HarderAdvanced≈ 10 min
    26. Operating Queues and Scheduled WorkAdvanced≈ 10 min
    27. Operating a CacheAdvanced≈ 10 min
    28. Dead Letter Queues Are an OperationAdvanced≈ 10 min
    29. Production Time Is UTCAdvanced≈ 10 min
    30. Timezone and DST FailuresAdvanced≈ 10 min
    31. Clock SynchronisationAdvanced≈ 10 min
  8. Release engineering, supply chain and platform0 of 27 lessons done
    1. Release Engineering as a DisciplineAdvanced≈ 10 min
    2. The Release ManifestAdvanced≈ 10 min
    3. Change ManagementAdvanced≈ 10 min
    4. The Audit TrailAdvanced≈ 10 min
    5. PromotionAdvanced≈ 10 min
    6. Artifact RetentionAdvanced≈ 10 min
    7. The Delivery Chain as Attack SurfaceAdvanced≈ 10 min
    8. Build ProvenanceAdvanced≈ 10 min
    9. The Builder Is Inside the Trust BoundaryAdvanced≈ 10 min
    10. Signing and Verifying ArtifactsAdvanced≈ 10 min
    11. Software Bill of MaterialsAdvanced≈ 10 min
    12. Scanning, and Why a Finding Is Not a RiskAdvanced≈ 10 min
    13. Securing the Pipeline ItselfAdvanced≈ 10 min
    14. CI SecurityAdvanced≈ 10 min
    15. Platform EngineeringAdvanced≈ 10 min
    16. The Internal Developer PlatformAdvanced≈ 10 min
    17. Golden PathsAdvanced≈ 10 min
    18. Service TemplatesAdvanced≈ 10 min
    19. Self-Service InfrastructureAdvanced≈ 10 min
    20. Guardrails, Not GatesAdvanced≈ 10 min
    21. Policy as CodeAdvanced≈ 10 min
    22. Developer Experience as an Operational MetricAdvanced≈ 10 min
    23. How to Automate SomethingAdvanced≈ 10 min
    24. The Automation TrapAdvanced≈ 10 min
    25. ToilAdvanced≈ 10 min
    26. Cron Jobs in ProductionAdvanced≈ 10 min
    27. Job Scheduler ReliabilityAdvanced≈ 10 min
  9. Multi-region, recovery and production engineering0 of 25 lessons done
    1. Backup OperationsAdvanced≈ 10 min
    2. Restore DrillsAdvanced≈ 10 min
    3. Disaster Recovery as an OperationAdvanced≈ 5 min
    4. RTO and RPOAdvanced≈ 10 min
    5. Region FailoverAdvanced≈ 10 min
    6. Operating in More Than One RegionAdvanced≈ 5 min
    7. Capacity During FailoverAdvanced≈ 10 min
    8. Partial and Logical Data RecoveryAdvanced≈ 10 min
    9. Production Readiness ReviewAdvanced≈ 10 min
    10. The Readiness ScorecardAdvanced≈ 10 min
    11. The Ownership RecordAdvanced≈ 10 min
    12. RunbooksAdvanced≈ 10 min
    13. Runbook Anti-PatternsAdvanced≈ 10 min
    14. Break-Glass AccessAdvanced≈ 10 min
    15. Access ReviewAdvanced≈ 10 min
    16. How Networks Fail in ProductionAdvanced≈ 10 min
    17. Reducing Blast RadiusAdvanced≈ 10 min
    18. Production Anti-PatternsAdvanced≈ 10 min
    19. CI/CD Anti-PatternsAdvanced≈ 10 min
    20. Learning Across IncidentsAdvanced≈ 10 min
    21. Deploying an AgentAdvanced≈ 10 min
    22. Prompts and Models Are DeployablesAdvanced≈ 10 min
    23. Canarying a Model or Prompt ChangeAdvanced≈ 10 min
    24. The Agent Kill SwitchAdvanced≈ 10 min
    25. Agent Cost in ProductionAdvanced≈ 10 min
The production loop
Code→Build→Test→Artifact→Release→Deploy→Run→Observe→Operate→Incident→Recover→Learn→Improve
lessons
227
modules
33
challenges
22
interview questions
26

Where this sits

Cloud & Infrastructure owns what primitives exist. This domain owns building, releasing, deploying, operating and changing production on top of them.

Cloud & Infrastructure

theirs What infrastructure exists and how it is provisioned

ours How we build, release and operate on it

Backend Engineering

theirs How the service is implemented

ours How it becomes production and stays operable

Observability & Performance

theirs How to understand a running system

ours What an operator does with that under time pressure

Security Engineering

theirs How software is attacked

ours Supply chain, secrets and production access as delivery concerns

Start here

Thirty-three modules

Browse all lessons
Production Fundamentals7

What makes production different from every environment you can reason about locally — real traffic, real data, real failure, real cost, and continuous change — and what DevOps actually means once it stops being a job title.

Delivery Lifecycle6

Plan, code, review, build, test, package, release, deploy, verify, operate, learn — each stage with its inputs, outputs, evidence and rollback story.

Source Control as Production6

A commit is not history; it is a candidate for production state. Branching models, protected branches and required checks as delivery infrastructure rather than team preference.

Continuous Integration9

CI as a feedback system, not a task runner: what to check, in what order, how to parallelise it, what to cache, and why a slow pipeline changes engineering behaviour.

Build Systems7

Turning source into an artifact you can trust: reproducibility, pinned inputs, environment isolation, and being able to prove where a binary came from.

Artifacts & Registries7

Build once, promote many. Immutable outputs, digests versus tags, registries, retention, and why rebuilding per environment quietly destroys your evidence.

Containers in Production8

The lifecycle from source to running process, layers and caching, what image size actually costs, and the process and signal model that decides whether deploys drop requests.

Environments7

Staging is not production. Drift, parity, preview and ephemeral environments, and the limits of pre-production evidence — including why more environments is not more safety.

Configuration5

Artifact plus configuration equals a running service. What belongs in each, validating at startup rather than discovering at 3am, and treating config as a deployable with its own blast radius.

Secrets6

Credentials out of source and out of images: workload identity, secret managers, and rotation that applications actually survive.

Infrastructure as Code8

Describing infrastructure so it can be reviewed, reproduced and changed safely — plans, state, drift, and the destructive changes a rename can hide.

Deployment Strategies8

Recreate, rolling, blue/green, canary, shadow and flags — each with how it works, what it risks, what it costs, and how you get back.

Rollout Safety8

Blast radius as the organising idea: version coexistence, canary analysis against a baseline, rollback that is actually safe, and when rolling forward is the only option.

Database Migrations6

The change most likely to cause an outage and least likely to be rehearsed: expand/migrate/contract, backfills, locks, and why a migration and a deploy are one coupled event.

Kubernetes8

What orchestration problems exist, which abstractions answer them, and how to decide whether you need any of it — taught as one implementation, not as what production means.

Kubernetes Runtime9

Reconciliation as the core mental model, plus the runtime behaviours that produce most real incidents: scheduling, requests and limits, OOM kills, throttling and probes.

Kubernetes State5

Config, volumes and stateful workloads — why a database is not a stateless API with a disk attached, and where the abstraction stops helping.

Production Networking8

The operational half of the network: service discovery, DNS behaviour under change, certificate lifecycles, load balancer health and draining connections without dropping work.

Release Engineering8

Deployment is not release. Versioning, promotion, release manifests, change management and the audit trail that lets you answer "what changed" during an incident.

Production Access5

Who can touch production, with what privilege, for how long — and what to do about the emergency where someone genuinely must.

Alerting & Operational Signals6

Using observability rather than building it: alerts that demand action, symptom-based paging, dashboards an operator can act on, and the cost of noise.

Incident Response8

Detect, triage, mitigate, communicate, recover. Stopping user impact before understanding cause, and the roles that keep a severe incident coordinated.

Postmortems5

Blameless but accountable learning: contributing factors over single root causes, and action items specific enough to change the system rather than the people.

Readiness & Ownership5

What a service owes before it carries traffic — an owner, a runbook that encodes understanding, dashboards, alerts, a rollback plan and a tested recovery path.

Capacity & Cost11

What saturates first, how much headroom failure and deploys require, and cost as a first-class trade-off against reliability and performance.

Autoscaling6

Scaling on the signal that reflects the actual constraint, and the lag, cold starts, oscillation and downstream bottlenecks that make autoscaling a capacity tool rather than a capacity answer.

Backup & Disaster Recovery7

Backups you have restored, recovery objectives connected to real runbooks, region failover as an operational procedure, and the capacity question failover always raises.

Supply Chain Security6

Everything between a dependency and a running artifact is attack surface: pinning, scanning with context, signing, provenance and SBOMs.

Platform Engineering8

Internal products that make safe delivery the easy path: golden paths, self-service with guardrails rather than gates, policy as code, and developer experience as an operational metric.

Automation & Toil5

Reducing manual, repetitive, automatable work — and the trap of automating something you do not understand, which scales mistakes faster than it scales work.

Operating Dependencies8

The day-to-day of running databases, queues, caches and scheduled jobs: connection budgets, dead letters, hot keys, and why production time is always UTC.

Production Debugging6

Working from symptom to cause under time pressure, starting from the highest-signal question there is: what changed?

Operating Agent Systems5

Prompts, models and tool definitions are deployable production inputs. Versioning, evaluation before rollout, canaries judged on quality and cost, and a kill switch that does not need a redeploy.

Reference

CI hides the build. Containers hide the process. Kubernetes hides scheduling. IaC hides cloud APIs. Deployment platforms hide rollout mechanics. Managed services hide infrastructure.

Use all of them. But when one fails, you are debugging the thing it hid — so know what it was doing on your behalf.