---
title: "DevOps roadmap"
description: "A step-by-step DevOps roadmap: Linux, scripting, networking, Git, containers, cloud, Terraform and Ansible, CI/CD, observability, Kubernetes and GitOps."
url: "https://opsfolk.com/roadmaps/devops"
stages: 12
topics: 78
updated: "2026-11-14T20:04:29.309Z"
reviewed: "2026-11-14"
image: "https://media.opsfolk.com/2026/11/323416b85e2c054d4742a1de-2400x1350.webp"
---

# DevOps roadmap

Learn DevOps in order: Linux and scripting, networking and Git, web servers and containers, the cloud, infrastructure as code, CI/CD, observability, then Kubernetes, GitOps and building for reliability.

Learn it in this order: each stage builds on the ones before it. A topic marked optional can wait.

## 1. Linux and the terminal

The operating system almost every server runs, and the shell you will live in.

### Linux distributions

Debian and Ubuntu, RHEL and its rebuilds: the families you will meet on servers.

Almost every server, container and cloud machine runs Linux. A distribution is the kernel plus the tools, package manager and release cycle around it. On servers you will mostly meet two families: Debian and Ubuntu, with `apt`, and Red Hat Enterprise Linux and its rebuilds such as Rocky and AlmaLinux, with `dnf`.

Pick one, Ubuntu Server is the usual start, and install it in a virtual machine or a cheap cloud server you can break. Windows and the BSDs exist in production too, but Linux comes first.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Ubuntu Server documentation](https://ubuntu.com/server/docs)
- Official: [Red Hat Enterprise Linux documentation](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/linux-distributions

### The shell and the terminal

Moving around, running commands, pipes and redirection in Bash.

The shell is how you work on a server: there is usually no desktop. Learn to move around the file system, read files with `less`, find them with `find`, chain commands with pipes, send output to files with `>` and `>>`, and read a command's manual with `man`.

Bash is the shell you will meet most. Learn its history, tab completion and `Ctrl+R`, and you will type half as much.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [GNU Bash manual](https://www.gnu.org/software/bash/manual/bash.html)
- Article: [The Linux Command Line, by William Shotts](https://linuxcommand.org/tlcl.php)

Topic page: https://opsfolk.com/roadmaps/devops/topics/shell-and-terminal

### Files, users and permissions

Owners, groups, read, write and execute, and why services run as their own user.

Every file has an owner, a group and permissions for each: read, write and execute. `ls -l` shows them, `chmod` and `chown` change them, and `sudo` runs one command as root.

It matters because most production mistakes and breaches touch it: a key readable by everyone, a service running as root, a deploy that cannot write its own directory. Learn the file system's layout too: `/etc` for configuration, `/var/log` for logs, `/home` for people.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [chmod(1) manual page](https://man7.org/linux/man-pages/man1/chmod.1.html)
- Article: [File permissions and attributes, ArchWiki](https://wiki.archlinux.org/title/File_permissions_and_attributes)

Topic page: https://opsfolk.com/roadmaps/devops/topics/files-users-and-permissions

### Package managers

Installing, updating and pinning software with apt and dnf.

A package manager installs software with its dependencies, keeps it updated and removes it cleanly. `apt` on Debian and Ubuntu, `dnf` on Red Hat's family.

Learn to search, install, upgrade and pin a version, to add a vendor's repository with its signing key, and to keep a server patched without surprises. The same habits carry over to the packages you install in container images.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Apt, Debian Wiki](https://wiki.debian.org/Apt)
- Official: [DNF documentation](https://dnf.readthedocs.io/en/latest/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/package-managers

### Processes and services

What is running, how to stop it, and systemd to keep it running.

A process is a running program, with an id, a parent, an owner and open files. `ps`, `top` and `kill` show and stop them; signals such as `SIGTERM` and `SIGKILL` are how they are told to stop.

A service is a process that should always run. On most distributions systemd starts it at boot, restarts it when it dies and collects its logs: learn `systemctl` and `journalctl`, and write a unit file for a small program of your own.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [systemd](https://systemd.io/)
- Official: [systemd.service(5) manual page](https://man7.org/linux/man-pages/man5/systemd.service.5.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/processes-and-services

### Performance monitoring

CPU, memory, disk and network from the command line, when a server is slow.

When a server is slow, the question is which resource is short: CPU, memory, disk or network. `top` and `htop`, `free`, `vmstat`, `iostat`, `df` and `du` answer most of it in a minute.

Learn what load average means, why Linux uses free memory as cache, and what it looks like when a disk is full or a process is swapping. These are the same numbers your dashboards will graph later.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Article: [Linux Performance, by Brendan Gregg](https://www.brendangregg.com/linuxperf.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/performance-monitoring

### Text manipulation

grep, sed, awk and jq: finding and reshaping text and JSON.

Logs, configuration and command output are text, and most of operations is finding something in it. `grep` finds lines, `sed` edits them, `awk` picks columns and adds them up, `sort`, `uniq` and `wc` count, and `jq` does the same for JSON, which every API and cloud CLI returns.

A one-liner such as `grep ' 500 ' access.log | awk '{print $1}' | sort | uniq -c | sort -rn` answers a real question in seconds.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [GNU grep manual](https://www.gnu.org/software/grep/manual/grep.html)
- Official: [GNU awk user's guide](https://www.gnu.org/software/gawk/manual/gawk.html)
- Official: [jq manual](https://jqlang.org/manual/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/text-manipulation

### A terminal editor (optional)

Vim or nano, for editing a file on a server with nothing else installed.

Sooner or later you will edit a file on a server over SSH, with no editor but what is installed. Vim is almost always there; nano is simpler and often is too.

You do not need to live in Vim. Know how to open a file, insert text, save, quit without saving, and search: that is enough to fix a configuration at three in the morning.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Vim documentation](https://www.vim.org/docs.php)
- Official: [GNU nano documentation](https://www.nano-editor.org/docs.php)

Topic page: https://opsfolk.com/roadmaps/devops/topics/terminal-editor

## 2. Programming and scripting

Enough code to automate: shell scripts first, then a real language.

### Bash scripting

Variables, conditions, loops and exit codes: turning commands you type into a script.

A shell script is the commands you would type, saved so they run the same way every time. Learn variables and quoting, `if` and `for`, functions, exit codes and `$?`, and reading arguments.

Start scripts with `set -euo pipefail` so they stop at the first error, quote every variable, and run ShellCheck on them. Past a hundred lines or so, a script usually wants to be a program in a real language.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [GNU Bash manual](https://www.gnu.org/software/bash/manual/bash.html)
- Official: [ShellCheck](https://www.shellcheck.net/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/bash-scripting

### Python

The usual language for automation, glue between APIs and cloud SDKs.

Python is the most common language in operations: tools, scripts that call a cloud's API, Ansible modules, and the glue between systems. It reads easily and has a library for nearly everything.

Learn the basics, then what automation needs: reading files and JSON, calling HTTP APIs with `requests`, running commands with `subprocess`, virtual environments, and one cloud SDK such as `boto3`.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [The Python tutorial](https://docs.python.org/3/tutorial/)
- Official: [Boto3, the AWS SDK for Python](https://boto3.amazonaws.com/v1/documentation/api/latest/index.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/python

### Go (optional)

The language Docker, Kubernetes and Terraform are written in.

Go builds a single binary with no runtime to install, which is why so many infrastructure tools are written in it: Docker, Kubernetes, Terraform, Prometheus. Learn it when you want to read those tools' code, write a CLI to hand to others, or build a Kubernetes controller.

The tour takes an afternoon; the standard library covers HTTP, JSON and files without anything else.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [A Tour of Go](https://go.dev/tour/)
- Official: [Go documentation](https://go.dev/doc/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/go

### PowerShell (optional)

Scripting for Windows and Azure, where objects flow through the pipe instead of text.

PowerShell is the shell and scripting language of Windows, and runs on Linux and macOS too. Its pipeline passes objects instead of text, so there is less parsing than in Bash.

Learn it if you manage Windows servers, Active Directory or a lot of Azure; otherwise it can wait.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [PowerShell documentation](https://learn.microsoft.com/en-us/powershell/scripting/overview)

Topic page: https://opsfolk.com/roadmaps/devops/topics/powershell

## 3. Networking and protocols

How machines find and talk to each other, and how to see when they don't.

### The OSI and TCP/IP models

The layers a packet passes through, and the vocabulary to say where a problem is.

The OSI model splits networking into seven layers; the TCP/IP model, which the internet actually uses, into four. You will rarely need them in detail, but they give you words for where a problem sits: a cable or a route (layer 3), a port or a connection (layer 4), or the application (layer 7).

Learn what IP, TCP and UDP each do, and the difference between a layer 4 and a layer 7 load balancer.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Article: [What is the OSI model?, Cloudflare](https://www.cloudflare.com/learning/ddos/glossary/open-systems-interconnection-model-osi/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/osi-and-tcp-ip-models

### IP addresses, subnets and ports

IPv4 and IPv6, CIDR notation, private ranges, NAT and ports.

Every cloud network, firewall rule and Kubernetes cluster asks for address ranges in CIDR notation, such as `10.0.0.0/16`. Learn how to read one, how many addresses it holds, and how to split it into subnets.

Learn the private ranges, what NAT does, why IPv6 is coming anyway, and that a port is how one machine tells its services apart: 22 for SSH, 443 for HTTPS.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Article: [What is a subnet?, Cloudflare](https://www.cloudflare.com/learning/network-layer/what-is-a-subnet/)
- Official: [RFC 1918: Address allocation for private internets](https://www.rfc-editor.org/rfc/rfc1918)

Topic page: https://opsfolk.com/roadmaps/devops/topics/ip-addresses-subnets-and-ports

### DNS

How names become addresses, record types, TTLs, and why it's always DNS.

DNS turns a name into an address. Learn how a resolver walks from the root to a domain's name servers, the records you will set (`A`, `AAAA`, `CNAME`, `MX`, `TXT`), and what a TTL does to how fast a change spreads.

Use `dig` to ask any server directly. A large share of outages come down to DNS: a record that changed, a TTL too long, a resolver that caches a failure.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Article: [What is DNS?, Cloudflare](https://www.cloudflare.com/learning/dns/what-is-dns/)
- Official: [RFC 1034: Domain names, concepts and facilities](https://www.rfc-editor.org/rfc/rfc1034)

Topic page: https://opsfolk.com/roadmaps/devops/topics/dns

### HTTP and HTTPS

Requests and responses, methods, status codes, headers and caching.

HTTP is what nearly every service you run speaks. Learn a request's parts (method, path, headers, body), a response's status codes and what each family means, and the headers that matter in operations: `Host`, `Cache-Control`, `X-Forwarded-For`.

HTTPS is HTTP inside TLS. `curl -v` shows you all of it, and is the first tool to reach for when a service misbehaves.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [HTTP, MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP)
- Official: [curl documentation](https://curl.se/docs/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/http-and-https

### TLS and certificates

Encryption in transit, certificate chains, and renewing them automatically.

TLS encrypts a connection and proves the server is who it says it is, with a certificate signed by an authority the client trusts. Learn what a chain is, what a private key is and where it must never go, and how SNI lets one address serve many names.

Certificates expire, and an expired one is a classic outage. Let's Encrypt and the ACME protocol renew them automatically: use that, and monitor expiry anyway.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Let's Encrypt documentation](https://letsencrypt.org/docs/)
- Article: [What is TLS?, Cloudflare](https://www.cloudflare.com/learning/ssl/transport-layer-security-tls/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/tls-and-certificates

### SSH

Logging in to servers with keys, config files, tunnels and jump hosts.

SSH is how you reach a server's shell, and how tools such as Ansible and Git reach it too. Log in with keys, never passwords: learn `ssh-keygen`, `authorized_keys`, and the agent.

A `~/.ssh/config` file saves typing; `-L` forwards a port through the connection, and `ProxyJump` reaches a private server through a bastion. On a server, turn off password and root logins.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [OpenSSH manual pages](https://www.openssh.com/manual.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/ssh

### Networking tools

ping, traceroute, dig, curl, ss and tcpdump: finding where a connection breaks.

When something cannot connect, work up the layers. `ping` and `traceroute` for reachability and the route, `dig` for the name, `ss -tlnp` for what is listening on a port, `curl` or `nc` to try the port itself, and `tcpdump` to see the packets when nothing else explains it.

Practise on a working system, so you know what normal looks like before you need it.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [ss(8) manual page](https://man7.org/linux/man-pages/man8/ss.8.html)
- Official: [tcpdump manual page](https://www.tcpdump.org/manpages/tcpdump.1.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/networking-tools

### File transfer (optional)

scp, SFTP and rsync for moving files between machines over SSH.

Moving files between machines is a daily chore. `scp` and SFTP copy over SSH; `rsync` copies only what changed, which makes it the tool for backups and large directories. Plain FTP sends passwords in clear text and belongs only to old systems you have to connect to.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [rsync documentation](https://rsync.samba.org/documentation.html)
- Official: [sftp(1), OpenSSH](https://man.openbsd.org/sftp)

Topic page: https://opsfolk.com/roadmaps/devops/topics/file-transfer

### Email protocols (optional)

SMTP, IMAP, and SPF, DKIM and DMARC so your mail is delivered.

Most teams send email through a provider rather than run a mail server, but you will still set its DNS records. SMTP sends mail, IMAP and POP3 fetch it. SPF lists the servers allowed to send for a domain, DKIM signs each message, and DMARC tells receivers what to do when either fails.

Without the three, an application's password resets land in spam.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Article: [DMARC, DKIM and SPF, Cloudflare](https://www.cloudflare.com/learning/email-security/dmarc-dkim-spf/)
- Official: [DMARC overview](https://dmarc.org/overview/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/email-protocols

## 4. Version control

Git, where every change to code and infrastructure starts.

### Git

Commits, history and remotes: the record of every change.

Git records every change to a set of files, who made it and why. In DevOps it holds not only application code but pipelines, infrastructure and configuration, so it is where every change starts.

Learn `init`, `add`, `commit`, `log`, `diff`, `push` and `pull`, then how to undo: `restore`, `revert` and `reset`. Write commit messages that say why, for the person reading the history during an incident.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Pro Git book](https://git-scm.com/book/en/v2)
- Official: [Git reference](https://git-scm.com/docs)

Topic page: https://opsfolk.com/roadmaps/devops/topics/git

### Branching and merging

Working apart on branches, and bringing the work back with merge or rebase.

A branch lets you work on a change without disturbing anyone else's. Learn to create and switch branches, merge them back, resolve a conflict, and rebase to keep a history straight.

Know what a fast-forward is, and why rewriting history that others have pulled causes trouble.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Git branching, Pro Git](https://git-scm.com/book/en/v2/Git-Branching-Branches-in-a-Nutshell)

Topic page: https://opsfolk.com/roadmaps/devops/topics/branching-and-merging

### Git hosting

GitHub, GitLab or Bitbucket: shared repositories, access and automation.

A hosting service keeps the shared copy of a repository, controls who can push, and runs pipelines on every change. GitHub is the most widely used, GitLab is common in companies that host it themselves, and Bitbucket goes with Atlassian's tools.

Learn one well: SSH keys, protected branches, tokens for automation, and its CI system, which the CI/CD stage comes back to.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [GitHub documentation](https://docs.github.com/en)
- Official: [GitLab documentation](https://docs.gitlab.com/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/git-hosting

### Pull requests and code review

Proposing a change, having it checked by people and machines, and merging it.

A pull request, or merge request, proposes a branch's changes for review. Automated checks run on it, a colleague reads it, and only then does it merge. That review applies to infrastructure too: a Terraform plan or a Kubernetes manifest is reviewed like code.

Keep requests small, describe why, and protect the main branch so that nothing reaches it without passing checks.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [About pull requests, GitHub](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)

Topic page: https://opsfolk.com/roadmaps/devops/topics/pull-requests-and-code-review

### Branching strategies (optional)

Trunk-based development and its alternatives, and how they shape releases.

A team agrees how branches flow into a release. Trunk-based development keeps branches short and merges to main daily, which suits continuous delivery. Longer-lived release branches and GitFlow suit software shipped in versions.

Most teams doing DevOps move towards the trunk, with feature flags for work that is not ready.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Article: [Trunk-based development](https://trunkbaseddevelopment.com/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/branching-strategies

## 5. Web servers and proxies

What sits in front of an application: servers, proxies, balancers, caches, firewalls.

### Web servers

Nginx, Caddy and Apache: serving files and handing requests to applications.

A web server takes HTTP requests and answers them, from files on disk or by passing them to an application. Nginx is the most common in front of applications, Caddy gets TLS certificates on its own, and Apache httpd is still everywhere. IIS serves Windows.

Learn one in depth: virtual hosts, serving static files, TLS, access and error logs, and reloading the configuration without dropping connections.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Nginx documentation](https://nginx.org/en/docs/)
- Official: [Caddy documentation](https://caddyserver.com/docs/)
- Official: [Apache HTTP Server documentation](https://httpd.apache.org/docs/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/web-servers

### Reverse proxies

One entry point that terminates TLS and forwards requests to the applications behind it.

A reverse proxy stands in front of your applications: clients talk to it, and it forwards each request to the right one. It is where TLS usually ends, where requests are routed by host or path, and where headers such as `X-Forwarded-For` tell the application who the client was.

Nginx, Caddy, HAProxy and Traefik all do it, and so do a cloud's load balancers and a Kubernetes ingress.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Nginx reverse proxy](https://docs.nginx.com/nginx/admin-guide/web-server/reverse-proxy/)
- Official: [reverse_proxy, Caddy](https://caddyserver.com/docs/caddyfile/directives/reverse_proxy)

Topic page: https://opsfolk.com/roadmaps/devops/topics/reverse-proxies

### Load balancing

Spreading requests over several servers, and taking out the ones that fail.

A load balancer spreads traffic over several copies of a service, so that one can fail, or be replaced during a deploy, without anyone noticing. Learn the algorithms (round robin, least connections), health checks that take a bad server out, the difference between balancing at layer 4 and layer 7, and why sticky sessions are best avoided.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [HTTP load balancing, Nginx](https://docs.nginx.com/nginx/admin-guide/load-balancer/http-load-balancer/)
- Official: [HAProxy documentation](https://docs.haproxy.org/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/load-balancing

### Caching

HTTP caching, caching proxies and CDNs: answering without asking the application.

The fastest request is one the application never sees. HTTP's `Cache-Control` headers say what may be kept and for how long; a caching proxy such as Varnish or Nginx, or a CDN, then answers from its copy.

Learn what makes a response safe to cache, how to expire it, and the classic mistake: caching a page that was meant for one signed-in user.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [HTTP caching, MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching)
- Official: [Varnish documentation](https://varnish-cache.org/docs/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/caching

### Firewalls

Allowing only the traffic a machine should get: nftables, ufw and cloud security groups.

A firewall allows the traffic a machine should receive and drops the rest. On Linux the kernel's nftables does it, often through a simpler front end such as `ufw` or `firewalld`; in a cloud, security groups and network ACLs do it before traffic arrives.

Start from deny all, open only what is needed, and never lock yourself out of SSH on a remote machine: keep a session open while you change rules.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [nftables wiki](https://wiki.nftables.org/)
- Official: [Firewall, Ubuntu Server](https://documentation.ubuntu.com/server/how-to/security/firewalls/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/firewalls

### Forward proxies (optional)

A proxy on the way out, which controls and logs what internal machines reach.

A forward proxy sits between internal machines and the internet, on the way out: clients send their requests through it, and it decides what may go and records it. Companies use one to restrict and audit outbound traffic, and servers in private networks often reach package mirrors through one.

Squid is the classic; know the `HTTP_PROXY` and `NO_PROXY` variables most tools obey.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Squid documentation](https://www.squid-cache.org/Doc/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/forward-proxies

## 6. Containers

Packaging an application with everything it needs to run anywhere.

### What a container is

An isolated process with its own file system, and how it differs from a virtual machine.

A container is a Linux process isolated with namespaces and limited with cgroups, running from an image that holds its application and everything it needs. It shares the host's kernel, so it starts in a fraction of a second and wastes little, unlike a virtual machine with a kernel of its own.

That is why containers became the unit DevOps ships: the same image runs on a laptop, in CI and in production. The Docker roadmap on this site goes deeper.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [What is a container?, Docker](https://docs.docker.com/get-started/docker-concepts/the-basics/what-is-a-container/)
- Official: [Open Container Initiative](https://opencontainers.org/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/what-a-container-is

### Docker

Running containers, mapping ports and mounting data with the Docker CLI.

Docker is the usual way to build and run containers. Learn `docker run` with its options for ports, variables and volumes, `docker ps`, `logs`, `exec` and `stop`, and the difference between an image and a container.

Run a database and a web server from ready-made images before building your own.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Get started, Docker](https://docs.docker.com/get-started/)
- Official: [docker container run reference](https://docs.docker.com/reference/cli/docker/container/run/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/docker

### Writing Dockerfiles

Building images that are small, cached well and safe to run.

A Dockerfile is the recipe for an image. Learn its instructions, how each one makes a cached layer and why their order decides how fast rebuilds are, and multi-stage builds that leave compilers out of the final image.

Aim for small images from a slim or distroless base, a `.dockerignore`, a pinned base version, and a user other than root.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Building best practices, Docker](https://docs.docker.com/build/building/best-practices/)
- Official: [Dockerfile reference](https://docs.docker.com/reference/dockerfile/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/writing-dockerfiles

### Docker Compose

An application and its database, cache and workers, started from one file.

Compose describes several containers in a `compose.yaml` file: each service's image or build, ports, variables, volumes and dependencies. `docker compose up` starts them on a network of their own, where they find each other by name.

It is how most teams run a local stack, and it is enough for small production setups on a single server.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Docker Compose](https://docs.docker.com/compose/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/docker-compose

### Image registries

Where images are pushed and pulled from, and how tags and digests name them.

A registry stores images so that CI can push them and servers can pull them. Docker Hub is the public default; every cloud has its own (ECR, Artifact Registry, ACR), GitHub and GitLab have one, and Harbor runs on your own servers.

Learn how an image is named, why a tag such as `latest` can move while a digest cannot, and how a server logs in to a private registry.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Docker Hub documentation](https://docs.docker.com/docker-hub/)
- Official: [Harbor documentation](https://goharbor.io/docs/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/image-registries

### Other container tools (optional)

Podman, containerd and LXC: other ways to run containers.

Docker is not the only way. Podman runs the same images without a daemon and without root; containerd is the runtime under Docker and most Kubernetes clusters; LXC runs whole system containers that feel like light virtual machines.

The images are the same OCI format everywhere, so what you learnt with Docker carries over.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Podman documentation](https://docs.podman.io/)
- Official: [LXC introduction](https://linuxcontainers.org/lxc/introduction/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/other-container-tools

## 7. Cloud providers

Renting compute, networks, storage and identity, and what they cost.

### Cloud computing models

IaaS, PaaS, SaaS and serverless, regions and zones, and the shared responsibility model.

A cloud rents computing as a service, at several levels: virtual machines and networks (IaaS), platforms that run your code (PaaS), and finished software (SaaS). The higher you go, the less you manage and the less you control.

Learn regions and availability zones, which shape every design for failure, and the shared responsibility model: the provider secures the cloud, you secure what you put in it.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [The NIST definition of cloud computing](https://csrc.nist.gov/pubs/sp/800/145/final)
- Official: [Shared responsibility model, AWS](https://aws.amazon.com/compliance/shared-responsibility-model/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/cloud-computing-models

### A major cloud provider

AWS, Azure or Google Cloud: learn one well before the others.

Three providers hold most of the market: AWS, Microsoft Azure and Google Cloud. Pick the one your team or the jobs near you use, or AWS if nothing decides it, and learn its console, its CLI and its free tier.

The services have different names but the same shapes, so the topics that follow apply to all three, and a second cloud is quick once you know one.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [AWS documentation](https://docs.aws.amazon.com/)
- Official: [Azure documentation](https://learn.microsoft.com/en-us/azure/)
- Official: [Google Cloud documentation](https://cloud.google.com/docs)

Topic page: https://opsfolk.com/roadmaps/devops/topics/major-cloud-provider

### Identity and access management

Users, roles and policies: who and what may do which action on which resource.

IAM decides who, and which machine, may do what in a cloud account. Learn users and groups, roles that a service or a pipeline takes on, and policies that grant actions on resources.

Give the least privilege that works, prefer short-lived credentials to long-lived keys, protect the root account with MFA and never use it day to day. Most cloud breaches start with a leaked key or a policy that grants `*`.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [What is IAM?, AWS](https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction.html)
- Official: [IAM overview, Google Cloud](https://cloud.google.com/iam/docs/overview)

Topic page: https://opsfolk.com/roadmaps/devops/topics/identity-and-access-management

### Cloud networking

Virtual networks, public and private subnets, gateways and security groups.

In a cloud you build the network yourself: a virtual network (a VPC) with an address range, public subnets that reach the internet through a gateway, private ones that reach it through NAT, route tables, and security groups around each resource.

The usual design puts only load balancers in public subnets and everything else in private ones. Everything from the networking stage applies here.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [What is Amazon VPC?](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html)
- Official: [VPC overview, Google Cloud](https://cloud.google.com/vpc/docs/overview)

Topic page: https://opsfolk.com/roadmaps/devops/topics/cloud-networking

### Compute and storage

Virtual machines, disks, object storage and managed databases.

The building blocks you will use most: virtual machines (EC2, Compute Engine, Azure VMs) with their disks, object storage for files and backups (S3 and its equivalents), and managed databases that take patching and backups off your hands.

Learn instance types and autoscaling groups, the difference between block and object storage, and when a managed service is worth its price.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Amazon EC2 documentation](https://docs.aws.amazon.com/ec2/)
- Official: [Amazon S3 documentation](https://docs.aws.amazon.com/s3/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/compute-and-storage

### Serverless (optional)

Functions and containers that run on demand, with no server to manage.

Serverless platforms run your code when a request or an event arrives, scale it to zero when nothing does, and bill by use. AWS Lambda, Google Cloud Run, Azure Functions and Cloudflare Workers are the best known; Vercel and Netlify do the same for websites.

It suits spiky and event-driven work. Know its limits: cold starts, time limits, and a bill that grows with traffic.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [AWS Lambda documentation](https://docs.aws.amazon.com/lambda/)
- Official: [Cloud Run documentation](https://cloud.google.com/run/docs)
- Official: [Cloudflare Workers documentation](https://developers.cloudflare.com/workers/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/serverless

### Smaller cloud providers (optional)

DigitalOcean, Hetzner and the like: simpler and cheaper for many workloads.

Not every project needs one of the three giants. DigitalOcean, Hetzner, Linode and others rent virtual machines, managed databases and Kubernetes with simpler pricing and often a much smaller bill.

They are a good place to practise, and run many production sites too; what they lack is the long list of managed services.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [DigitalOcean documentation](https://docs.digitalocean.com/)
- Official: [Hetzner Docs](https://docs.hetzner.com/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/smaller-cloud-providers

### Cloud costs (optional)

Reading the bill, budgets and alerts, and the usual ways money leaks.

A cloud bills for everything, by the hour or the request, and a forgotten resource keeps billing. Learn to read the bill, set budgets and alerts from day one, tag resources by owner, and spot the usual leaks: idle machines, unattached disks, data transfer between zones, and logs kept forever.

FinOps is the practice of making a team own what it spends.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Article: [What is FinOps?](https://www.finops.org/introduction/what-is-finops/)
- Official: [AWS Budgets](https://docs.aws.amazon.com/cost-management/latest/userguide/budgets-managing-costs.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/cloud-costs

## 8. Infrastructure as code

Servers, networks and their settings described in files and applied by tools.

### What infrastructure as code is

Describing infrastructure in files, reviewed and applied like code, instead of clicking.

Infrastructure as code describes servers, networks and their settings in files kept in Git. A tool compares the files with what exists and makes the changes. The result can be reviewed in a pull request, repeated in another region, and rebuilt after a disaster.

Two kinds of tool share the work: provisioning tools create the resources, configuration management sets up what runs on them. Declarative tools describe the end state; the tool works out the steps.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [What is infrastructure as code?, HashiCorp](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/infrastructure-as-code)

Topic page: https://opsfolk.com/roadmaps/devops/topics/what-infrastructure-as-code-is

### Terraform and OpenTofu

The most widely used provisioning tool, and its open-source fork.

Terraform describes resources in HCL for nearly any provider: clouds, DNS, monitoring, Kubernetes. `terraform plan` shows what would change and `apply` makes it so. OpenTofu is the open-source fork, made after Terraform's licence changed in 2023, and reads the same files.

Learn providers, resources, variables and outputs, and read every plan before you apply it: a plan that says `destroy` deserves a second look.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Terraform documentation](https://developer.hashicorp.com/terraform/docs)
- Official: [OpenTofu documentation](https://opentofu.org/docs/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/terraform-and-opentofu

### State and modules

Where Terraform keeps track of what it made, and how to reuse code across environments.

Terraform remembers what it created in a state file. Keep it in a remote backend, such as an S3 bucket or Terraform Cloud, with locking so that two applies cannot run at once, and treat it as secret: it can hold passwords.

Modules package resources for reuse, so that staging and production are the same code with different inputs. Learn `import` and `moved` blocks for resources that already exist or change name.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [State, Terraform](https://developer.hashicorp.com/terraform/language/state)
- Official: [Modules, Terraform](https://developer.hashicorp.com/terraform/language/modules)

Topic page: https://opsfolk.com/roadmaps/devops/topics/state-and-modules

### Other provisioning tools (optional)

Pulumi, AWS CDK and CloudFormation: infrastructure in a programming language, or one cloud's own.

Pulumi and the AWS CDK describe infrastructure in a general language such as TypeScript or Python, with loops, functions and tests. CloudFormation is AWS's own declarative format, which the CDK compiles to; Azure has Bicep.

Learn them when a team already uses one. The ideas, plan, apply, state and drift, are Terraform's.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Pulumi documentation](https://www.pulumi.com/docs/)
- Official: [AWS CDK documentation](https://docs.aws.amazon.com/cdk/)
- Official: [AWS CloudFormation documentation](https://docs.aws.amazon.com/cloudformation/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/other-provisioning-tools

### Configuration management with Ansible

Setting up packages, files and services on many servers at once, over SSH.

Once a server exists, something has to install its packages, write its configuration files and start its services, the same way on every machine. Ansible does it over SSH with nothing to install on the servers: playbooks in YAML list tasks, run against an inventory of hosts.

Learn modules, roles, variables and templates, and write tasks that are idempotent, so that a second run changes nothing.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Ansible documentation](https://docs.ansible.com/)
- Official: [Getting started with Ansible](https://docs.ansible.com/ansible/latest/getting_started/index.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/ansible

### Chef and Puppet (optional)

Older configuration tools with an agent on each server, still common in larger companies.

Chef and Puppet came before Ansible. An agent on each server pulls its configuration from a central server and enforces it on a schedule, so drift is corrected without anyone running anything. Many larger companies still run them.

Learn one if a job asks for it; the idea of a declared, enforced state is the same as Ansible's.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Chef documentation](https://docs.chef.io/)
- Official: [Puppet documentation](https://www.puppet.com/docs)

Topic page: https://opsfolk.com/roadmaps/devops/topics/chef-and-puppet

### Secrets management

Keeping passwords, keys and tokens out of Git and handing them to what needs them.

Infrastructure and pipelines need passwords, API keys and certificates, and none of them belong in Git. A secrets manager stores them encrypted, controls who reads them and records each read: HashiCorp Vault, or a cloud's own such as AWS Secrets Manager.

When secrets must live beside the code, SOPS encrypts them in the file, and Sealed Secrets does it for Kubernetes. Rotate them, and assume a secret that reached a log is leaked.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Vault documentation](https://developer.hashicorp.com/vault/docs)
- Official: [SOPS documentation](https://getsops.io/docs/)
- Official: [AWS Secrets Manager](https://docs.aws.amazon.com/secretsmanager/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/secrets-management

## 9. CI/CD

Every change built, tested and shipped by a pipeline, safely.

### Continuous integration and delivery

Every change built and tested on its own, and always ready to release.

Continuous integration builds and tests every change as soon as it is pushed, so that problems show within minutes, not at release time. Continuous delivery keeps the result always ready to deploy; continuous deployment goes one step further and deploys every change that passes.

A pipeline usually runs lint, tests and a build, then publishes an artifact and deploys it through environments. Keep it fast: a slow pipeline is one people work around.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Article: [Continuous Integration, Martin Fowler](https://martinfowler.com/articles/continuousIntegration.html)
- Article: [Continuous Delivery, Martin Fowler](https://martinfowler.com/bliki/ContinuousDelivery.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/continuous-integration-and-delivery

### GitHub Actions

Workflows in YAML that run on GitHub's machines on every push and pull request.

GitHub Actions runs workflows defined in `.github/workflows/` when something happens in a repository: a push, a pull request, a schedule, a button. Jobs run on GitHub's machines or your own, and reuse steps published by others.

Learn triggers, jobs and their dependencies, caching, secrets and environments, and OpenID Connect, which lets a workflow reach a cloud without a stored key. Pin third-party actions to a commit.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [GitHub Actions documentation](https://docs.github.com/en/actions)
- Official: [Security hardening for GitHub Actions](https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions)

Topic page: https://opsfolk.com/roadmaps/devops/topics/github-actions

### GitLab CI/CD (optional)

GitLab's pipelines, defined in .gitlab-ci.yml and run by runners.

GitLab's pipelines live in a `.gitlab-ci.yml` file in the repository: stages, jobs and the rules that decide when each runs, executed by runners you host or GitLab's own. It is common where companies run GitLab themselves.

The ideas are those of GitHub Actions under other names; learn it if your team uses GitLab.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [GitLab CI/CD](https://docs.gitlab.com/ci/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/gitlab-ci

### Jenkins and other CI servers (optional)

Jenkins, CircleCI, TeamCity and Octopus Deploy: what many existing pipelines run on.

Jenkins is the oldest and most widely deployed CI server, self-hosted, with pipelines written in a Groovy `Jenkinsfile` and a plugin for everything. Many companies still build on it. CircleCI and TeamCity are other CI services; Octopus Deploy specialises in deployments.

You will likely meet Jenkins in an existing job; for something new, a CI built into your Git host is usually simpler.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Jenkins documentation](https://www.jenkins.io/doc/)
- Official: [Pipeline, Jenkins](https://www.jenkins.io/doc/book/pipeline/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/jenkins

### Artifact management

Storing built packages and images once, and promoting the same artifact everywhere.

A pipeline builds an artifact once, an image, a package or a binary, and stores it in a repository. The same artifact then moves from staging to production, never rebuilt, so what was tested is what runs.

Artifactory and Nexus hold every kind of package and cache public ones; GitHub Packages, GitLab's registry and the clouds' registries cover the common cases. Give artifacts versions you can trace back to a commit.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [GitHub Packages](https://docs.github.com/en/packages)
- Official: [Sonatype Nexus Repository](https://help.sonatype.com/en/sonatype-nexus-repository.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/artifact-management

### Deployment strategies

Rolling, blue-green and canary releases: shipping without downtime, and rolling back fast.

How a new version replaces the old decides what users see when it goes wrong. A rolling update replaces instances a few at a time. Blue-green runs the new version beside the old and switches traffic at once, so a rollback is switching back. A canary sends a small share of traffic to the new version first and watches it.

Feature flags separate deploying code from turning it on. Whatever you pick, practise the rollback.

On this site:

- Article: [Blue-Green Deployment Explained: Zero-Downtime Releases with Instant Rollback](https://opsfolk.com/blog/blue-green-deployment.md) (18 min read)

Elsewhere:

- Article: [Canary release, Martin Fowler](https://martinfowler.com/bliki/CanaryRelease.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/deployment-strategies

### Software supply chain security (optional)

Scanning dependencies, signing what you build, and proving where it came from.

What you ship includes every dependency and base image, and the pipeline that built it. Scan images and dependencies for known vulnerabilities (Trivy, Dependabot), produce a software bill of materials, sign artifacts with Sigstore's `cosign`, and record how each was built.

SLSA describes levels of assurance for a build. Protect the pipeline itself: it holds the keys to production.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [SLSA](https://slsa.dev/)
- Official: [Sigstore documentation](https://docs.sigstore.dev/)
- Official: [Trivy documentation](https://trivy.dev/latest/docs/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/supply-chain-security

## 10. Observability

Metrics, logs and traces: knowing what a system is doing and when to wake someone.

### Metrics and monitoring

Numbers over time from every service and machine, collected with Prometheus.

Metrics are numbers measured over time: requests per second, errors, latency, CPU, queue length. Prometheus is the usual open-source collector: it scrapes an HTTP endpoint on each target, stores the series, and answers queries in PromQL. Zabbix and Nagios do host monitoring the older way.

Start with the four golden signals for each service, latency, traffic, errors and saturation, and with node_exporter on each machine.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Prometheus overview](https://prometheus.io/docs/introduction/overview/)
- Article: [Monitoring distributed systems, Google SRE book](https://sre.google/sre-book/monitoring-distributed-systems/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/metrics-and-monitoring

### Dashboards with Grafana

Graphs of metrics, logs and traces from many sources, on one screen.

Grafana draws dashboards from Prometheus and dozens of other sources, logs and traces included. Learn to build a panel from a query, use variables so one dashboard serves every service, and keep dashboards as code.

A good dashboard answers one question, such as "is this service healthy?", at a glance. Twenty panels that nobody reads do not.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Grafana documentation](https://grafana.com/docs/grafana/latest/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/grafana

### Log management

Collecting every service's logs in one place, and searching them.

With many servers and containers, logging in to each to read files does not work. A log pipeline collects every service's output, adds labels such as the service and host, and stores it to search: the Elastic Stack, Grafana Loki, Graylog, or a hosted service such as Splunk or Papertrail.

Have applications write structured logs, as JSON lines with consistent fields, to standard output. Set retention: logs are cheap per line and expensive in bulk.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Grafana Loki documentation](https://grafana.com/docs/loki/latest/)
- Official: [Elastic documentation](https://www.elastic.co/docs)

Topic page: https://opsfolk.com/roadmaps/devops/topics/log-management

### Distributed tracing

Following one request through every service it touches, with OpenTelemetry.

When a request passes through ten services, a trace shows each step it took and how long each took, so you can see which one was slow. Each service passes a trace id along and records spans.

OpenTelemetry is the open standard for producing traces, metrics and logs alike, with SDKs for most languages and a collector that sends the data anywhere. Jaeger and Grafana Tempo store and show traces.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [OpenTelemetry documentation](https://opentelemetry.io/docs/)
- Official: [Jaeger documentation](https://www.jaegertracing.io/docs/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/distributed-tracing

### Alerting and on-call

Waking someone only when users are hurt, with a clear page and a runbook.

An alert should mean that a person has to act, now. Alert on symptoms users feel, such as errors and latency, rather than on every cause, such as high CPU, and send the rest to a ticket or a dashboard. Prometheus's Alertmanager groups and routes alerts to chat or a pager.

Each alert should link to a runbook that says what to check first. Noisy alerts get ignored, and then a real one does too.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Alertmanager, Prometheus](https://prometheus.io/docs/alerting/latest/alertmanager/)
- Article: [Being on-call, Google SRE workbook](https://sre.google/workbook/on-call/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/alerting-and-on-call

### SLOs and error budgets (optional)

Agreeing how reliable a service must be, and spending what is left on change.

A service level objective says how reliable a service must be, measured from the user's side: for example, 99.9% of requests succeed within 300 ms over 30 days. What is left, here 0.1%, is the error budget. While budget remains, the team ships; when it runs out, it works on reliability.

SLOs turn arguments about stability against speed into a number, and make good alerts: page when the budget burns too fast.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Article: [Implementing SLOs, Google SRE workbook](https://sre.google/workbook/implementing-slos/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/slos-and-error-budgets

### Hosted observability platforms (optional)

Datadog, New Relic and the like: metrics, logs and traces as a service.

Datadog, New Relic, Honeycomb and others collect metrics, logs and traces for you, with agents, integrations and dashboards ready made. They save running your own stack, and cost more the more you send.

Many teams use one; the ideas, golden signals, structured logs and traces, are the same as with the open-source tools.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Datadog documentation](https://docs.datadoghq.com/)
- Official: [New Relic documentation](https://docs.newrelic.com/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/hosted-observability-platforms

## 11. Orchestration and GitOps

Running containers across many machines, deployed from Git.

### Kubernetes

Running containers across a cluster of machines, kept in the state you declare.

Kubernetes runs containers across a cluster of machines. You declare what should run, in YAML: a Deployment with three copies, a Service in front of them, the resources they need. Its controllers keep it that way, restarting what fails and moving work off a machine that dies.

Learn Pods, Deployments, Services, ConfigMaps and Secrets, and `kubectl`. The Kubernetes roadmap on this site takes you from there to running clusters.

On this site:

- Series: [Kubernetes Internals: How a Cluster Really Works](https://opsfolk.com/blog/series/kubernetes-internals-how-a-cluster-really-works) (9 parts)
- Playground: [Kubernetes cluster](https://opsfolk.com/playgrounds/kubernetes) (60 minutes, premium)
- Quiz: [KCNA practice: Kubernetes and cloud native basics](https://opsfolk.com/quizzes/kcna-practice-basics) (40 questions)
- Tool: [Kubernetes YAML generator](https://opsfolk.com/tools/kubernetes-yaml-generator)

Elsewhere:

- Official: [Kubernetes overview](https://kubernetes.io/docs/concepts/overview/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/kubernetes

### Managed Kubernetes

EKS, GKE and AKS: the cloud runs the control plane, you run the workloads.

Running Kubernetes' control plane yourself is hard work. Each cloud runs it for you: Amazon EKS, Google GKE and Azure AKS. You choose the node pools, and the provider handles the API server, etcd and upgrades.

Learn how the cloud's load balancers, disks and identity plug into the cluster, how to upgrade it, and how to size what runs on it.

On this site:

- Tool: [Kubernetes resource calculator](https://opsfolk.com/tools/kubernetes-resource-calculator)
- Quiz: [CKA practice: Kubernetes administration basics](https://opsfolk.com/quizzes/cka-practice-basics) (40 questions)

Elsewhere:

- Official: [Amazon EKS documentation](https://docs.aws.amazon.com/eks/)
- Official: [Google Kubernetes Engine documentation](https://cloud.google.com/kubernetes-engine/docs)
- Official: [Azure Kubernetes Service documentation](https://learn.microsoft.com/en-us/azure/aks/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/managed-kubernetes

### Helm

Packaging Kubernetes manifests as charts, with values for each environment.

Helm packages an application's Kubernetes manifests as a chart: templates plus a `values.yaml` that changes per environment. `helm install` and `helm upgrade` apply it as a release you can roll back.

Most third-party software, from databases to monitoring stacks, ships as a Helm chart, so you will use it even if you write your own manifests. Kustomize is the other common way to vary manifests, without templates.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Helm documentation](https://helm.sh/docs/)
- Official: [Kustomize, Kubernetes](https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/helm

### GitOps

The cluster pulls its desired state from Git: Argo CD and Flux.

In GitOps, a Git repository holds the desired state of the cluster, and an agent inside the cluster pulls it and applies it, continuously. A deploy is a merged pull request; a rollback is a revert; drift made by hand is put back.

Argo CD and Flux are the two main tools. The pipeline no longer needs credentials to the cluster, which is a security gain as well.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [OpenGitOps principles](https://opengitops.dev/)
- Official: [Argo CD documentation](https://argo-cd.readthedocs.io/en/stable/)
- Official: [Flux documentation](https://fluxcd.io/flux/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/gitops

### Other orchestrators (optional)

Amazon ECS and Fargate, Docker Swarm and Nomad: simpler ways to run containers at scale.

Kubernetes is not the only answer. Amazon ECS, often with Fargate so there are no machines to manage, runs containers on AWS with far less to learn. Docker Swarm extends Compose to a few machines. HashiCorp Nomad schedules containers and plain binaries alike.

For a small team on one cloud, one of these can be the better choice.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Amazon ECS documentation](https://docs.aws.amazon.com/ecs/)
- Official: [Swarm mode, Docker](https://docs.docker.com/engine/swarm/)
- Official: [Nomad documentation](https://developer.hashicorp.com/nomad/docs)

Topic page: https://opsfolk.com/roadmaps/devops/topics/other-orchestrators

### Service mesh (optional)

Istio, Linkerd and Consul: encryption, retries and traffic control between services.

A service mesh puts a proxy, often Envoy, beside every service, or in each node, and manages traffic between them: mutual TLS between every pair, retries and timeouts, traffic split for canaries, and metrics for every call, without changing the applications.

Istio, Linkerd and Consul are the best known. A mesh adds moving parts; reach for one when you have many services and these needs, not before.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Istio documentation](https://istio.io/latest/docs/)
- Official: [Linkerd documentation](https://linkerd.io/docs/)
- Official: [Envoy documentation](https://www.envoyproxy.io/docs)

Topic page: https://opsfolk.com/roadmaps/devops/topics/service-mesh

## 12. Reliability and design

Building systems that survive failure, and learning from the ones that didn't.

### High availability and scaling

No single point of failure, several zones, and capacity that follows demand.

A system is as available as its weakest single part. Run more than one of everything that matters, spread across availability zones, behind load balancers with health checks, and keep the application's instances stateless so any of them can answer.

Scale out by adding instances rather than up by enlarging one, and let autoscaling follow demand. Then test it: turn one zone off and see what happens.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Reliability pillar, AWS Well-Architected](https://docs.aws.amazon.com/wellarchitected/latest/reliability-pillar/welcome.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/high-availability-and-scaling

### Backups and disaster recovery

Backups you have restored, and a plan with recovery time and point objectives.

A backup you have never restored is a hope, not a backup. Back up databases and anything stateful automatically, keep copies in another region and one that an attacker with your credentials cannot delete, and restore them on a schedule.

A disaster recovery plan sets two numbers per system: how long it may be down (RTO) and how much data may be lost (RPO). They decide the design and the bill.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Disaster recovery of workloads on AWS](https://docs.aws.amazon.com/whitepapers/latest/disaster-recovery-workloads-on-aws/disaster-recovery-workloads-on-aws.html)

Topic page: https://opsfolk.com/roadmaps/devops/topics/backups-and-disaster-recovery

### Cloud design patterns

Retries, circuit breakers, queues and caches: proven answers to recurring problems.

Distributed systems fail in recurring ways, and the answers have names. Retries with backoff for brief failures, circuit breakers so a failing dependency is not hammered, queues to absorb bursts, caches to spare a database, bulkheads so one part's trouble stays there.

Microsoft's catalogue groups them by concern: availability, data management, design and implementation, management and monitoring. Read it to recognise them in systems you inherit.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [Cloud design patterns, Azure Architecture Center](https://learn.microsoft.com/en-us/azure/architecture/patterns/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/cloud-design-patterns

### Incident response and postmortems

Running an outage calmly, then learning from it without blame.

When production breaks, a clear process helps more than heroics: one person leads, one communicates, the rest investigate, and the first goal is to restore service, often by rolling back, before finding the cause.

Afterwards, a blameless postmortem records what happened, why the system allowed it, and what will change. Teams that write them, and do the follow-ups, have fewer repeat incidents.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Article: [Managing incidents, Google SRE book](https://sre.google/sre-book/managing-incidents/)
- Article: [Postmortem culture, Google SRE book](https://sre.google/sre-book/postmortem-culture/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/incident-response-and-postmortems

### Well-architected frameworks (optional)

The clouds' own checklists for reliable, secure and cost-effective designs.

Each large cloud publishes a framework for reviewing a design against its lessons: AWS's Well-Architected Framework, Google Cloud's Architecture Framework and Azure's Well-Architected Framework. They cover reliability, security, cost, performance and operations.

Use one as a checklist before a launch or when you inherit a system.

Nothing on this site for it yet: coming soon.

Elsewhere:

- Official: [AWS Well-Architected](https://aws.amazon.com/architecture/well-architected/)
- Official: [Google Cloud Well-Architected Framework](https://cloud.google.com/architecture/framework)
- Official: [Azure Well-Architected Framework](https://learn.microsoft.com/en-us/azure/well-architected/)

Topic page: https://opsfolk.com/roadmaps/devops/topics/well-architected-frameworks

## About this roadmap

This roadmap puts DevOps in the order to learn it, from a Linux shell to running systems that stay up. Each stage builds on the ones before it, so start at the top and move down; a topic marked optional can wait until a job asks for it.

DevOps is a way of working more than a tool: the people who write software and the people who run it share the work of shipping it, and automate what they do twice. The tools change every few years. What lasts is underneath them, which is why the first stages are Linux, networking and Git.

## Who it is for

Developers who want to deploy and run what they build, system administrators moving to automation and the cloud, and anyone aiming for a DevOps, platform or site reliability role.

## How to use it

- Open a topic for a few lines on what it is and why it matters here, then follow its links: this site's articles first, then the official documentation.
- Learn one tool of each kind well before looking at its rivals. One cloud, one CI system and one monitoring stack are enough to start; the ideas carry over.
- Build something as you go: a small application that you put in a container, deploy to a cloud with Terraform, ship from a pipeline and watch with dashboards and alerts.
- Mark a topic as done once you could explain it to a colleague and do it without notes. Your marks stay with your account.
- The [Docker roadmap](https://opsfolk.com/roadmaps/docker) and the [Kubernetes roadmap](https://opsfolk.com/roadmaps/kubernetes) go deeper into two of its stages.

## FAQ

### How long does it take to learn DevOps?

With steady practice, expect six months to a year to be useful in a junior role, and longer if Linux and networking are new to you. Nobody knows every tool on this map; teams pick a few, and you learn those well.

### Do I need to know how to program?

Yes, enough to automate. You will write shell scripts every week, and a language such as Python or Go for anything larger: tools, glue between APIs, and the occasional Kubernetes controller. You do not need to be an application developer.

### Which cloud provider should I learn first?

The one your team or the jobs near you use; otherwise AWS, which has the largest share. Compute, networks, identity and storage work much the same way on each, so a second cloud takes weeks, not months.

### Is DevOps the same thing as SRE or platform engineering?

They overlap. Site reliability engineering is Google's way of running production with software and error budgets; platform engineering builds the internal tools and paths other teams deploy through. Both use what this roadmap covers.
