DevOps
Learn how software gets from a commit to production and stays healthy there: the culture and metrics behind DevOps, CI/CD pipelines, release strategies, servers and networks, containers and Kubernetes, infrastructure as code, the cloud, observability and incident response, and securing the whole path.
What DevOps is and the problem it solvesWhy developers and operators ended up on opposite sides of a wall, what that cost, and how DevOps reframes the job as one team owning the path to production.Flow, feedback and continuous learningThe three ways behind DevOps: make work flow left to right, amplify feedback from right to left, and build a habit of learning from experiments and failure.Measuring delivery with DORA metricsThe five DORA software delivery metrics, how to compute them from a deploy log, how they changed in 2023 and 2024, and how teams misuse them.DevOps, SRE and platform engineeringHow DevOps culture, site reliability engineering and platform teams relate: one sets the goal, one makes reliability measurable, one makes the paved road.Team topologies and you build it, you run itShape teams around the flow of change: four team types, three ways of interacting, cognitive load as the limit, and why the team that builds a service runs it.Continuous integration as a practiceCI is a team habit, not a server: merge small changes into the mainline at least daily, verify each one automatically, and fix a broken build first.Anatomy of a pipeline: stages, jobs and gatesWhat a CI/CD pipeline is made of: stages that run in order, jobs that run in parallel, gates that stop bad changes, and why fast checks go first.Tests and quality gates in the pipelineWhich tests go in which pipeline stage, how to set quality gates that ratchet instead of nag, and why a flaky test is worse than no test.Build artifacts and artifact repositoriesWhat a build artifact is, why it needs a version and a digest, how artifact repositories store and proxy packages, and why published versions must never change.CI servers compared: Jenkins, GitLab CI and ActionsThe same two-stage pipeline in GitHub Actions, GitLab CI and a Jenkinsfile, and the real differences: hosting, runners, plugins, and where the config lives.Continuous delivery vs continuous deploymentContinuous delivery keeps every change releasable and a person picks when. Continuous deployment ships every green change. And deploying is not releasing.Build once, promote through environmentsBuild an artifact once, then move those exact bytes from test to staging to production, with configuration supplied by each environment rather than baked in.Deployment strategies: rolling, blue-green and canaryReplace a running version without downtime: recreate, rolling updates, blue-green switches and canaries, what each costs, and what each needs from your app.Progressive delivery and automated rollbackLet the pipeline watch the canary: raise traffic in steps, compare metrics with the stable version each time, and roll back automatically when it looks worse.Rolling back and rolling forwardWhen a release goes wrong, go back to the last good version or ship a fix on top? Why schemas and data decide, and how to keep rollback possible.The Linux server from an operator's seatWhat a Linux server actually is when you have to run one: where config, logs and state live, who the users are, and the first commands to run on a box.Running services with systemdKeep a program running across crashes, logouts and reboots: what systemd does as PID 1, how to read and write a unit file, and where its logs go.SSH keys, bastions and remote accessReach private servers without exposing them: key-only SSH, one hardened bastion host, ProxyJump on the client, and why agent forwarding is the risky shortcut.DNS records and TTLs in practiceThe DNS records an operator actually changes, why 'propagation' is just caches expiring, and how to move a service to a new IP without a long tail.Reverse proxies and load balancers with nginxPut nginx in front of your app: one public entry point that terminates TLS, spreads requests over a pool of backends, and routes around one that dies.TLS certificates and automated renewalWhy certificate expiry is a classic outage, how ACME gets and renews certificates with no human in the loop, and why lifetimes are dropping to 47 days.Firewalls, ports and network troubleshootingIt works on the server but not from your browser. Listening addresses, refused versus timed out, the two firewalls in the path, and an order to check them in.What a container really isA container is not a small VM. It is an ordinary Linux process with namespaces limiting what it sees, cgroups limiting what it uses, and its own filesystem.Images, layers and writing a DockerfileAn image is a stack of tar layers plus a config. See which Dockerfile lines make layers, why order decides cache hits, and how multi-stage builds cut size.Registries, tags and image provenanceRegistries store images by digest and tags point at them. Why tags move, how to pin a digest, and how SBOMs, provenance and signatures vouch for an image.Why orchestration existsOne container on one server is easy. Fifty across ten machines needs scheduling, restarts, rollouts and discovery. Orchestrators do that with reconcile loops.Kubernetes core objectsThe handful of Kubernetes objects you use every day, Pod, Deployment, Service, ConfigMap and Secret, and how labels and selectors wire them together.Packaging Kubernetes apps with Helm and KustomizeThree environments, one app, 90 percent identical YAML. Helm templates it with values, Kustomize patches plain YAML with overlays. When to reach for each.Infrastructure as code: declarative vs imperativeWhy clicking servers into existence fails at scale, what writing infrastructure as code buys you, and why declaring the end state beats scripting the steps.Terraform and OpenTofu: plan, apply and stateTerraform's loop: describe resources in HCL, init fetches providers, plan previews the diff, apply makes it real, and state links your code to the cloud.Modules, environments and remote stateMake Terraform work for a team: shared locked state in a remote backend, modules for reuse, and one layout that keeps dev, staging and prod alike but apart.Configuration management with AnsibleTerraform made the servers; something must set them up. How Ansible configures many machines over SSH with idempotent tasks, handlers and a dry-run mode.Immutable infrastructure and golden imagesStop patching live servers. Bake a versioned machine image with Packer, test it, and replace servers instead of changing them, so no server can drift.GitOps with Argo CD and FluxMake a Git repository the source of truth for a cluster: an agent inside it pulls changes, applies them, reverts drift, and a rollback is just git revert.Cloud service models: IaaS, PaaS, SaaS and serverlessIaaS, PaaS, SaaS and serverless answer one question: which layers you run and which the provider runs. How to choose, and where the cost curves cross.Regions, availability zones and failure domainsClouds are built from nested failure domains: zones inside regions. Spread across zones, size for losing one, and find the shared dependency that undoes it.Compute, storage and networking building blocksEvery cloud sells the same few primitives under different names: VMs, containers and functions; block, file and object storage; networks and load balancers.Cloud identity and least privilegePrincipals, roles and policies in cloud IAM: how a request is allowed or denied, and how to write a policy that grants a job only what it needs.Virtual networks, subnets and security groupsPlan a cloud network: a CIDR that will not collide, public and private subnets per zone, routes through gateways, and security groups as the firewall.Cloud cost and FinOpsRead a cloud bill like an operator: tag everything, allocate cost to teams, find idle resources, and know when a commitment discount pays off.Metrics with PrometheusHow Prometheus works from the operator's side: targets expose /metrics as text, Prometheus scrapes them, and PromQL turns counters into rates.Dashboards with GrafanaBuild Grafana dashboards that answer questions: connect Prometheus, chart rates and percentiles, follow RED and USE, and know what a histogram p99 hides.Log aggregation pipelinesGet logs off every machine into one searchable store: collect, parse, filter, redact, label and ship them with an agent like Fluent Bit.OpenTelemetry and the collectorOpenTelemetry gives traces, metrics and logs one standard format, OTLP, and the Collector receives, processes and routes them to any backend you choose.Alerting on symptoms, not causesPage a human only when users are hurting: alert on SLO burn rate instead of CPU and disk, and write the Prometheus rules that catch both fast and slow burns.On-call and incident responseRun a fair on-call rotation and handle an incident well: declare it, assign a commander, mitigate before you diagnose, and keep one running record.Postmortems and learning from incidentsWrite a blameless postmortem that changes something: a timeline, impact in numbers, contributing factors instead of one root cause, and owned actions.Autoscaling and capacity planningAutoscaling handles today's peaks, capacity planning handles next quarter's. How the scaling formula behaves, why it lags, and how to forecast the ceiling.Secrets management for infrastructureKeep secrets out of plain text on the infrastructure side: secret stores, envelope encryption with KMS, SOPS for GitOps, and short-lived dynamic credentials.Securing the pipeline and the supply chainProve what you ship: an SBOM of every dependency, signed provenance tying the artifact to its build, and a deploy step that refuses anything unsigned.Backups, disaster recovery, RPO and RTODecide how much data you can lose (RPO) and how long you can be down (RTO), pick a DR strategy that meets both, and prove it with a timed restore drill.Internal developer platforms and golden pathsA platform team turns everything in this roadmap into self-service: a golden path that gives a new service CI, deploys, alerts and an owner in one step.
What DevOps is
- What DevOps is and the problem it solvesWhy developers and operators ended up on opposite sides of a wall, what that cost, and how DevOps reframes the job as one team owning the path to production.
- Flow, feedback and continuous learningThe three ways behind DevOps: make work flow left to right, amplify feedback from right to left, and build a habit of learning from experiments and failure.
- Measuring delivery with DORA metricsThe five DORA software delivery metrics, how to compute them from a deploy log, how they changed in 2023 and 2024, and how teams misuse them.
- DevOps, SRE and platform engineeringHow DevOps culture, site reliability engineering and platform teams relate: one sets the goal, one makes reliability measurable, one makes the paved road.
- Team topologies and you build it, you run itShape teams around the flow of change: four team types, three ways of interacting, cognitive load as the limit, and why the team that builds a service runs it.
Continuous integration
- Continuous integration as a practiceCI is a team habit, not a server: merge small changes into the mainline at least daily, verify each one automatically, and fix a broken build first.
- Anatomy of a pipeline: stages, jobs and gatesWhat a CI/CD pipeline is made of: stages that run in order, jobs that run in parallel, gates that stop bad changes, and why fast checks go first.
- Tests and quality gates in the pipelineWhich tests go in which pipeline stage, how to set quality gates that ratchet instead of nag, and why a flaky test is worse than no test.
- Build artifacts and artifact repositoriesWhat a build artifact is, why it needs a version and a digest, how artifact repositories store and proxy packages, and why published versions must never change.
- CI servers compared: Jenkins, GitLab CI and ActionsThe same two-stage pipeline in GitHub Actions, GitLab CI and a Jenkinsfile, and the real differences: hosting, runners, plugins, and where the config lives.
Delivery and release
- Continuous delivery vs continuous deploymentContinuous delivery keeps every change releasable and a person picks when. Continuous deployment ships every green change. And deploying is not releasing.
- Build once, promote through environmentsBuild an artifact once, then move those exact bytes from test to staging to production, with configuration supplied by each environment rather than baked in.
- Deployment strategies: rolling, blue-green and canaryReplace a running version without downtime: recreate, rolling updates, blue-green switches and canaries, what each costs, and what each needs from your app.
- Progressive delivery and automated rollbackLet the pipeline watch the canary: raise traffic in steps, compare metrics with the stable version each time, and roll back automatically when it looks worse.
- Rolling back and rolling forwardWhen a release goes wrong, go back to the last good version or ship a fix on top? Why schemas and data decide, and how to keep rollback possible.
Servers and networks
- The Linux server from an operator's seatWhat a Linux server actually is when you have to run one: where config, logs and state live, who the users are, and the first commands to run on a box.
- Running services with systemdKeep a program running across crashes, logouts and reboots: what systemd does as PID 1, how to read and write a unit file, and where its logs go.
- SSH keys, bastions and remote accessReach private servers without exposing them: key-only SSH, one hardened bastion host, ProxyJump on the client, and why agent forwarding is the risky shortcut.
- DNS records and TTLs in practiceThe DNS records an operator actually changes, why 'propagation' is just caches expiring, and how to move a service to a new IP without a long tail.
- Reverse proxies and load balancers with nginxPut nginx in front of your app: one public entry point that terminates TLS, spreads requests over a pool of backends, and routes around one that dies.
- TLS certificates and automated renewalWhy certificate expiry is a classic outage, how ACME gets and renews certificates with no human in the loop, and why lifetimes are dropping to 47 days.
- Firewalls, ports and network troubleshootingIt works on the server but not from your browser. Listening addresses, refused versus timed out, the two firewalls in the path, and an order to check them in.
Containers and orchestration
- What a container really isA container is not a small VM. It is an ordinary Linux process with namespaces limiting what it sees, cgroups limiting what it uses, and its own filesystem.
- Images, layers and writing a DockerfileAn image is a stack of tar layers plus a config. See which Dockerfile lines make layers, why order decides cache hits, and how multi-stage builds cut size.
- Registries, tags and image provenanceRegistries store images by digest and tags point at them. Why tags move, how to pin a digest, and how SBOMs, provenance and signatures vouch for an image.
- Why orchestration existsOne container on one server is easy. Fifty across ten machines needs scheduling, restarts, rollouts and discovery. Orchestrators do that with reconcile loops.
- Kubernetes core objectsThe handful of Kubernetes objects you use every day, Pod, Deployment, Service, ConfigMap and Secret, and how labels and selectors wire them together.
- Packaging Kubernetes apps with Helm and KustomizeThree environments, one app, 90 percent identical YAML. Helm templates it with values, Kustomize patches plain YAML with overlays. When to reach for each.
Infrastructure as code
- Infrastructure as code: declarative vs imperativeWhy clicking servers into existence fails at scale, what writing infrastructure as code buys you, and why declaring the end state beats scripting the steps.
- Terraform and OpenTofu: plan, apply and stateTerraform's loop: describe resources in HCL, init fetches providers, plan previews the diff, apply makes it real, and state links your code to the cloud.
- Modules, environments and remote stateMake Terraform work for a team: shared locked state in a remote backend, modules for reuse, and one layout that keeps dev, staging and prod alike but apart.
- Configuration management with AnsibleTerraform made the servers; something must set them up. How Ansible configures many machines over SSH with idempotent tasks, handlers and a dry-run mode.
- Immutable infrastructure and golden imagesStop patching live servers. Bake a versioned machine image with Packer, test it, and replace servers instead of changing them, so no server can drift.
- GitOps with Argo CD and FluxMake a Git repository the source of truth for a cluster: an agent inside it pulls changes, applies them, reverts drift, and a rollback is just git revert.
Cloud foundations
- Cloud service models: IaaS, PaaS, SaaS and serverlessIaaS, PaaS, SaaS and serverless answer one question: which layers you run and which the provider runs. How to choose, and where the cost curves cross.
- Regions, availability zones and failure domainsClouds are built from nested failure domains: zones inside regions. Spread across zones, size for losing one, and find the shared dependency that undoes it.
- Compute, storage and networking building blocksEvery cloud sells the same few primitives under different names: VMs, containers and functions; block, file and object storage; networks and load balancers.
- Cloud identity and least privilegePrincipals, roles and policies in cloud IAM: how a request is allowed or denied, and how to write a policy that grants a job only what it needs.
- Virtual networks, subnets and security groupsPlan a cloud network: a CIDR that will not collide, public and private subnets per zone, routes through gateways, and security groups as the firewall.
- Cloud cost and FinOpsRead a cloud bill like an operator: tag everything, allocate cost to teams, find idle resources, and know when a commitment discount pays off.
Observability and operations
- Metrics with PrometheusHow Prometheus works from the operator's side: targets expose /metrics as text, Prometheus scrapes them, and PromQL turns counters into rates.
- Dashboards with GrafanaBuild Grafana dashboards that answer questions: connect Prometheus, chart rates and percentiles, follow RED and USE, and know what a histogram p99 hides.
- Log aggregation pipelinesGet logs off every machine into one searchable store: collect, parse, filter, redact, label and ship them with an agent like Fluent Bit.
- OpenTelemetry and the collectorOpenTelemetry gives traces, metrics and logs one standard format, OTLP, and the Collector receives, processes and routes them to any backend you choose.
- Alerting on symptoms, not causesPage a human only when users are hurting: alert on SLO burn rate instead of CPU and disk, and write the Prometheus rules that catch both fast and slow burns.
- On-call and incident responseRun a fair on-call rotation and handle an incident well: declare it, assign a commander, mitigate before you diagnose, and keep one running record.
- Postmortems and learning from incidentsWrite a blameless postmortem that changes something: a timeline, impact in numbers, contributing factors instead of one root cause, and owned actions.
- Autoscaling and capacity planningAutoscaling handles today's peaks, capacity planning handles next quarter's. How the scaling formula behaves, why it lags, and how to forecast the ceiling.
Security, resilience and platforms
- Secrets management for infrastructureKeep secrets out of plain text on the infrastructure side: secret stores, envelope encryption with KMS, SOPS for GitOps, and short-lived dynamic credentials.
- Securing the pipeline and the supply chainProve what you ship: an SBOM of every dependency, signed provenance tying the artifact to its build, and a deploy step that refuses anything unsigned.
- Backups, disaster recovery, RPO and RTODecide how much data you can lose (RPO) and how long you can be down (RTO), pick a DR strategy that meets both, and prove it with a timed restore drill.
- Internal developer platforms and golden pathsA platform team turns everything in this roadmap into self-service: a golden path that gives a new service CI, deploys, alerts and an owner in one step.