DevOps & Tools
A short first path into DevOps: Linux, networking, Docker, Git, AWS, Terraform, Ansible, CI/CD and Nginx.
A compact starting route for developers moving into operations. It covers one scripting language, Linux and networking basics, containers, version control, a cloud provider, infrastructure as code, configuration management, CI/CD and a web server, enough to build, ship and run a real app. Each subject links the official documentation.
The subjects follow the roadmap.sh DevOps Beginner roadmap.
Operations work is full of glue: rotating logs, calling cloud APIs, parsing JSON, backing up databases. You need one general-purpose language beyond shell to write that glue cleanly, with error handling and tests. Pick one, get fluent enough to automate a real chore, and move on.
The default scripting language of operations teams: batteries-included standard library (subprocess, pathlib, json), boto3 for AWS and a huge ecosystem. Learn virtual environments with venv so scripts do not break the system Python.
Compiles to a single static binary, which makes CLI tools and small services trivial to ship. Docker, Kubernetes and Terraform are written in it, so reading Go also helps you understand the tools you run.
Nearly every server you touch runs Linux, so start with a friendly distribution like Ubuntu and live in the terminal. Get comfortable with the file system layout, permissions (chmod, chown), packages (apt), services (systemctl, journalctl), processes (ps, top, kill), pipes and redirection, and text tools such as grep, awk and sed. Write small Bash scripts to tie them together.
When a deploy "can not reach" something, the cause is usually DNS, a port, a route or a firewall. Learn IPv4 addressing and CIDR subnets, how TCP and UDP differ, what DNS records do, how HTTP and TLS sit on top, and how to use SSH keys. Debug with dig, curl -v, ss -tlnp and traceroute.
Containers package an app with its runtime so it behaves the same on a laptop and in production. Learn to write a lean Dockerfile (small base images such as Alpine, multi-stage builds, layer caching, a non-root user), run it with ports, volumes and environment variables, and wire several services together with Compose. Practise reading docker logs and docker exec into a broken container.
Every change to code and, in a GitOps team, to infrastructure goes through Git. Learn commits, branches, merging versus rebasing, resolving conflicts, and undoing mistakes with git revert, git restore and the reflog. Write commit messages that explain why.
The hosting side of Git: remote repositories, pull requests, code review, branch protection and issues. Put your scripts and infrastructure code here and get used to changing anything only through a reviewed pull request.
Pick one cloud and learn it properly; AWS has the largest market share. Begin with IAM (users, roles, least privilege), VPC networking, EC2 for servers and S3 for storage, then add RDS, Route 53, CloudWatch and ECS. Set a billing alarm on day one, and deploy one real app end to end.
Infrastructure as code: describe cloud resources in HCL, then terraform plan shows the diff and terraform apply makes it real. Learn providers, variables and outputs, modules, and why remote state with locking matters for teams. A good exercise is to tear down what you built by hand on AWS and recreate it from code.
Configuration management over plain SSH, with no agent on the target. An inventory lists the hosts, playbooks describe the desired state in YAML, and roles package reusable tasks; modules are idempotent, so re-running a playbook changes only what drifted. Automate something real, such as nightly database backups.
CI/CD that lives next to your code: YAML workflows in .github/workflows run jobs on events such as push or pull_request. Build, test and deploy on every change, keep credentials in encrypted secrets (or OIDC to the cloud), and cache dependencies to keep runs fast.
An event-driven web server that most often sits in front of applications as a reverse proxy. Learn server and location blocks, proxy_pass with the right forwarded headers, TLS certificates (for example from Let's Encrypt), caching, gzip, load balancing with upstream, and limit_req for rate limiting. Always run nginx -t before reloading.