The DevOps mindset first
Before tools, the idea: automate the boring, repeatable stuff so releases are fast and mistakes are rare. Every tool below exists to serve that goal. Keep asking "what manual step can I automate?" and DevOps will make sense.
Stage 1: Linux & Git (the ground floor)
Live in the terminal
Almost all servers run Linux, and everything in DevOps assumes you are comfortable at the command line and with version control.
Stage 2: Containers (Docker)
Package apps so they run anywhere
Docker packages an app with everything it needs into a "container" that runs the same on any machine. It solves "but it works on my laptop." This is the single most useful DevOps skill to learn first.
# A tiny Dockerfile for a Node app
FROM node:20-alpine
WORKDIR /app
COPY . .
RUN npm install
CMD ["node", "server.js"]
docker run. Bonus: use docker-compose to run the app plus a database together.Stage 3: CI/CD (automate build & deploy)
Ship automatically on every push
CI/CD means: every time you push code, a pipeline automatically tests it and (if it passes) deploys it. GitHub Actions is free and the easiest place to start.
# .github/workflows/ci.yml (runs tests on every push)
name: CI
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: npm install
- run: npm test
Stage 4: One cloud provider
Run things on real infrastructure
Pick one cloud (AWS is the market leader; Azure and GCP are close cousins) and learn the core services. Do not try to learn all three, the concepts transfer.
Stage 5: Infrastructure as Code & Kubernetes
Scale it up (once the basics click)
These are the "advanced but valuable" skills. Infrastructure as Code (Terraform) lets you define servers in files instead of clicking around. Kubernetes runs and scales many containers. Learn these after you are comfortable with stages 1 to 4, not before.
A sensible learning order
If you remember one thing: go in order and do not skip ahead. A common mistake is jumping straight to Kubernetes before understanding Linux, Git, and Docker, which makes everything confusing.
Linux & Git โ Docker โ CI/CD โ one Cloud โ Terraform & Kubernetes. Each stage makes the next one make sense.
Free places to learn
- roadmap.sh/devops - the visual DevOps roadmap.
- Docker's official getting started - hands-on and clear.
- GitHub Actions docs - free CI/CD with great examples.
- AWS free digital training - official cloud basics.
- Killercoda - free browser labs for Docker, Kubernetes, and Linux.
What to do next
In plain words: DevOps is the set of practices and tools that get code from your laptop into the hands of users, quickly and reliably. Instead of "write code, throw it over the wall," one flow builds, tests, ships, and runs it. You do not need all of it at once, follow the stages below. Stuck on a concept? Tap โฆ Ask AI.