Skip to content
devops.academy

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

#ModuleDurationKey Tools
1Version Control System (VCS)2 weeksGit, GitHub
2Linux1.5 weeksUbuntu, Shell, SSH
3Bash Scripting0.5 weekBash
4Networking3 weeksiptables, netcat, AWS VPC
5Docker4 weeksDocker, Docker Compose, buildx
6CI/CD6 weeksGitHub Actions, Jenkins, Ansible, SonarQube
7Kubernetes4.5 weekskind, kubectl, Helm
8Public Cloud2 weeksAWS (EC2, ECS, Lambda, ELB, CloudFront)
9Infrastructure as Code3 weeksTerraform, Atlantis
10Monitoring & Logging1.5 weeksPrometheus, Grafana, Loki, Nagios, Datadog
11Python for DevOps (supplement)3–4 weeksPython, requests, boto3, pytest, ruff
12Databases & GitOps (supplement)2–3 weeksPostgreSQL, 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

  1. Introduction to Git
    • What is version control and why it matters
    • Installing and configuring Git
  2. Basic & Most-Used Git Commands
    • git init, git clone, git add, git commit, git push, git pull
    • git branch, git checkout, git merge
  3. Advanced Git
    • git reset (soft, mixed, hard)
    • git reflog — recovering lost commits
    • git rebase vs git merge
    • Commit message conventions (Conventional Commits)
  4. 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

  1. 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.)
  2. 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
  3. 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, ssh

Practice

  • 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

  1. Variable declaration (and how bash differs from other languages)
  2. Variable expansion and reading user input
  3. Conditional statements — practical cases:
    • Check if a directory/file is empty
    • Check if a file is writable/readable/executable
  4. Data types: Arrays, Maps (associative arrays)
  5. Loops — iterating over arrays and performing actions
  6. 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

  1. Introduction to Networking
    • Basic networking overview
    • Applications of networking in DevOps
  2. IP Addressing & Subnetting
    • IP addressing, CIDR blocks
    • Subnetting practice
    • Local DNS resolution
    • iptables, netcat
  3. Linux Network Namespaces
    • Namespace communication
    • Public vs private networks
    • Internet Gateways and NATs
  4. Cloud Networking (AWS)
    • Design a simple network using AWS
    • Route tables (AWS and local)
  5. 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

  1. 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
  2. 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
  3. Registries & Debugging (Week 9)
    • Authenticating to Docker Hub and private registries
    • Pushing images; inspecting layers
    • Debugging images with the dive tool
    • Multi-platform builds with buildx
    • Docker volumes and volume types
  4. 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

  1. 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
  2. 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
  3. Jenkins (Week 14)
    • Installing & configuring Jenkins
    • Plugins: SSH, GitHub
    • Jenkinsfile pipelines
    • Master/Worker nodes
    • Alerting and job categories
  4. Ansible (Week 15)
    • Introduction to Ansible
    • Configuration management automation in practice
  5. 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

  1. Fundamentals (Week 16)
    • Why and where to use Kubernetes
    • Architecture: API server, etcd, kubelet, controller manager, scheduler
    • Local cluster with kind
  2. Pods & Scheduling (Week 17)
    • Pod lifecycle and inter-pod communication
    • Ports, environment variables
    • nodeSelector, affinity/anti-affinity, taints & tolerations
    • Deployments
  3. 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
  4. Advanced Networking & Security (Week 19)
    • Gateway API vs Ingress
    • Service accounts, CRDs
    • RBAC; Kubernetes dashboard with RBAC
    • Network policies
  5. 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 kind cluster
  • 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

  1. AWS Fundamentals (Week 21)
    • IAM: restricting user/service access
    • Regions and Availability Zones
    • ECR for Docker images
  2. 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)
  3. 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

  1. Introduction to IaC & Terraform (Week 22)
  2. Terraform Core (Week 23)
    • Setup; resource management
    • State, plan, apply, workspaces, locals
    • Vars, outputs, loops, provisioners, data blocks
    • Best practices
  3. Practical Integration (Week 24)
    • AWS IAM + Jenkins + Ansible + Terraform combined practical
    • Atlantis — running Terraform from GitHub
  4. 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

  1. 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
  2. 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

  1. Setup & Core Language
    • Virtual environments and requirements.txt
    • Variables, collections (lists, dicts, sets), loops, comprehensions
    • Functions with type hints; specific exception handling
  2. 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
  3. Talking to the OS & APIs
    • subprocess.run (list form) + parsing CLI JSON output
    • argparse CLIs with --dry-run flags; logging instead of print
    • requests with timeouts, raise_for_status, retry with exponential backoff
  4. 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
  5. 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

  1. 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
  2. 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:

  1. Git — Detailed usage with pull requests, code review, etc.
  2. Networking — Network design using AWS components
  3. CI Checks — SonarQube + CodeQL with proper use cases
  4. CD Pipeline — Complete pipeline with GitHub Actions and Jenkins
  5. Ansible — Automated configuration management
  6. Terraform — Infrastructure as Code with different backends
  7. Linux — OS usage with the most-used commands
  8. Docker Compose — Setup with multiple microservices
  9. Kubernetes — Deployment to cloud environment with proper CI/CD
  10. Logging — Log ingestion pipeline demonstration
  11. 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.