All 123 guides
Every guide on the blog, in 11 topics. Pick a topic, or type a word to search the titles and the tools.
Security
18 guides
Kubernetes · AWS · Azure · Google Cloud

What changed in GitHub permissions in 2026
Six changes to who can trigger workflows and what apps and tokens may do, one with a deadline of 2 December.
Read the guideAWS IAM least privilege: from wildcards to exact actions
Replace wildcard IAM policies with exact actions, using the activity AWS already records.
Azure Policy: audit, deny and fix resources that break the rules
Definitions, effects and remediation in Azure Policy, and a rollout that audits before it denies.
Azure RBAC: scopes, built-in roles and custom roles
Role assignments, the four scope levels, the built-in roles to know and a custom role in JSON.
CloudTrail, Azure Activity Log and Cloud Audit Logs: turn them on first
What each cloud logs by default, how long it keeps the record and where to send a copy.
Google Cloud IAM and organization policies
The resource hierarchy, allow and deny policies and organization policy constraints, with gcloud.
Kubernetes audit logs: what to record and what to look for
Audit levels, an example policy, where managed clusters send the log, and what to search for.
Kubernetes network policies: start with default deny
A default-deny manifest, an allow rule for DNS, and the documented way to test a policy.
Kubernetes RBAC: five rules for least privilege
Groups over users, namespaces over clusters, and how to test what an account can do.
Kubernetes Secrets: encryption at rest and who can read them
How Secrets are stored, how to encrypt them in etcd, and who can still read them.
Kyverno policies: block what should never deploy
Five policy types, one documented example, and what happened to ClusterPolicy in 1.20.
Pod Security Standards: baseline, restricted and how to enforce them
Three levels, six namespace labels and a rollout that warns before it blocks.
S3 bucket security: the settings to check on every bucket
Seven S3 settings to check on each bucket, with the commands that read and set them.
Security groups and network ACLs: what each one filters
Stateful or stateless, allow or deny, instance or subnet: how the two VPC filters differ.
securityContext: the settings every pod should carry
Six settings, where each one goes, and a Deployment you can copy.
Service account tokens in Kubernetes: bound and short-lived
What changed from Secret-based tokens to bound ones, and how to find the old kind.
Service control policies: guardrails for every AWS account
What SCPs restrict, what they skip, three example policies and a rollout on one OU first.
ValidatingAdmissionPolicy: admission rules without a webhook
A policy, a binding and a CEL expression, evaluated by the API server.
Authentication
18 guides
AWS · Azure · GitHub · OpenID

Set up OIDC between GitHub Actions and Azure
Five steps from an app registration to a workflow that logs in with no stored secret.
Read the guideAWS IAM Identity Center: one sign-in for many accounts
Identity sources, permission sets, CLI sign-in and the case against an IAM user in each account.
AWS STS and AssumeRole: how short-lived credentials work
Trust policy, permissions policy, session duration, the external ID and the one-hour limit on role chaining.
Azure managed identities: system-assigned or user-assigned
When to pick each type, how to grant a role, how code gets a token and which limits to plan for.
Azure service principals: secrets, certificates and federation
App registration or service principal, the three credential types, secret expiry and the alternatives.
Deploy keys, SSH keys and machine users on GitHub
The credentials a server can use to reach a repository, what each one covers, and how to choose.
Fine-grained personal access tokens on GitHub
What a fine-grained token limits, what it cannot do today, and when a GitHub App fits better.
GitHub Apps or personal access tokens for automation
Ownership, lifetime, permissions and rate limits compared, with a workflow that creates an app token.
GITHUB_TOKEN permissions: set them for every job
The default setting, the permissions key at workflow and job level, and what fork pull requests get.
Google Cloud service accounts without keys
Three alternatives to a key file, the policy constraint that blocks new keys and how to find old ones.
Keyless deploys from GitLab CI to AWS with OIDC
The IAM provider, the trust policy and the pipeline job that trades a GitLab token for AWS credentials.
Keyless deploys to AWS and Google Cloud with OIDC
The trust policy for AWS and the provider setting for Google Cloud, with the workflow for each.
OAuth 2.0 flows: which grant fits which client
Which OAuth 2.0 grant to use for a web app, a single-page app, a mobile app, a CLI and a service.
OpenID Connect for engineers: tokens, claims and trust
Three parties, two tokens, one discovery document, and the five claims a relying party must check.
SAML or OIDC: choosing a protocol for single sign-on
XML assertions or JSON tokens, where each one fits, and what to ask a vendor before you connect.
Sign in to Kubernetes with OIDC in place of shared kubeconfigs
API server options, the kubelogin plugin for kubectl, and group claims bound to RBAC roles.
What is inside a JWT and how to validate one
Header, payload and signature, the checks to run, and the mistakes that let forged tokens in.
Workload identity on EKS, AKS and GKE: pods without cloud keys
The role association, annotation, label or IAM binding that each of the three platforms needs.
Secrets
8 guides
GitHub · Vault · AWS · Azure

Secrets in CI/CD: where they leak and how to stop it
Six places a pipeline secret escapes, and the GitHub Actions settings that close each one.
Read the guideA secret leaked to Git: what to do in the first hour
Revoke first, read the logs, then clean the history, and know what a force push leaves behind.
AWS Secrets Manager or Parameter Store
Rotation, cross-account access, size limits and cost decide which AWS service holds a given value.
Azure Key Vault: access control, private access and rotation
Azure RBAC roles, the firewall, private endpoints, purge protection and rotation for a key vault.
Dynamic database credentials with HashiCorp Vault
Three steps to short-lived PostgreSQL users, plus leases, revocation and root rotation.
HashiCorp Vault: what to set up first
Storage, seal, audit, auth, policies and KV version 2, in the order a new Vault server needs them.
Secret scanning: Gitleaks and GitHub push protection
Gitleaks before the commit and in CI, GitHub push protection at the server, and what to do with a finding.
SOPS: encrypted secrets in a Git repository
Encrypt values with age or KMS, set rules in .sops.yaml, and rotate keys in the documented order.
Supply chain
9 guides
GitHub · Trivy · Dependabot · Renovate

Software supply chain: pin, sign and verify
Pin your actions, sign what you build and check the signature before you deploy.
Read the guideDependabot or Renovate: keeping dependencies current
A working configuration for each bot, how to choose, and the settings that reduce pull requests.
GitHub rulesets: protect branches and tags
Targets, bypass lists, layering and a JSON ruleset you can import to protect main.
SBOMs: generate one for every build
Generate an SBOM in CI, attest it to the image, scan it with Grype and keep it with the release.
Scan container images with Trivy in CI
The flags, the ignore file, the pinned action and the limits of scanning an image with Trivy.
Scan Terraform before it applies: Checkov and Trivy
Checkov and Trivy on Terraform code and plans, with skip comments and a gate you can roll out.
Signed commits: GPG, SSH and what the Verified badge proves
SSH signing in four commands, what Verified means, and why rebase merges lose verification.
SLSA build levels: what each one asks of a pipeline
What Build L1, L2 and L3 require in SLSA v1.2, and how far GitHub artifact attestations take you.
Static analysis in CI: CodeQL, Semgrep and less noise
CodeQL and Semgrep in CI, with five documented ways to keep the findings few enough to act on.
CI/CD
19 guides
GitHub Actions · Azure · Kubernetes · Git

What a CI/CD pipeline should do on every commit
Seven checks, from the first build to the rollback.
Read the guideARC runners on AKS with a persistent disk for the work directory
What the work disk is for, the values file for AKS, and why each disk leaves with its runner pod.
Azure Pipelines templates: reuse stages across projects
Write a stage once, pass it typed parameters, and require pipelines to extend an approved template.
Caching in GitHub Actions: what to cache and when it hurts
Keys, restore keys, branch scope, the storage limit, and the cases where a cache slows the build.
Concurrency groups: stop two deploys from running at once
One run per group at a time: cancel outdated pull request runs and never cancel a deploy.
Database migrations in a pipeline: expand, then contract
Change a schema in phases, run the migration as its own step, and keep PostgreSQL locks short.
DORA metrics: what they measure and how to collect them
The current five metrics, where the data comes from, and the ways teams misuse them.
Feature flags: release without a deploy
The kinds of flag, where to evaluate them, safe defaults and how to remove them.
GitHub Actions minutes: where they go and how to cut them
How runner time is billed, and the settings that reduce it.
GitHub environments: approvals, secrets and deployment rules
Required reviewers, wait timers, branch rules and secrets that a job gets only after approval.
GitLab CI: rules, needs and pipelines that finish sooner
Skip jobs with rules, stop duplicate pipelines with workflow, and start jobs early with needs.
Jenkins shared libraries: one pipeline for many jobs
Lay out a shared library, write one custom step, name its version and know what trusted means.
Matrix builds in GitHub Actions
One job definition, many combinations: the syntax, the limits and the bill.
Monorepo pipelines: build only what changed
Path filters, change detection per job, and one required check that always reports.
Reusable workflows and composite actions in GitHub Actions
Share whole jobs with workflow_call and groups of steps with a composite action, and pin both.
Rolling, blue-green or canary: choosing a deployment strategy
What each strategy does, what it needs, and how to pick one.
Self-hosted runners: the security rules
Ephemeral runners, runner groups by trust level, limited egress and no stored cloud keys.
Semantic versioning and automated releases
The semver rules, commit messages that carry the bump, and two tools that cut the release.
Trunk-based development: short branches and small merges
One shared branch, branches that live a couple of days, and flags that hide unfinished work.
Kubernetes
10 guides
Kubernetes

Readiness, liveness and startup probes in Kubernetes
What each probe is for, and what the Kubernetes documentation warns about.
Read the guideDebug a running pod with kubectl debug
Ephemeral containers, pod copies, node shells and debug profiles, with the commands for each.
Graceful shutdown in Kubernetes: SIGTERM, preStop and grace periods
The termination sequence, a preStop sleep, the grace period, and why a shell-form entrypoint gets no SIGTERM.
Horizontal Pod Autoscaler: scale on CPU, memory and custom metrics
How the autoscaler computes replicas, what it needs installed, and how to tune scale-up and scale-down.
Ingress or Gateway API: routing traffic into a cluster
The status of Ingress, the three Gateway API resources, and how to plan a move off ingress-nginx.
Kubernetes requests and limits: set them from what you measure
What requests and limits do, how QoS classes follow from them, and how to size both from real usage.
Kubernetes upgrades: a checklist for every minor version
What to check before, during and after a minor version upgrade, in the order to do it.
PodDisruptionBudgets: keep pods running through node drains
What a disruption budget covers, how to write one, and the settings that leave a node drain stuck.
Taints, tolerations and affinity: decide where pods run
Five ways to steer the scheduler, what each one is for, and a manifest that combines three of them.
vCluster: a Kubernetes cluster inside a namespace
What a virtual cluster is, how to create one, and where its isolation stops.
Infrastructure as code
9 guides
Terraform · OpenTofu

Where to keep Terraform state, and how to lock it
Remote backends on AWS, Azure and Google Cloud, one state per environment.
Read the guideOpenTofu or Terraform: what differs today
License, stewardship, compatibility and the features each project documents on its own pages.
Policy as code: test Terraform plans with OPA and Conftest
Convert the plan to JSON, write one Rego rule, and fail the pipeline when it matches.
Terraform drift: find the changes made outside code
Detect drift with a scheduled plan, then adopt the change in code or revert it.
Terraform import and moved blocks: refactor without destroying
Adopt, rename and release resources in code, and read the result in the plan first.
Terraform in pull requests: plan on review, apply on merge
Plan on the pull request, show the plan to the reviewer, apply a saved plan on merge.
Terraform modules: when to write one and how to version it
When a module is worth writing, where providers belong, and how callers pin a version.
Terraform tests: the built-in test framework
Write run blocks and assertions in HCL, mock the provider, and run the tests in CI.
Terraform workspaces or directories for environments
What CLI workspaces isolate, where they stop fitting, and the directory layout that replaces them.
Containers
8 guides
Docker · Kubernetes

Multi-stage Dockerfiles: smaller images with less to patch
Build in one stage, ship from another, and leave the build tools behind.
Read the guideChoosing a container registry: ECR, ACR, Artifact Registry, Harbor or JFrog
Nine things to compare, then ECR, ACR, Artifact Registry, Harbor and JFrog Artifactory side by side.
Distroless and minimal base images
Distroless, Alpine, scratch and hardened images, and how to debug a container with no shell.
Docker build cache: order the layers and reuse them in CI
Dependencies before source, cache mounts for package managers, and an external cache for CI builders.
Docker build secrets: keep tokens out of image layers
Why ARG and ENV leak, and how secret and SSH mounts pass credentials to a single build step.
Image tags and digests: why latest breaks deploys
Tags move and digests do not, so tag by commit and version, deploy by digest and keep pins current.
Multi-architecture images with docker buildx
One tag for amd64 and arm64, with image indexes, three build strategies and a GitHub Actions workflow.
Run containers as a non-root user
The USER instruction, file ownership with COPY --chown, ports below 1024 and runAsNonRoot.
GitOps
8 guides
Argo · Flux · Helm · Kubernetes

Flux or Argo CD: how the two GitOps tools differ
Architecture, multi-tenancy and Helm handling in Flux and Argo CD, from each project's own documentation.
Read the guideArgo CD: Git as the record of what runs in the cluster
Install Argo CD, write a first Application with automated sync, then set up projects and logins.
Canary releases with Argo Rollouts
The Rollout resource, canary steps, traffic routing, Prometheus analysis and the kubectl plugin.
Helm charts: rules for charts you can maintain
Documented values, a schema, shared helpers, CI checks and clean versioning for Helm charts.
Helm or Kustomize: which one for which job
Templating or patching, packaging, rollback and when to use the two tools together.
Kustomize overlays: one base for many environments
A base, an overlay for each environment, the fields to use and the deprecated ones to replace.
Promote a release between environments with GitOps
A directory for each environment, promotion as one commit, automation, gates and rollback by revert.
Secrets in GitOps: Sealed Secrets, SOPS or External Secrets Operator
Sealed Secrets, SOPS and External Secrets Operator, with the documented facts for each side by side.
Observability
8 guides
Prometheus · Grafana · OpenTelemetry

The four golden signals: what to measure first
Latency, traffic, errors and saturation, with a PromQL query for each and a first dashboard.
Read the guideAlert fatigue: page a person only when a person is needed
What may page, what becomes a ticket, and how to group, mute and review the rest.
Grafana dashboards that people read
One question per dashboard, a fixed top row, clear units, variables, links and Git.
Monitor Kubernetes with kube-prometheus-stack
What the chart installs, the label that selects monitors, CRD upgrades and storage.
OpenTelemetry: traces, metrics and logs through one collector
Signal stability, the documented Collector configuration, agent or gateway, and sampling.
Prometheus alerting rules: alert on symptoms
The rule file field by field, a documented error-rate rule, promtool and Alertmanager routing.
SLOs and error budgets: how much failure is acceptable
SLI, SLO and SLA, the budget arithmetic, burn-rate alerts and a policy for an empty budget.
Structured logging: logs a machine can query
The fields a log line needs, what to leave out, and how Loki queries the result.
Cloud operations
8 guides
AWS · Azure · Google Cloud · Kubernetes

Incident response: roles, channels and the first steps
Roles, one channel, severity levels and the order of work when production breaks.
Read the guideBack up and restore a Kubernetes cluster with Velero
Install Velero, schedule backups, restore into another namespace and know the documented limits.
Blameless postmortems: what to write after an incident
The sections, the wording, the review meeting and the follow-up for a postmortem people learn from.
Cloud cost: where the money goes and what to cut first
Six places to look, the tools each cloud provides, and the FinOps phases that order the work.
Landing zones: accounts, subscriptions and projects in order
The account hierarchy, identity, network, logging and guardrails in each vendor's landing zone design.
RTO and RPO: disaster recovery targets in plain terms
Two recovery targets, four strategies, and a way to assign them to each system.
Spot instances for Kubernetes nodes
Interruption notices on three clouds, and the node pools, taints and drains each service documents.
VPC design: subnets, routes and private access
Address plans, subnets across zones, NAT trade-offs, private endpoints and flow logs on three clouds.
No guide matches that.