DevOps roadmap: 6 steps in the right order, with a free lab for each
· 9 min read · DevOps, Cloud, Roadmap
You do not need Kubernetes to start DevOps. Most people who feel lost started at the top of the stack, on AWS or Kubernetes, with nothing underneath. Here are the six steps in the order that holds up, what to practise at each one, and a free hands-on lab for every step.
- Topic
- DevOps · cloud · career roadmap
- For
- Students and developers who can write a little code
- Edition
- November 2026
TL;DR
- The order: Linux → Git → Docker → CI/CD → one cloud + Terraform → monitoring, and Kubernetes after that. Each step solves a problem the previous one leaves you with.
- A server is a Linux machine, so the terminal, permissions, processes and SSH come first. Everything later runs on top of them.
- Docker fixes "it works on my laptop": the app and its dependencies travel together in one container.
- Learn one cloud provider well. AWS is the most used one; the ideas carry over to the others.
- Kubernetes is for running many containers across many machines. Learn it when you have that problem, not before.
- 71.1%
- of developers use Docker (Stack Overflow Developer Survey 2025, all respondents)
- 43.3%
- of developers use AWS, the most used cloud platform in the same survey
- 28.5%
- of developers use Kubernetes, far fewer than Docker
Why not start with Kubernetes?
Kubernetes and AWS are what job posts mention, so that is where many people begin. The trouble is that both assume you already understand the layers below them. Kubernetes schedules containers onto Linux machines. If you have never written a Dockerfile, read a process list or fixed a file permission over SSH, every Kubernetes error looks like magic, and you end up copying YAML you cannot debug.
Start with AWS and Kubernetes. Lots of new words at once, no idea what is failing underneath, and it all feels confusing.
Linux, Git, Docker, a pipeline, one cloud, monitoring. By the time you reach Kubernetes, you know every layer it sits on.
The Stack Overflow 2025 numbers fit this. Far more developers use Docker (71.1%) than Kubernetes (28.5%): most teams need containers long before they need an orchestrator.
The roadmap at a glance
- 1
1 · Linux
Terminal, permissions, processes and SSH. A little DNS and HTTP.
- 2
2 · Git and GitHub
Branches, merges and pull requests, the way teams use them.
- 3
3 · Docker
Pack the app and its dependencies into one container.
- 4
4 · CI/CD
Every push runs the tests; a pass deploys the app.
- 5
5 · One cloud + Terraform
VMs, a load balancer, and infrastructure written as code.
- 6
6 · Monitoring
Logs and metrics, so you see a problem before your users do.
The order is my recommendation, not an industry standard. It matches the shape of most current DevOps roadmaps (for example roadmap.sh's), cut down to the six steps that unlock everything else.
Step 1 · Linux
Almost every server you will deploy to runs Linux, so this is the floor everything else stands on. You do not need to be a kernel expert. You need to be comfortable in a terminal on a machine you can only reach over SSH.
Learn
- Moving around and reading files:
ls,cd,cat,less,grep. - Permissions and users:
chmod,chown,sudo, why a key file must be private. - Processes and services:
ps,top,kill,systemctl, reading logs. - SSH: keys, connecting, copying files with
scp. - Just enough networking: what DNS does (a name becomes an IP), what an HTTP request and status code are.
ls -la # list files, with permissions
chmod 600 key.pem # only you can read your private key
ps aux # every running process
ssh user@server # log in to a remote machineFree labs
- OverTheWire: Bandit: a game you play over SSH, level by level, that teaches real terminal skills.
- Killercoda playgrounds: a Linux machine in your browser, no install. The free plan has time-limited sessions.
Step 2 · Git and GitHub
Every DevOps tool starts from a Git repository: the pipeline runs on a push, the infrastructure lives in files, the review happens in a pull request. Learn Git properly, the way a team uses it, not just git add . and git push.
Learn
- Commits, branches and merges; what a merge conflict is and how to fix one.
- A branching strategy: short-lived feature branches merged into
main. - Pull requests on GitHub: review, comments, required checks.
git switch -c feature/login # new branch
git add . && git commit -m "Add login page"
git push -u origin feature/login # then open a pull request on GitHubFree labs
- Learn Git Branching: visual, interactive levels for branches, merges and rebases.
- GitHub Skills: Introduction to GitHub: a free course that runs inside a real repository. More at GitHub Skills.
Step 3 · Docker
Now the code has to run on a server, and you hit the oldest problem in software: it worked on my laptop. The server has a different runtime version, a missing library, another config. Docker packs your app together with everything it depends on into an image, and runs it as a container. The same image runs the same way on your laptop and on the server.
Learn
- Images vs containers; writing a
Dockerfile; building, running and tagging images. - Ports, environment variables and volumes.
- Docker Compose for an app plus its database.
- Pushing an image to a registry (Docker Hub or GitHub Container Registry).
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
EXPOSE 3000
CMD ["node", "server.js"]Free labs
- Docker: Build and share a containerized application: the official hands-on tutorial. Run a container, a Compose stack, build your own image and push it.
- Killercoda has free Docker scenarios if you cannot install Docker locally.
Step 4 · CI/CD
Building and deploying by hand works until you forget a step. CI/CD makes it automatic: every push runs your tests (continuous integration), and when they pass, the app is deployed (continuous delivery or deployment). GitHub Actions is the easiest place to start because it lives in the repository you already have.
name: ci
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm testStart with tests only. Then add a job that builds your Docker image and, on main, deploys it.
Free labs
- GitHub Skills: Hello GitHub Actions: write and run your first workflow, step by step.
- GitHub Actions quickstart: the official docs.
Step 5 · One cloud + Terraform
One server is fine until traffic grows. The cloud gives you more machines on demand and the pieces to spread traffic across them. Pick one provider and learn it well. AWS is the most used (43.3% of all respondents in the Stack Overflow 2025 survey); Azure and Google Cloud have the same building blocks under other names.
Learn
- Virtual machines (EC2 on AWS), networking (VPC, security groups) and IAM permissions.
- A load balancer in front of several VMs.
- Terraform: describe all of it in code, review it like code, and create or destroy it with one command. That is infrastructure as code.
resource "aws_instance" "web" {
count = 3
ami = var.ami_id
instance_type = "t3.micro"
}Free labs
- HashiCorp: Get started with Terraform on AWS: the official tutorial series.
- AWS Free Tier: per AWS, new accounts get up to $200 in credits and a free plan for up to 6 months, plus services that stay free within monthly limits.
- AWS Skill Builder: AWS's own training, with free courses.
Step 6 · Monitoring
Once real users depend on your app, you need to know it is broken before they tell you. Monitoring is how: logs say what happened, metrics show how the system behaves over time, and alerts wake you up when a metric crosses a line.
Learn
- Structured logs and where they go (files, a log service).
- Metrics: request rate, error rate, latency, CPU and memory.
- Prometheus to collect metrics, Grafana to graph them, an alert on the error rate.
scrape_configs:
- job_name: my-app
static_configs:
- targets: ["localhost:3000"]Free labs
- Prometheus: Getting started: run Prometheus and query your first metrics.
- Grafana Play: a live public Grafana with real dashboards to explore and edit.
Then Kubernetes
Kubernetes runs and heals many containers across many machines: it restarts the ones that crash, spreads them out and rolls out new versions. That is a real problem, but it only shows up when you have many containers. After the six steps above, every Kubernetes idea maps to something you already know: a pod is a container, a service is a load balancer, a deployment is your pipeline's last step.
Free labs
- Kubernetes Basics: the official tutorial.
- Killercoda Kubernetes playground: a ready cluster in your browser, free with time-limited sessions.
Every free lab, in one table
| Step | Free lab | What you do |
|---|---|---|
| 1 · Linux | OverTheWire Bandit | Terminal skills over SSH, level by level |
| 1 · Linux | Killercoda playgrounds | A Linux machine in the browser |
| 2 · Git | Learn Git Branching | Branches, merges, rebases, visually |
| 2 · GitHub | GitHub Skills: Introduction to GitHub | Branches and pull requests in a real repo |
| 3 · Docker | Docker's hands-on tutorial | Run, build and push a containerized app |
| 4 · CI/CD | GitHub Skills: Hello GitHub Actions | Your first workflow |
| 5 · Cloud | Terraform on AWS | Create and destroy real infrastructure from code |
| 6 · Monitoring | Grafana Play + Prometheus | Dashboards and your first metrics |
| Then · Kubernetes | Killercoda Kubernetes | A ready cluster in the browser |
Caveats
- The order and the "Kubernetes later" advice are my recommendation from building and deploying projects, not a rule.
- Survey numbers are usage among developers who answered the Stack Overflow 2025 survey, not job demand. The survey notes that Docker's jump from 2024 to 2025 is partly due to merging some technology categories.
- AWS's free offer and the labs' free plans can change; check each page before you start.
- The commands, Dockerfile, workflow and Terraform block are illustrative starting points, not production config.
FAQ
- Do I need to learn Kubernetes to get a DevOps job?
- Eventually, often yes. But you will learn it far faster after Docker, CI/CD and one cloud, because each Kubernetes concept maps to something you have already done.
- AWS, Azure or Google Cloud?
- Pick one and go deep. AWS is the most used in the Stack Overflow 2025 survey; if your target company uses another, start there. The building blocks are the same.
- How long does this take?
- It depends on your hours. Aim to finish one small project per step (a deployed app with a pipeline and a dashboard is a strong portfolio piece) rather than chasing a deadline.
- Do I need to know how to code?
- A little: enough to read a small app, write a script and understand test output. DevOps is about running software, so you need to know what you are running.
Glossary
- SSH
- A secure way to log in to and run commands on a remote machine.
- Container
- A running, isolated copy of an image: your app plus everything it needs.
- Image
- The packaged app and its dependencies, built from a Dockerfile.
- CI/CD
- Continuous integration and delivery: tests on every push, automatic deploys when they pass.
- Load balancer
- Spreads incoming requests across several servers.
- Infrastructure as code
- Servers, networks and permissions described in files (e.g. Terraform) instead of clicked in a console.
- Kubernetes
- A system that runs, scales and heals many containers across many machines.
Sources
- Stack Overflow Developer Survey 2025: Technology (Docker 71.1%, AWS 43.3%, Kubernetes 28.5%; cloud development, all respondents)
- AWS Free Tier (credits and free plan terms)
- Play with Docker (shutdown notice, 1 March 2026)
- roadmap.sh: DevOps roadmap