Most DevOps roadmaps are a long list of tool logos. This one gives you the order to learn things in, roughly how long each stage takes if you study around a job, and a hands-on lab for every stage, so you practise each skill on a real Linux shell, container or Kubernetes cluster as soon as you've read about it.

The job is still in demand. Google Trends shows searches for "devops engineer" up about 17% year on year, even as searches for individual tool tutorials have dropped sharply. Part of that drop is likely people asking an AI assistant to explain a Terraform error. An assistant can explain; you still need a plan to follow and somewhere real to practise.

How do you become a DevOps engineer in 2026?

Learn the stack in the order each part builds on the last: Linux and networking, Git, scripting, Docker, CI/CD, one cloud, Terraform, Kubernetes, then observability and GitOps. Practise every stage on a real system, build a project that ties the stages together, and learn to explain it. With some IT background, plan on eight to twelve months part-time.

The DevOps roadmap at a glance

Times assume part-time study alongside a job. If you already work with Linux every day, the first four stages will go much faster.

#StageWhat to learnTimeLab to practise
1LinuxFiles, permissions, processes, systemd, packages, logs4 to 5 weeksLinux File Permissions and Process Management
2NetworkingTCP/IP, DNS, HTTP and TLS, SSH, ports, firewalls2 to 3 weeksTCP/IP Three-Way Handshake and Packet Flow
3GitCommits, branches, merge and rebase, pull requests, conflicts1 to 2 weeksGit Advanced: Branching, Merging and History Rewriting
4ScriptingBash that fails safely, then Python for automation3 to 4 weeksBash Traps for Cleanup and Signal Handling
5DockerImages, Dockerfiles, multi-stage builds, volumes, networks, Compose3 to 4 weeksMulti-Stage Builds in Docker
6CI/CDPipelines, tests, artifacts, image builds, secrets, deployment strategies3 to 4 weeksDocker Image Build and Push in CI
7Cloud (AWS)IAM, VPC networking, compute, S3, managed databases, cost4 to 6 weeksIAM Fundamentals
8Infrastructure as codeTerraform state, modules, plan and apply in CI; Ansible for configuration4 to 6 weeksTerraform State Fundamentals
9KubernetesPods, Deployments, Services, config, probes, RBAC, Helm6 to 8 weeksDeploy Your First Pod and Inspect It with kubectl
10ObservabilityMetrics, logs, traces, Prometheus, Grafana, SLOs, alerting3 to 4 weeksDeploy Prometheus and Scrape Application Metrics
11GitOps and supply chainArgo CD, image signing, admission policies3 to 4 weeksGitOps Deploy with Argo CD on kind
12Platform and reliabilityDeveloper portals, guardrails, cost visibility, incident practiceOngoingService Catalog and Developer Portals with Backstage

Each stage below says what to learn, how you'll know you're done, and a small project. Do the projects: interviewers will ask about what you built.

Stage 1: Linux (4 to 5 weeks)

Almost everything you'll run in DevOps, from CI runners to Kubernetes nodes, is a Linux machine. Learn to move around the filesystem, read and set permissions in symbolic and octal form, manage users and groups, find and stop processes, manage services with systemd and read logs with journalctl. Then learn what namespaces and cgroups are, because that is what a container is made of.

Lab: Linux File Permissions and Process Management. You're done when you can explain why a service won't start and fix it without searching for every command.

Stage 2: Networking (2 to 3 weeks)

Many production problems turn out to be network problems: DNS, TLS, a blocked port. Learn IP addressing and subnets (CIDR), the TCP handshake, what happens in a DNS lookup, how TLS certificates work, and how to check ports and connections with ss, curl, dig and tcpdump.

Labs: TCP/IP Three-Way Handshake and Packet Flow, where you capture SYN, SYN-ACK and ACK packets yourself, then Linux DNS: Configuration and Troubleshooting. You're done when you can walk through what happens between typing a URL and getting a page, and say where you'd look if any step failed.

Stage 3: Git (1 to 2 weeks)

In DevOps, Git holds application code, pipeline definitions, infrastructure and, with GitOps, the state of your clusters. Go past add, commit and push: branch, merge, rebase, resolve conflicts, cherry-pick a fix to a release branch, and recover lost work with git reflog.

Lab: Git Advanced: Branching, Merging and History Rewriting. If Git is completely new to you, start with Git Basics: Your First Repository.

Stage 4: Scripting with Bash and Python (3 to 4 weeks)

You'll script long before you write any application code. In Bash, learn exit codes, set -euo pipefail, functions, and traps that clean up temporary files when a script fails halfway. Then pick up Python for anything longer than a page: parsing JSON and logs, calling APIs, automating cloud tasks.

Lab: Bash Traps for Cleanup and Signal Handling. Project: a backup script that compresses a directory, uploads it, keeps the last seven copies and exits with a clear error when anything fails.

Stage 5: Docker and containers (3 to 4 weeks)

Write Dockerfiles that build small, cache-friendly images. Understand layers, the difference between CMD and ENTRYPOINT, volumes and bind mounts, and how containers on the same network find each other. Use multi-stage builds to keep compilers out of runtime images, and Docker Compose to run an app with its database locally.

Lab: Multi-Stage Builds in Docker, where you compile a Go app in a builder stage and ship only the binary. Project: containerise a small web app with a database in Compose, running as a non-root user.

Stage 6: CI/CD (3 to 4 weeks)

A pipeline turns a commit into something running in an environment. Learn to lint and test on every push, build and tag an image with the commit SHA, push it to a registry, and deploy the same image through each environment. Learn how pipelines should get credentials, and how rolling, blue-green and canary deployments differ. GitHub Actions is a good first tool; GitLab CI and Jenkins use the same ideas.

Labs: GitHub Actions Basics for workflow syntax, then Docker Image Build and Push in CI, which pushes to a local registry. Project: a pipeline for your stage 5 app that tests, builds, scans and pushes the image.

Stage 7: Cloud, starting with AWS (4 to 6 weeks)

Pick one cloud and learn it properly before touching a second. Start with IAM, because every action in AWS goes through it, then VPC networking (subnets, route tables, security groups, NAT), compute, S3, a managed database, and how the bill is calculated. The ideas carry over to Azure and GCP with different names.

A free-tier account can still surprise you with a bill. The AWS labs in the LearnXops local cloud track run against an AWS emulator on your own computer, so you need no AWS account and nothing is billed. Start with Create Your First S3 Bucket and Upload an Object, which is the free first lab, then IAM Fundamentals.

Stage 8: Infrastructure as code with Terraform and Ansible (4 to 6 weeks)

Clicking resources together in a console doesn't scale and can't be reviewed. Learn Terraform's workflow (init, plan, apply), how state works and why it lives in a remote backend with locking, how to write reusable modules, and how to run plans in CI so changes get reviewed like code. Add Ansible for configuring machines: inventories, playbooks, roles and Vault for secrets.

Labs: Terraform State Fundamentals, then Building Reusable Infrastructure with Terraform Modules. Both run locally with no cloud credentials. Project: define a VPC, a server and a bucket in Terraform with separate state per environment.

Stage 9: Kubernetes (6 to 8 weeks)

This is the longest stage, and interviews for DevOps roles test it hard. Learn the core objects (Pods, Deployments, Services, ConfigMaps, Secrets), then health probes, resource requests and limits, RBAC, Ingress and the newer Gateway API, and Helm for packaging. Most of all, learn to troubleshoot: CrashLoopBackOff, Pending Pods, Services with no endpoints.

Labs: Deploy Your First Pod and Inspect It with kubectl (free first lab), then Create a Deployment and Scale It Up and Down. Each one starts a real Kubernetes cluster on your computer. You're done when you can deploy your app with a Helm chart, roll out a new version without downtime and roll it back.

Stage 10: Observability (3 to 4 weeks)

Learn the three signals (metrics, logs and traces), Prometheus and PromQL, Grafana dashboards, log aggregation with Loki, and OpenTelemetry for instrumenting services. Then learn SLOs and error budgets, and alert on what users feel, such as error rate and latency, before resource graphs.

Labs: Deploy Prometheus and Scrape Application Metrics, then Define SLOs with Prometheus and Multi-Window Burn-Rate Alerts.

Stage 11: GitOps and supply chain security (3 to 4 weeks)

With GitOps, Git holds the desired state of each environment and an agent in the cluster (Argo CD or Flux) keeps the cluster in line with it. Deployments become pull requests, and rollback becomes a revert. Pair it with supply chain controls: sign images, generate SBOMs, and admit only signed images into the cluster.

Labs: GitOps Deploy with Argo CD on kind, then Sign Images with cosign and Enforce Signatures at Admission.

Stage 12: Platform engineering and reliability (ongoing)

Senior DevOps work moves toward building a platform other teams use: a service catalog, golden-path templates, guardrails enforced by policy, and cost per team made visible. The other half is incident practice: debugging unfamiliar failures calmly and writing blameless postmortems.

Lab: Service Catalog and Developer Portals with Backstage. For troubleshooting practice, Debug Coach (beta, in the Desktop app, on Pro and Lifetime plans) connects to a practice cluster or your own, finds what's broken, and coaches you through the fix.

Do you need to code to become a DevOps engineer?

You need to script; you don't need to build applications. Expect to write Bash and Python to automate tasks, read application code well enough to debug a failing build, and write YAML and HCL every day. Go is worth learning later if you want to write Kubernetes operators or command-line tools.

Which cloud should you learn first?

Learn the one your target employers use; job listings in your city will tell you. If you have no preference, start with AWS. IAM, networking, storage and managed databases work much the same way on Azure and GCP, so a second cloud takes weeks rather than months once you know one well.

Are certifications worth it?

They help you get past a résumé filter, but they won't carry an interview on their own. If you take one on this path, the Certified Kubernetes Administrator (CKA) fits well because it is hands-on: the Linux Foundation describes it as an online, proctored, performance-based exam where you solve tasks from a command line, with 2 hours to finish. A cloud certification from your chosen provider is the other common choice.

Where AI fits in a DevOps roadmap

Use AI assistants from day one to explain errors and draft configuration, and check everything they produce against the docs and a real system. That checking is exactly why hands-on practice matters more now. Once you're comfortable with Kubernetes and CI/CD, AI engineering is a natural next step for DevOps engineers, and the AI Engineer roadmap builds on the skills above.

Practise every stage with LearnXops

The DevOps Engineer roadmap on LearnXops follows the same path with a hands-on lab guide of 10 steps and 39 labs, in the order to do them; the full roadmap is free to read with a LearnXops account. If you prefer reading a topic a day, 60 Days of DevOps goes from Linux and Git through Docker, AWS, Ansible, Jenkins and GitHub Actions to Kubernetes, with all 60 days published.

Every lab linked above runs on your own computer through the LearnXops Desktop app on Mac, Windows or Linux. The Kubernetes labs start a real local cluster, the cloud labs run against local cloud emulators, and every task is checked automatically. The first lab in each track is free with a free account.

Share this post