← All Learning Paths

DevOps Engineer

A DevOps path covering CI/CD, multi-stage images, Docker Compose, orchestration, zero-downtime delivery, observability, configuration, and process cleanup.

roleintermediate14 nodes15.17h total

A practical learning path for DevOps engineers covering Linux, scripting, CI/CD, containers, infrastructure as code, monitoring, and cloud platforms for reliable delivery.

  1. Carry out "Set Up CI/CD with GitHub Actions" on a devops project, pausing at the "Directory .github/workflows/ exists (create with mkdir -p if needed)" step to verify "Create workflow directory: Create .github/workflows/ directory in your repository root".

    Completion criteria: Produce a run log for "Set Up CI/CD with GitHub Actions" that ends at "Directory .github/workflows/ exists (create with mkdir -p if needed)" and mark every step where "Create workflow directory: Create .github/workflows/ directory in your repository root" was checked.

    Next step: Create a Multi-Stage Dockerfile for Smaller Images

    ⏱ 0.5h

  2. Execute "Create a Multi-Stage Dockerfile for Smaller Images" end to end, then repeat the last step with one parameter changed and compare "Build a Node.js application with a multi-stage Dockerfile that produces a minimal".

    Prerequisites: Set Up CI/CD with GitHub Actions

    Completion criteria: Run the steps through "Build a Node.js application with a multi-stage Dockerfile that produces a minimal", paste the command output, and mark the line that matches "Docker builds the image, installs all dependencies (including dev), and runs the TypeScript"; then rerun with one parameter changed.

    Next step: Set Up Local Development with Docker Compose

    ⏱ 0.5h

  3. Follow "Set Up Local Development with Docker Compose" and record "Create a docker-compose.yml that starts a Node.js app, PostgreSQL, and Redis with persistent" at the step where it should appear, using "File defines three services on a shared network with volume mounts for hot-reload" as the check.

    Prerequisites: Create a Multi-Stage Dockerfile for Smaller Images

    Completion criteria: Record the state "Create a docker-compose.yml that starts a Node.js app, PostgreSQL, and Redis with persistent" at the verification step, then paste the output of "File defines three services on a shared network with volume mounts for hot-reload" that proves it.

    Next step: Container Orchestration for Small Teams

    ⏱ 0.5h

  4. Compare "Docker Compose: One File, Many Services" with "Health Checks: The Orchestrator's Eyes" in "Container Orchestration for Small Teams" and state which trade-off you would accept in devops code.

    Prerequisites: Set Up Local Development with Docker Compose

    Completion criteria: Attach a decision log for "Container Orchestration for Small Teams": the "Docker Compose: One File, Many Services" section, one rejected alternative, and the diff of the file you changed.

    Next step: Zero-Downtime Deployment Strategies

    ⏱ 1h

  5. Reconstruct the reasoning behind "Zero-Downtime Deployment Strategies" by tracing "Rolling Updates" to the failure it prevents in devops systems.

    Prerequisites: Container Orchestration for Small Teams

    Completion criteria: Record a short walkthrough of "Zero-Downtime Deployment Strategies" with timestamps at "Rolling Updates" and "Blue-Green Deployment", plus the commit that applies it.

    Next step: Observability: Logging, Metrics, and Tracing

    ⏱ 1h

  6. Read "Observability: Logging, Metrics, and Tracing" for the "Alerting on Symptoms, Not Causes" argument, then name the decision in devops work it would change.

    Prerequisites: Zero-Downtime Deployment Strategies

    Completion criteria: Write a five-line decision note citing "Alerting on Symptoms, Not Causes" from "Observability: Logging, Metrics, and Tracing", name the option you rejected, and attach the before/after diff of one file you changed.

    Next step: Configuration Management Across Environments

    ⏱ 1h

  7. Compare "Precedence and Layered Sources" with "Secrets: Handling and Hygiene" in "Configuration Management Across Environments" and state which trade-off you would accept in devops code.

    Prerequisites: Observability: Logging, Metrics, and Tracing

    Completion criteria: Attach a one-page summary that quotes "Precedence and Layered Sources", lists two trade-offs, and links the commit where you applied it.

    Next step: Graceful Shutdown Draining In Flight Work

    ⏱ 1h

  8. Execute "Graceful Shutdown Draining In Flight Work", change one constant, and describe how the output diverges from "the drain entry point".

    Prerequisites: Configuration Management Across Environments

    Completion criteria: Attach the terminal transcript for "Graceful Shutdown Draining In Flight Work": command, exit code, and the printed result you used to confirm "the drain entry point".

    Next step: Atomic File Write With Temp File And Rename

    ⏱ 0.75h

  9. Run the devops snippet "Atomic File Write With Temp File And Rename", capture stdout, and show which line demonstrates the documented behavior: "the AtomicWriteError entry point".

    Prerequisites: Graceful Shutdown Draining In Flight Work

    Completion criteria: Change one constant in "Atomic File Write With Temp File And Rename", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: Traps for Signal Handling

    ⏱ 0.75h

  10. Adapt "Traps for Signal Handling" to a second input and compare the new output with the behavior described in "Sets up trap handlers for signals like EXIT, INT, TERM, and ERR to ensure cleanup, graceful".

    Prerequisites: Atomic File Write With Temp File And Rename

    Completion criteria: Save two runs of "Traps for Signal Handling" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: Docker Compose Microservices

    ⏱ 0.75h

  11. Use "Docker Compose Microservices" for a devops starter, adapting "Docker, Docker Compose, Node.js, Redis" without breaking the entry point.

    Prerequisites: Traps for Signal Handling

    Completion criteria: Run "docker compose up --build", replace one module, and show the entry point still returns the documented output; include the diff.

    Next step: pnpm Monorepo Workspaces

    ⏱ 1.5h

  12. Scaffold "pnpm Monorepo Workspaces" with "pnpm, Turborepo, TypeScript, Monorepo", replace one generated module, and keep A pnpm monorepo with TypeScript project references, shared packages, and Turborepo for building working.

    Prerequisites: Docker Compose Microservices

    Completion criteria: Attach the scaffold command for "pnpm Monorepo Workspaces", the diff of the module you replaced, and the output showing "A pnpm monorepo with TypeScript project references, shared packages, and Turborepo for" still works.

    Next step: Select Affected Packages for a Build

    ⏱ 1.5h

  13. Build "Select Affected Packages for a Build" for devops code and verify [api,web] against both samples.

    Prerequisites: pnpm Monorepo Workspaces

    Completion criteria: Attach the solution file for "DevOps Engineer", two passing sample runs, and one failing run whose error matches the contract.

    Next step: Capstone: DevOps Engineer

    ⏱ 0.42h

  14. Build "Build a Health Check Orchestrator" through its phases, keeping "Check registry" independently testable.

    Prerequisites: pnpm Monorepo Workspaces, Select Affected Packages for a Build

    Completion criteria: Deliver "Check registry" and paste the test output where the acceptance test passes; include the test name and command.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h