Skip to main content

Learn Cloud, DevOps & AIOps from scratch

Build the tool. Use the tool. Ship an artifact.

Every lesson in this curriculum follows the same arc. You start with a real production problem, build the mechanism yourself from the standard library (a container runtime, a scheduler, a state file with plan and apply, a metrics store, an incident-triage agent), then do the same job with the tool the industry actually runs (Docker, Kubernetes, Terraform, Prometheus, an MCP server) so you can map one onto the other. You leave with a reusable prompt, skill or agent definition in your own toolbox, a quiz score, and tests that prove your build works.

Every lesson is a folder of plain files in the GitHub repository: read it here at cloudcaptain.io/learn, on GitHub, or inside your coding agent with the tutor skills. The long-form guides, cheat sheets, interview questions and exam prep that CloudCaptain is known for are the Reference layer at cloudcaptain.io/docs; lessons link into it rather than repeating it.

85
lessons
13/17
phases live
124.5
hours of guided work
2464
tests you run
84
from-scratch builds

Phases

🧰 Phase 00
Setup & Lab
A laptop lab (kind, Docker, free cloud tiers) and your coding agent, ready for every later phase.
1 lesson · 1 h
  1. Build Lab Doctor
🐧 Phase 01
Linux & Systems
Processes, files, cgroups, systemd and the kernel interfaces every ops tool is built on.
8 lessons · 10.5 h
  1. Build PID 1 & Signals
  2. Build File Descriptors
  3. Build Syscalls & strace
  4. Build Permissions & Caps
  5. Build systemd Units
  6. Build cgroups v2
  7. Build Mounts & Overlay
  8. Build Performance Basics
🌐 Phase 02
Networking
Build a resolver, a TCP proxy and a TLS handshake before you configure nginx or Envoy.
8 lessons · 12 h
  1. Build IP Routing
  2. Build DNS Resolution
  3. Build TCP Timeouts
  4. Build Packet Capture
  5. Build TLS Handshake
  6. Build HTTP Server
  7. Build Load Balancing
  8. Build HTTP Caching
🌳 Phase 03
Git & Collaboration
A tiny object store and commit graph, then the real Git workflows teams run on.
2 lessons · 2.8 h
  1. Build Git Objects
  2. Build Merge Queues
📦 Phase 05
Containers
Write a container runtime in a few hundred lines, then master Docker, Podman, OCI images and Compose.
8 lessons · 10.5 h
  1. Build Process Isolation
  2. Learn Image Layers
  3. Build Registry Pull
  4. Build Image Build
  5. Build Container Networking
  6. Build Compose
  7. Build Rootless Podman
  8. Build Runtime Security
☸️ Phase 06
Orchestration
A scheduler and a reconciler from scratch, then Kubernetes, Helm, operators and the Gateway API.
8 lessons · 12.3 h
  1. Build Reconcile Loops
  2. Build Pod Scheduling
  3. Build Kubelet Lite
  4. Build Services and DNS
  5. Build RBAC Authorizer
  6. Build Helm From Scratch
  7. Build CRDs & Operators
  8. Build Gateway API
🏗️ Phase 07
Infrastructure as Code
A state file and a plan/apply engine, then Terraform, OpenTofu, Pulumi, Crossplane and Ansible.
8 lessons · 11.8 h
  1. Build Plan and Apply
  2. Build Dependency Graph
  3. Build Modules & Variables
  4. Build Remote State Locking
  5. Build Drift Detection
  6. Build Policy as Code
  7. Build Pulumi and Crossplane
  8. Build Ansible Config
🚀 Phase 08
CI/CD & GitOps
A pipeline runner and a GitOps reconciler, then GitHub Actions, GitLab CI, Argo CD, Flux and supply-chain security.
8 lessons · 12.5 h
  1. Build Pipeline Runner
  2. Build Workflow Security
  3. Build CI OIDC Federation
  4. Build SBOM Inventory
  5. Build Signing & Provenance
  6. Build GitOps Reconciler
  7. Build Progressive Delivery
  8. Build Release Versioning
☁️ Phase 09
Cloud Providers
IAM, networking and compute mental models built by hand, then AWS, Azure and GCP services and certifications.
7 lessons · 10.3 h
  1. Build IAM Policy Evaluator
  2. Build VPC Reachability
  3. Build S3 Signing
  4. Build Lambda Runtime
  5. Build Auto Scaling Groups
  6. Build FinOps and FOCUS
  7. Build Security Posture
📈 Phase 10
Observability & SRE
A metrics store, a log pipeline and a tracer, then Prometheus, Grafana, OpenTelemetry, SLOs and incident response.
6 lessons · 8.5 h
  1. Build Metrics and TSDB
  2. Build PromQL Queries
  3. Build Distributed Tracing
  4. Build SLO Burn Rates
  5. Build Incident Response
  6. Build Chaos Experiments
🔐 Phase 11
Security & DevSecOps
A policy engine and a secrets workflow, then OPA, Kyverno, Falco, Vault and cloud security posture.
6 lessons · 9 h
  1. Build Admission Policy
  2. Build Runtime Detection
  3. Build Network Policy
  4. Build Secret Scanning
  5. Build Workload Identity
  6. Build CIS Benchmark
🧠 Phase 13
AI Infrastructure
GPU scheduling, model serving with vLLM, KServe and llm-d, AI gateways and the cost of running models.
8 lessons · 12 h
  1. Build GPU Scheduling
  2. Build LLM Serving
  3. Build AI Gateway
  4. Build Inference Autoscaling
  5. Build Inference Routing
  6. Build Vector Search
  7. Build Model Artifacts
  8. Build AI FinOps
🤖 Phase 14
AIOps & Agentic Ops
MCP servers for your cluster, incident-triage agents, LLM observability, guardrails and evaluations for ops agents.
7 lessons · 11.5 h
  1. Build MCP for kubectl
  2. Build Triage Agent
  3. Build Log Analysis
  4. Build LLM Observability
  5. Build Agent Sandboxes
  6. Build Safe Write Tools
  7. Build Agent Evals

Planned phases

Numbered once, published as lessons land. Track progress in ROADMAP.md.

⌨️ 04 · Scripting & Automation🛠️ 12 · Platform Engineering🔁 15 · MLOps & LLMOps🏁 16 · Capstone Projects

Learning paths

  • DevOps Engineer 77 lessons · 112.5 h
    From a single Linux process to a GitOps-driven platform. The default path if you are not sure where to start.
  • AIOps Engineer 9 lessons · 14 h
    For engineers who already run Kubernetes and want to put agents to work on it safely: tool servers, guardrails, triage agents, evaluations.
  • AI Platform Engineer 23 lessons · 33.5 h
    For platform and infrastructure engineers who have to run models: GPU scheduling, model servers, gateways, autoscaling, routing, vector stores, model supply chain and cost.

Current tool versions

Refreshed weekly from GitHub releases (last check 2026-11-02). Lessons reference these instead of pinning numbers that go stale.

Deprecation watch

Retired, removed or relicensed tech that tutorials across the web still teach as current. Every lesson and reference page is scanned for these.

WhatStatusUse instead
ingress-nginx controllerretired 2026-03-26Gateway API with a maintained implementation (Envoy Gateway, Cilium, Istio, kgateway); migrate with ingress2gateway
Bitnami free images and chartsmoved 2025-08-28official upstream images; bitnamilegacy for frozen copies
Docker Swarmmaintenance 2025-07-01Kubernetes (k3s or a managed service); Swarm remains supported by Mirantis through at least 2030
Google Container Registry (gcr.io)shut down 2025-03-18Artifact Registry (REGION-docker.pkg.dev)
actions/upload-artifact@v3 and download-artifact@v3removed 2025-01-30actions/upload-artifact@v4 or newer
AWS CodeCommitclosed to new customers 2024-07-25GitHub, GitLab or Bitbucket through AWS CodeConnections
Terraform described as open sourcerelicensed 2023-08-10BUSL 1.1 (source-available); OpenTofu is the MPL-licensed fork
kubectl --recordremoved 2023-04-11the kubernetes.io/change-cause annotation
k8s.gcr.iofrozen 2023-04-03registry.k8s.io
PodSecurityPolicyremoved 2022-08-23Pod Security Admission (Pod Security Standards) and policy engines such as Kyverno or OPA Gatekeeper
apt-keydeprecated 2022-01-01a keyring under /etc/apt/keyrings referenced with signed-by

Certification prep

Exam guides live in the Reference layer; phases tell you when you are ready.

Learn in your terminal​

The tutor skills install into Claude Code, Cursor, Codex and any agent that reads SKILL.md files:

npx skills add nomadicmehul/CloudCaptain

Then /captain-start for a placement quiz and a personal plan, /captain-learn for one lesson per session, /captain-guide to ask where a topic lives, and /captain-check <phase> for a Socratic review. Progress is written to LEARNING.md in your project.

Run it locally​

git clone https://github.com/nomadicmehul/CloudCaptain.git
cd CloudCaptain/curriculum/phases/05-containers/01-process-isolation
python3 -m unittest discover -s code/tests -v

Every lesson folder has docs/en.md, code/ with tests, quiz.json and outputs/. The contract is in LESSON_TEMPLATE.md; the validator in scripts/build-curriculum.mjs enforces it, so contributing a lesson is a matter of filling in the template until the validator is happy.