Python for DevOps Engineers¶
Career path through the Python for DevOps course — infrastructure automation, not a general CS degree.
Prerequisites¶
| Required | Recommended |
|---|---|
| Linux | Docker for Module 17+ |
| Shell Scripting basics | kubectl / Terraform for platform labs |
| Python 3.12+ | Curiosity to break labs safely |
Path position¶
Linux → Shell Scripting → Python for DevOps → Networking → …
Modules (complete in order)¶
| # | Module | Start | Status |
|---|---|---|---|
| 1 | Fundamentals | Install, venv, and Tooling | Ready |
| 2 | Basics | Types and I/O | Ready |
| 3 | Control Flow | Conditionals and Loops | Ready |
| 4 | Functions | Parameters and Scope | Ready |
| 5 | Data Structures | Comprehensions and Generators | Ready |
| 6 | Modules & Packages | Modules and Dependencies | Ready |
| 7 | File Handling | pathlib, JSON, YAML, CSV | Ready |
| 8 | Error Handling | Exceptions | Ready |
| 9 | OOP | Classes and Dataclasses | Ready |
| 10 | Logging & Debugging | Logging and Debugging | Ready |
| 11 | Configuration | Configuration and Secrets | Ready |
| 12 | CLI Applications | argparse, Click, Typer | Ready |
| 13 | Linux Automation | subprocess and psutil | Ready |
| 14 | REST APIs | requests, Auth, Resilience | Ready |
| 15 | Cloud Automation | AWS, Azure, GCP | Ready |
| 16 | Git Automation | GitHub and GitLab | Ready |
| 17 | Docker Automation | Docker SDK | Ready |
| 18 | Kubernetes Automation | Kubernetes Client | Ready |
| 19 | Infrastructure | Terraform Automation | Ready |
| 20 | SSH Automation | Paramiko and Fabric | Ready |
| 21 | Concurrency | Threads, asyncio, Futures | Ready |
| 22 | Testing | pytest | Ready |
| 23 | Packaging | pyproject and Wheels | Ready |
| 24 | Production Engineering | Production Patterns | Ready |
| 25 | Security | Security for DevOps Python | Ready |
| 26 | AI for DevOps | OpenAI, MCP, LangChain | Ready |
| 27 | Troubleshooting | Troubleshooting | Ready |
Projects¶
| Level | Project |
|---|---|
| Beginner | Log Analysis Tool |
| Intermediate | Infrastructure Inventory CLI |
| Advanced | Cloud Operations Toolkit |
| Expert | Platform Engineering Framework |
| Capstone | Production DevOps Automation Platform |
Practice assets¶
- Labs: Labs → Python for DevOps
- Quiz: Python for DevOps Engineers Fundamentals
- Cheat sheet · Interview
Study rules¶
- Always use a venv (or uv) and pin dependencies
- Prefer stdlib until a library is justified
- Default to dry-run / fixtures for cloud, Docker, and Kubernetes
- Never commit tokens; never log secrets
Next action¶
Start: Install, venv, and Tooling