Learning path
Become a DevOps and cloud engineer
Learn to run servers, containers and cloud infrastructure, and to automate how software gets built and released.
You will be able toYou'll finish able to provision infrastructure as code, run containers, automate releases and monitor what you run.
Stage 01
Foundations
Assumes: Nothing. A computer and, for the server tutorials, a small cloud server.
Learn Git and Linux by setting up and securing a real server.
Series: Git and GitHub workflow
How to Install and Configure Git
You will install Git 2.53 from Ubuntu 26.04's own packages, set your name and email, make main the default branch, choose an editor and a few safe defaults, use a different email for work projects, and create an SSH key to use with GitHub.
Beginner · 14 min
How to Make Your First Git Commits and Read the History
You will turn a folder into a Git repository, make commits in small steps, check what changed before you commit, ignore files that do not belong in history, rename and delete files, and read the history back in several ways.
Beginner · 16 min
How to Create, Switch and Merge Branches in Git
You will create branches, switch between them, commit on each, merge one into another in the two ways Git can, read the branch graph, and delete branches you no longer need.
Beginner · 15 min
How to Resolve a Git Merge Conflict
You will cause a merge conflict on purpose, read the conflict markers, resolve it by editing the file, finish the merge, back out of a merge you do not want, and pick one side of a conflict with a single command.
Intermediate · 14 min
How to Undo Mistakes in Git: restore, revert, reset and reflog
You will discard edits, unstage files, fix the last commit, undo a commit safely with revert, move a branch back with reset, and bring back commits you thought you had lost with the reflog.
Intermediate · 17 min
How to Keep Passwords and API Keys Out of Git
You will keep secrets in a git-ignored .env file, commit a safe template instead, stop a commit that contains a key with a pre-commit hook, and learn what to do when a secret has already been committed.
Beginner · 12 min
How to Push to GitHub over SSH and Open a Pull Request
You will connect a local repository to a new GitHub repository over SSH, push your work, push a branch, open a pull request from the website and from the GitHub CLI, merge it, and bring the result back to your computer.
Beginner · 16 min
Series: Your first production server
How to Do the Initial Setup of a New Ubuntu 26.04 Server
You will take a fresh Ubuntu 26.04 server from a root-only login to an updated machine with a daily-use account, your SSH key on it, a firewall and a known clock.
Beginner · 10 min
How to Create a Sudo User on Ubuntu 26.04
You will create a user that can run administrative commands with sudo, test it, limit it to specific commands, and take the access away again.
Beginner · 9 min
How to Log In to a Linux Server with SSH Keys
You will create an Ed25519 SSH key, install its public half on a server, log in without a password, and save the connection as a short name.
Beginner · 10 min
How to Install Nginx on Ubuntu 26.04
You will install the current stable Nginx 1.30 from the official nginx.org repository on Ubuntu 26.04, serve its test page, and learn where its files live and how to reload it safely.
Beginner · 10 min
How to Get Free HTTPS for Your Site with Let's Encrypt and Nginx
You will install Certbot 5.10, get a free Let's Encrypt certificate for your domain, have Nginx serve it over HTTPS, and confirm that it renews on its own.
Beginner · 10 min
How to Put Nginx in Front of a Node.js App as a Reverse Proxy
You will install Node.js 26, run a small app on a local port, and configure Nginx 1.30 to pass public traffic to it with the headers your app needs.
Intermediate · 12 min
How to Harden SSH on Ubuntu 26.04: Keys Only, No Root, Custom Limits
You will switch an Ubuntu 26.04 server's SSH daemon to key-only logins, turn off root login, limit who can connect and how many guesses they get, and test the change without locking yourself out.
Intermediate · 12 min
How to Set Up a UFW Firewall on Ubuntu 26.04
You will turn on UFW with a deny-by-default policy, allow SSH before you enable it so you stay connected, open only the web ports your server needs, and learn to list, remove and limit rules.
Beginner · 11 min
How to Block Brute-Force Logins with Fail2ban
You will install Fail2ban 1.1 on Ubuntu 26.04, set it up to ban any address that keeps failing SSH logins, test the rule against a sample log line, and learn how to see and undo bans.
Intermediate · 11 min
How to Turn On Automatic Security Updates on Ubuntu 26.04
You will check that unattended-upgrades installs security fixes by itself on Ubuntu 26.04, tune it to reboot at a quiet hour when a kernel update needs it, and read its logs to confirm it works.
Beginner · 9 min
How File Permissions Work in Linux: chmod, chown and umask
You will read Linux permission strings, change them with chmod and chown, set up a folder two users can share, and control the defaults with umask.
Beginner · 12 min
How to Find and Free Up Disk Space on a Linux Server
You will find which folders and files fill a Linux disk with df and du, free space safely from logs and packages, and track down space held by deleted files.
Beginner · 10 min
How to Schedule Jobs with Cron on Linux
You will schedule a command to run every minute, then on a real timetable, read the cron syntax, and learn why a job that works in your shell can fail under cron.
Beginner · 10 min
How to Run Your App as a systemd Service on Ubuntu 26.04
You will write a systemd unit file that starts your app at boot, restarts it when it crashes, runs it as an unprivileged user, and sends its logs to the journal.
Intermediate · 12 min
DNS Records Explained: A, AAAA, CNAME, MX and TXT, with dig Examples
You will learn what the common DNS record types do and read each one with dig, using a small practice DNS server you start yourself.
Beginner · 12 min
Stage 02
Core skills
Assumes: You can administer a Linux server over SSH.
Containerise apps, automate builds and deployments, and configure servers repeatably.
Series: From Docker to Kubernetes
How to Install Docker Engine on Ubuntu 26.04
You will install Docker Engine 29 from Docker's official apt repository on Ubuntu 26.04, run the hello-world image to prove it works, and set it up to start at boot, run without sudo and keep its logs from filling the disk.
Beginner · 11 min
How to Write a Dockerfile for a Node.js App
You will write a Dockerfile for a small Express app on Node.js 26, build it into an image, run it as a container on port 3000 as a non-root user, and order the file so rebuilds take seconds.
Beginner · 14 min
How to Run an App and PostgreSQL Together with Docker Compose
You will describe a Node.js app and a PostgreSQL 18 database in one compose.yaml, start both with one command, keep the data in a named volume, and keep the database password out of the file.
Intermediate · 16 min
How to Run Your First Kubernetes Cluster Locally with kind
You will create a one-node Kubernetes 1.37 cluster inside Docker with kind, talk to it with kubectl, run a pod from a public image and from an image built on your own machine, and delete the cluster when you are done.
Beginner · 14 min
How to Deploy an App and Expose It with a Service on Kubernetes
You will run an app on Kubernetes 1.37 as a Deployment with two replicas, watch it heal itself, give it a stable address with a Service, reach it from your computer, and roll out a new version with a way back.
Intermediate · 16 min
How to Configure a Kubernetes App with ConfigMaps and Secrets
You will keep settings and credentials out of your container image by passing them to a Kubernetes 1.37 Deployment as environment variables and as mounted files, update them without rebuilding, and learn what a Secret does and does not protect.
Intermediate · 17 min
How to Shrink Docker Images with Multi-Stage Builds
You will build the same small web site into two Docker images, one in a single stage and one in two, and see the second come out several times smaller because it ships only the built files and a web server.
Intermediate · 13 min
How to Create Your First GitHub Actions Workflow
You will write a workflow file that runs on every push and every pull request, check its syntax on your own computer with actionlint, push it, and read the run on GitHub.
Beginner · 11 min
How to Deploy to Your Server over SSH from GitHub Actions
You will set up a deploy key that can only do one thing on your Ubuntu 26.04 server, store it as an encrypted GitHub environment secret, and write a workflow that uploads each release over SSH and switches to it with a single atomic step.
Advanced · 20 min
How to Configure a Server with an Ansible Playbook
You will install Ansible 14 on your own computer, describe a web server's setup in a playbook, apply it over SSH, run it a second time to see that nothing changes, and preview a change with check mode before applying it.
Intermediate · 18 min
How to Automate Repeated Commands with a Makefile
You will write a Makefile that gives a project short, memorable commands (make check, make backup, make clean), learn how targets, prerequisites and variables work, and avoid the tab and .PHONY mistakes that trip up most first Makefiles.
Beginner · 12 min
How to Host Multiple Websites on One Server with Nginx
You will run two separate websites on one Ubuntu 26.04 server by giving each its own Nginx server block, decide what unknown names receive, and check every site before DNS points at it.
Intermediate · 11 min
How to Load Balance Traffic Across Servers with Nginx
You will spread requests across three backends with an Nginx upstream block, weight them, keep a spare in reserve, and watch Nginx route around a backend that stops answering.
Advanced · 14 min
Stage 03
Build projects
Assumes: You can build containers and write a CI workflow.
Define cloud infrastructure in code, deploy to it and watch it run.
How to Store Terraform 1.17 State Remotely in an S3 Bucket
You will create a private, versioned and encrypted S3 bucket for Terraform state, point Terraform 1.17 at it with native S3 locking, move an existing local state into it, and delete the bucket correctly when you finish.
Advanced · 18 min
How to Manage Infrastructure as Code with OpenTofu
You will install OpenTofu 1.13 on Ubuntu 26.04 from a checksum-verified release, describe two resources in code, create them with a saved plan, change and repair them, and then destroy everything, all without a cloud account.
Intermediate · 16 min
How to Launch an AWS EC2 Instance and Connect with SSH
You will launch an Ubuntu 26.04 LTS virtual server on AWS EC2 with the AWS CLI, allow SSH from your own address only, log in with a new key pair, and then terminate everything so it stops billing.
Beginner · 15 min
How to Host a Static Website on AWS S3 with CloudFront
You will store a static site in a private S3 bucket, put CloudFront in front of it with origin access control so that only CloudFront can read the files, serve it over HTTPS, and then delete the distribution, the bucket and the access control in the right order.
Intermediate · 20 min
How to Deploy a Container to Google Cloud Run
You will package a small Node.js 26 web service with a Dockerfile, deploy it to Google Cloud Run with one gcloud command, cap how far it can scale, roll back to an earlier revision, and delete every resource the deploy created.
Intermediate · 16 min
How to Monitor a Linux Server with Prometheus and Node Exporter
You will install Node Exporter 1.12 and Prometheus 3.16 from the official release files on Ubuntu 26.04, run both as locked-down systemd services that listen on localhost only, and query your server's CPU, memory and uptime with PromQL.
Intermediate · 25 min
How to Build Your First Grafana Dashboard from Prometheus Data
You will install Grafana 13.3 from its apt repository on Ubuntu 26.04, set the admin password before the first start, keep it on localhost, connect it to Prometheus, and build a server overview dashboard with uptime, memory and CPU panels that lives in a file you can keep in Git.
Intermediate · 25 min
How to Send Alerts with Prometheus Alertmanager
You will write alert rules in Prometheus 3.16, test them with promtool, install Alertmanager 0.35 on Ubuntu 26.04 listening on localhost only, route alerts to a receiver, trigger and resolve a real alert by stopping Node Exporter, and learn silences and an email receiver whose password stays in a file.
Advanced · 30 min
Stage 04
Job-ready
Assumes: You have deployed and monitored infrastructure you defined in code.
Operate systems the way an on-call team does.
How to Stop Log Files Filling Your Disk with logrotate
You will write a logrotate 3.22 rule for an application's log on Ubuntu 26.04, rotate it by size or age, compress and expire old copies, and fix the classic problem where a program keeps writing to the rotated file, using copytruncate and a signal to reopen the log.
Beginner · 18 min