DevOps Complete Learning Roadmap
A structured, module-by-module roadmap (~27 weeks) to go from zero to a job-ready DevOps Engineer. Based on the DevOps Career Path (Batch 03) outline by Interactive Cares.
Prerequisites (Before You Start)
- Basic Computer Skills
- Operating system fundamentals
- File management
- Command line interface basics
- Programming & Problem Solving
- Logical thinking
- Basic programming concepts (any one language)
- Networking Fundamentals (Optional but helpful)
- IP addresses and routers
- Network topology
Roadmap Overview
| # | Module | Duration | Key Tools |
|---|---|---|---|
| 1 | Version Control System (VCS) | 2 weeks | Git, GitHub |
| 2 | Linux | 1.5 weeks | Ubuntu, Shell, SSH |
| 3 | Bash Scripting | 0.5 week | Bash |
| 4 | Networking | 3 weeks | iptables, netcat, AWS VPC |
| 5 | Docker | 4 weeks | Docker, Docker Compose, buildx |
| 6 | CI/CD | 6 weeks | GitHub Actions, Jenkins, Ansible, SonarQube |
| 7 | Kubernetes | 4.5 weeks | kind, kubectl, Helm |
| 8 | Public Cloud | 2 weeks | AWS (EC2, ECS, Lambda, ELB, CloudFront) |
| 9 | Infrastructure as Code | 3 weeks | Terraform, Atlantis |
| 10 | Monitoring & Logging | 1.5 weeks | Prometheus, Grafana, Loki, Nagios, Datadog |
| 11 | Python for DevOps (supplement) | 3–4 weeks | Python, requests, boto3, pytest, ruff |
| 12 | Databases & GitOps (supplement) | 2–3 weeks | PostgreSQL, pg_dump, PgBouncer, Flyway/Alembic, Redis, ArgoCD |
Module 1: Version Control System (VCS) — Weeks 1–2
Learning Goals
- Fundamentals of Git and how Git commands work internally
- Creating Pull Requests
- Remote vs local repositories
- Git commit conventions
- Git reset, reflog, and rebasing
- Project documentation
Topics to Study
- Introduction to Git
- What is version control and why it matters
- Installing and configuring Git
- Basic & Most-Used Git Commands
git init,git clone,git add,git commit,git push,git pullgit branch,git checkout,git merge
- Advanced Git
git reset(soft, mixed, hard)git reflog— recovering lost commitsgit rebasevsgit merge- Commit message conventions (Conventional Commits)
- Collaboration Workflow
- Remote vs local repositories
- Pull Requests and code review process
- Writing good project documentation (README)
Practice
- Create a repo, make branches, and open a Pull Request
- Practice detailed Git usage with PR + code review workflow
Deep-dive reference: Git In Depth · The Real-World Playbook — Git's internals, every command in one place, and a 27-scenario recovery playbook (committed a secret, wrong branch, broken rebase, lost commits).
Module 2: Linux — Weeks 2–3
Learning Goals
- Linux basics, history, and distributions
- File system hierarchy and organization
- File permissions and ownership
- User & group management
- Package management
- System performance monitoring
- Remote server access via SSH
- Troubleshooting with log files and understanding the boot process
Topics to Study
- Linux Fundamentals
- What is Linux? Kernel vs OS
- Choosing a distribution
- Linux in server management
- Introduction to the Shell
- File system hierarchy overview (
/etc,/var,/home, etc.)
- File & User Management
- Navigating the filesystem
- Creating/viewing/modifying files with permissions (
chmod,chown) - Users, groups, adding users to groups
- Superuser and
sudo - Cronjobs with real-life examples
- Processes & Packages
- Viewing and managing processes; killing zombie processes
- Disk/filesystem usage (
df,du) - Package management with
apt - SSH for remote server access
- SCP for copying files to/from remote servers
Essential Commands to Master
text
ls, cd, pwd, cp, mv, rm, mkdir, rmdir, touch, cat, echo,
chmod, chown, find, grep, ps, kill, top, df, du, ifconfig,
wget, curl, nano, vim, tar, zip, unzip, scp, sshPractice
- Set up a Linux VM or WSL environment
- Practice every command above with real files/processes
- SSH into a remote server and perform basic tasks
Module 3: Bash Scripting — Week 4 (half week)
Learning Goals
- Fundamentals of bash scripting
- Variables, conditionals, loops, functions
- Writing automation scripts
Topics to Study
- Variable declaration (and how bash differs from other languages)
- Variable expansion and reading user input
- Conditional statements — practical cases:
- Check if a directory/file is empty
- Check if a file is writable/readable/executable
- Data types: Arrays, Maps (associative arrays)
- Loops — iterating over arrays and performing actions
- Subshells — running commands in isolated environments
Practice
- Write a script to automate a backup task
- Write a script combining loops + conditionals + user input
Module 4: Networking — Weeks 4–6
Learning Goals
- Networking basics and IP addressing
- Routers and route tables
- Subnetting
- NAT and Internet Gateways
- Local DNS and Linux namespaces
- Designing networks with public/private subnets
- Network design best practices
Topics to Study
- Introduction to Networking
- Basic networking overview
- Applications of networking in DevOps
- IP Addressing & Subnetting
- IP addressing, CIDR blocks
- Subnetting practice
- Local DNS resolution
iptables,netcat
- Linux Network Namespaces
- Namespace communication
- Public vs private networks
- Internet Gateways and NATs
- Cloud Networking (AWS)
- Design a simple network using AWS
- Route tables (AWS and local)
- Troubleshooting
- Useful network troubleshooting commands and tools
Practice
- Design a network using AWS VPC components (public + private subnets)
- Practice subnetting calculations by hand
Module 5: Docker — Weeks 7–10
Learning Goals
- Docker fundamentals and why it beats VMs for many use cases
- Writing optimized Dockerfiles for different languages/frameworks
- Multi-platform images
- Networks, volumes, secrets
- Docker Compose for multi-service apps
- Pushing/pulling from registries
- Building images via GitHub Actions
Topics to Study
- Docker Basics (Week 7)
- Docker vs VM; containerization concepts
- Docker architecture, Docker Desktop
- Image versioning with tags
- Docker CLI: pulling images, inspecting content/metadata
- Docker Hub and other registries
- Writing a basic Dockerfile and building an image
- Dockerfile Deep Dive (Week 8)
- Best practices; commonly used instructions
- Dockerfile for a Python Flask app
- Running images, exposing ports
- Build arguments (
ARG) vs environment variables (ENV) - Multi-stage builds for smaller, faster images
- Docker networking and cross-container communication
- Registries & Debugging (Week 9)
- Authenticating to Docker Hub and private registries
- Pushing images; inspecting layers
- Debugging images with the
divetool - Multi-platform builds with
buildx - Docker volumes and volume types
- Docker Compose & Deployment (Weeks 9–10)
- Compose architecture and use cases
- Healthchecks; startup ordering with custom scripts
- Multi-service compose files
- CI pipeline to push images to registries
- Deploying a Docker app to AWS
Practice
- Dockerize a Flask (or any) application with a multi-stage build
- Docker Compose setup with multiple microservices
- Build & push an image using GitHub Actions
Module 6: CI/CD — Weeks 11–16
Learning Goals
- End-to-end CI/CD flow with different tools
- GitHub Actions for CI tests and deployment
- Code quality with SonarQube / CodeQL
- Load balancers, DNS records, scaling
- Jenkins pipelines
- Ansible configuration management
- Pipeline security best practices
Topics to Study
- CI (Continuous Integration) (Weeks 11–12)
- What CI/CD is; the full flow
- GitHub Actions basics
- CI checks: unit tests, linting
- Code quality tools: SonarQube, CodeQL
- CD (Continuous Delivery/Deployment) (Weeks 12–13)
- Introduction to CD; best practices
- Setting up a CD pipeline with GitHub Actions
- Rollback strategies
- Deploying to a VM with GH Actions
- Load balancers, DNS records, ApacheBench stress testing
- Horizontal vs vertical scaling
- Jenkins (Week 14)
- Installing & configuring Jenkins
- Plugins: SSH, GitHub
- Jenkinsfile pipelines
- Master/Worker nodes
- Alerting and job categories
- Ansible (Week 15)
- Introduction to Ansible
- Configuration management automation in practice
- System Design (Week 16)
- Architecture discussion — tying it all together
Practice
- CI checks with SonarQube + CodeQL on a real repo
- Complete CD pipeline with GitHub Actions and Jenkins
- Automate configuration management with Ansible
Module 7: Kubernetes — Weeks 16–20
Learning Goals
- K8s architecture: nodes, pods, clusters
- Installing K8s locally and in the cloud
- Core objects: pods, services, deployments, configmaps, secrets
- Scaling, rolling updates, high availability
- Networking: services, ingress, gateway API, network policies
- Persistent storage (PV/PVC)
- RBAC and security best practices
- CRDs and operators
- Helm deployments
Topics to Study
- Fundamentals (Week 16)
- Why and where to use Kubernetes
- Architecture: API server, etcd, kubelet, controller manager, scheduler
- Local cluster with
kind
- Pods & Scheduling (Week 17)
- Pod lifecycle and inter-pod communication
- Ports, environment variables
- nodeSelector, affinity/anti-affinity, taints & tolerations
- Deployments
- Scaling & Workloads (Week 18)
- HPA (Horizontal Pod Autoscaling)
- Deployment strategies: Blue/Green, Rolling, Canary
- DaemonSets, StatefulSets
- Storage: volumes, PV, PVC
- Services, DNS, Ingress + ingress controllers
- Advanced Networking & Security (Week 19)
- Gateway API vs Ingress
- Service accounts, CRDs
- RBAC; Kubernetes dashboard with RBAC
- Network policies
- Helm & Full Deployment (Week 20)
- Helm charts: writing and deploying
- Rollbacks/updates with Helm
- Deploy a service in Kubernetes A→Z
Practice
- Deploy a multi-component app to a
kindcluster - K8s deployment to a cloud environment with proper CI/CD
- Package and deploy an app with Helm
Module 8: Public Cloud (AWS) — Weeks 21–22
Learning Goals
- Most-used AWS services
- Access control, server management, CDN
- Deploying applications with load balancing
Topics to Study
- AWS Fundamentals (Week 21)
- IAM: restricting user/service access
- Regions and Availability Zones
- ECR for Docker images
- Compute & Delivery (Week 21)
- EC2 launch and configuration
- Serverless with Lambda
- ECS for highly available containerized services
- CloudFront CDN for static content
- ELB load balancing (Layer 4 & Layer 7)
- Deployment (Week 22)
- Deploy a full service in AWS
Practice
- Deploy an application to AWS behind a load balancer
- Store and pull Docker images from ECR
Module 9: Infrastructure as Code (Terraform) — Weeks 22–25
Learning Goals
- Role of IaC in infrastructure management
- Terraform: plan, apply, workspaces
- HCL syntax: vars, loops, outputs
- Creating/updating/deleting resources
- State manipulation and resource importing
- Custom modules, provisioners, data blocks
- Atlantis for GitOps-style Terraform
- Terraform best practices
Topics to Study
- Introduction to IaC & Terraform (Week 22)
- Terraform Core (Week 23)
- Setup; resource management
- State, plan, apply, workspaces, locals
- Vars, outputs, loops, provisioners, data blocks
- Best practices
- Practical Integration (Week 24)
- AWS IAM + Jenkins + Ansible + Terraform combined practical
- Atlantis — running Terraform from GitHub
- System Design (Week 25)
- Architecture discussion
Practice
- Manage AWS infrastructure with Terraform (different state backends)
- Create a reusable custom Terraform module
Module 10: Monitoring & Logging — Weeks 26–27
Learning Goals
- Fundamentals of monitoring and logging
- Prometheus + Grafana dashboards
- Observability and OpenTelemetry basics
Topics to Study
- Monitoring Fundamentals (Week 26)
- Why monitoring/logging matters
- SLA, SLI, SLO
- Prometheus: how it works, exporters
- Alertmanager: alert rules and destinations
- Nagios and Datadog introductions
- Observability & Logging (Week 27)
- OpenTelemetry introduction
- Log ingestion with Grafana Loki from different sources
- Connecting the dots across all modules
Practice
- Set up Prometheus + Grafana with multiple data sources
- Build a log ingestion pipeline (Loki)
- Set up monitoring with Nagios/Prometheus
Module 11 (Supplement): Python for DevOps — best read after Module 3
Learning Goals
- The Python a DevOps job actually requires: automation, APIs, and cloud SDKs (no web frameworks, no data science)
- Knowing when to switch from bash to Python
- Passing the practical scripting round in DevOps interviews
Topics to Study
- Setup & Core Language
- Virtual environments and requirements.txt
- Variables, collections (lists, dicts, sets), loops, comprehensions
- Functions with type hints; specific exception handling
- Data Formats of the Job
- JSON and YAML reading/writing (
json,yaml.safe_load) - Programmatically editing Kubernetes manifests
- Files with pathlib; CSV and .env parsing
- JSON and YAML reading/writing (
- Talking to the OS & APIs
subprocess.run(list form) + parsing CLI JSON output- argparse CLIs with
--dry-runflags;logginginstead of print requestswith timeouts,raise_for_status, retry with exponential backoff
- boto3 — AWS Automation
- Instance/tag audits, S3 uploads, stopping dev instances on schedule
- Paginators; deploying scripts as Lambda functions
- Testing cloud code offline with moto
- Quality Habits
- ruff linting and pytest wired into CI
Practice
- Build a small ops toolkit repo: log analyzer, health poller, YAML image-bumper, AWS audit script
- Solve the timed interview katas (log parsing, config diff, retry loops)
- Deploy the dev-instance stopper as a scheduled Lambda
Module 12 (Supplement): Databases & GitOps — best read last
Learning Goals
- Operating stateful systems: backups you'd bet a job on, replication, migrations, connection management
- The GitOps deployment model with ArgoCD — the modern standard for Kubernetes delivery
Topics to Study
- Databases for DevOps Engineers
- psql survival; pg_dump/pg_restore; PITR and WAL concepts
- Backup policy: schedule, off-box storage, retention, tested restores, RTO/RPO
- Streaming replication, read replicas, replication lag; RDS Multi-AZ failover
- The "too many connections" incident: pooling arithmetic and PgBouncer
- Zero-downtime schema migrations: expand/contract;
CREATE INDEX CONCURRENTLY - Redis operations: persistence modes, maxmemory/eviction, the KEYS footgun
- GitOps with ArgoCD
- Push CD vs pull GitOps; Git as the single source of truth
- Two-repo pattern (app repo + config repo); CI commits tags instead of touching the cluster
- Applications, sync/health status, automated sync with selfHeal and prune
- Rollback =
git revert; App-of-Apps cluster bootstrap; Flux as the alternative
Practice
- Nightly pg_dump→S3 with a scripted, timed restore drill (record your RTO)
- Reproduce and fix "too many connections" with PgBouncer
- Perform a column rename the expand/contract way across two deploys
- Split your capstone into app + config repos; deploy via ArgoCD with selfHeal; rebuild the cluster from a root Application
Capstone Projects (Portfolio Builders)
Complete these industry-standard projects along the way:
- Git — Detailed usage with pull requests, code review, etc.
- Networking — Network design using AWS components
- CI Checks — SonarQube + CodeQL with proper use cases
- CD Pipeline — Complete pipeline with GitHub Actions and Jenkins
- Ansible — Automated configuration management
- Terraform — Infrastructure as Code with different backends
- Linux — OS usage with the most-used commands
- Docker Compose — Setup with multiple microservices
- Kubernetes — Deployment to cloud environment with proper CI/CD
- Logging — Log ingestion pipeline demonstration
- Monitoring — Setup and monitor with Nagios & Prometheus
Final Phase: Job Preparation (~3 weeks)
- Build a CV and portfolio
- Practice mock interviews after each major topic
- Study system design architecture (covered in Weeks 16 & 25)
- Learn to handle technical interviews
Suggested Learning Order (TL;DR)
text
Git → Linux → Bash → Python for DevOps → Networking → Docker
→ CI/CD (GH Actions, Jenkins, Ansible) → Kubernetes (+ Helm) → AWS
→ Terraform → Monitoring (Prometheus, Grafana, Loki) → Databases & GitOps (ArgoCD)TIP
Keep everything project-based. After each module, build and document a small project in a GitHub repo — that repo collection becomes your portfolio.
