All topics

DevOps

7 tutorials · 45 guides

Tutorials

Intermediate

How to Install Coolify on Ubuntu 24.04

Install Coolify on Ubuntu 24.04 with the official installer, secure direct-access ports, configure HTTPS domains, deploy an app, and plan backups and updates.

22 min read
CoolifyUbuntu 24.04Docker
Intermediate

How to Automate Rsync Backups with Cron on Ubuntu 24.04

Automate rsync backups on Ubuntu 24.04 with cron, safe --delete dry runs, locking, retention, integrity checks, restore testing, and troubleshooting.

18 min read
BackupRsyncCron
Intermediate

Install Prometheus and Grafana on Ubuntu 24.04

Install Prometheus 3.13 LTS, Node Exporter, and Grafana on Ubuntu 24.04 with localhost-only monitoring ports, SSH-tunneled dashboards, and end-to-end verification.

19 min read
PrometheusGrafanaNode Exporter
Beginner

How to Install pip on Ubuntu 24.04 and Use Python venv

Install pip on Ubuntu 24.04, create a Python venv, fix externally-managed-environment errors, use requirements files, and install pipx safely.

14 min read
Pythonpipvenv
Intermediate

How to Deploy Gitea with Docker Compose on Ubuntu 24.04

Deploy Gitea on Ubuntu 24.04 with Docker Compose, PostgreSQL, Nginx, HTTPS, SSH clone access, backups, upgrades, and verification steps.

18 min read
GiteaDocker ComposeUbuntu 24.04
Intermediate

How to Build a Remote Development VM with code-server and Tailscale

Build a private remote development VM on Ubuntu 24.04 with code-server and Tailscale Serve, HTTPS, localhost binding, backups, and safe updates.

20 min read
code-serverTailscaleRemote Development
Beginner

How to Install Docker on Ubuntu 24.04

Install Docker on Ubuntu 24.04 from Docker’s official APT repository. Add Docker Engine, Compose and Buildx, verify hello-world, and avoid common UFW exposure mistakes.

16 min read
DockerUbuntu 24.04Docker Engine

Guides

For: Developers and small teams automating releases to Linux VMs

CI/CD for VM Deployments: Pipelines, Secrets, Rollbacks & Releases

CI/CD guide for VM deployments covering artifacts, GitHub Actions, deploy credentials, approvals, health checks, migrations, and rollback.

13 min read
CI/CDDevOpsVM Deployment
For: Developers and small teams deploying production applications on Linux VMs

Application Deployment on a Linux VM: From Source Code to Production

Linux VM deployment guide covering artifacts, secrets, process managers, reverse proxies, TLS, health checks, persistence, and rollback.

14 min read
Application DeploymentLinux VMVPS
For: Developers and small teams planning cloud dev environments for AI-assisted coding workflows

AI Coding Agents and Cloud Dev Environments Explained

Plan cloud dev environments for AI coding agents with isolation, scoped permissions, reproducible builds, test workloads, human review, and VM vs app-platform choices.

11 min read
AI Coding AgentsCloud Dev EnvironmentsDeveloper Infrastructure
For: Developers and infrastructure teams operating self-managed K3s clusters and planning production version upgrades

K3s Upgrade and Rollback Strategy

Plan K3s upgrades with release channels, server-first sequencing, System Upgrade Controller, datastore snapshots, v1.37 checks, and rollback.

19 min read
K3sKubernetesUpgrades
For: Developers and small ops teams outgrowing a single Docker Compose production host

Scaling Beyond One Docker Compose Host

Learn how to scale beyond one Docker Compose host with role separation, multiple VMs, load balancing, shared state, Swarm, and a clean path to orchestration.

15 min read
Docker ComposeScalingMulti-Host
For: Developers and small infrastructure teams designing and operating self-managed K3s clusters on cloud VMs

K3s on Cloud VMs: Architecture, HA, Storage, and Operations

Design K3s on cloud VMs across single-server, agent, and HA topologies, including datastore, networking, storage, backups, upgrades, and production operations.

18 min read
K3sKubernetesCloud VM
For: Developers and small ops teams running Docker workloads on production cloud VMs

Docker Resource Limits, Logging, and Disk Management

Control Docker CPU, memory, logs, and disk growth on production VMs with clear limits, rotation, monitoring, and safe cleanup policies.

15 min read
DockerContainersResource Limits
For: Developers and small ops teams running Docker workloads on production cloud VMs

Docker Host Security Checklist for Production VMs

Use this Docker host security checklist to harden production VMs across daemon access, privileges, networking, images, secrets, updates, and recovery.

14 min read
DockerSecurityContainers
For: Developers and small ops teams running stateful Docker Compose applications on production cloud VMs

Docker Compose Backup and Restore Strategy

Learn a Docker Compose backup and restore strategy for volumes, secrets, and databases. Use a four-layer framework to rebuild a stack on a clean host.

15 min read
Docker ComposeBackupRestore
For: Developers and infrastructure teams choosing SQLite, embedded etcd, or an external datastore for self-managed K3s and high-availability clusters.

K3s High Availability: Embedded etcd vs External Database

Learn K3s default datastore behavior and compare SQLite, embedded etcd, and external PostgreSQL/MySQL/etcd for HA, quorum, backups, and recovery.

18 min read
K3sKubernetesHigh Availability
For: Developers and small platform teams deciding whether to operate Kubernetes themselves or use a managed control plane

Managed vs Self-Managed Kubernetes: What Every Team Needs to Know

Compare managed vs self-managed Kubernetes across control-plane ownership, upgrades, HA, recovery, cost, and team fit—and see when a managed Kubernetes service makes sense.

15 min read
KubernetesManaged KubernetesSelf-Managed Kubernetes
For: Developers and platform teams moving production Docker Compose workloads to managed Kubernetes.

Docker Compose to Managed Kubernetes Migration Checklist

Plan a Docker Compose to Kubernetes migration across state, probes, networking, secrets, storage, worker sizing, cutover, and rollback.

17 min read
KubernetesDocker ComposeMigration
For: Developers and small teams running or evaluating a production Docker Compose stack on a single cloud VM.

Docker Compose in Production: Best Practices, Deployment & Limits

Learn when Docker Compose is production-ready: compare single-host limits, security, health checks, backups, release workflows, and migration decisions.

17 min read
Docker ComposeDockerContainers
For: Startup founders, CTOs, engineering leads, and infrastructure operators deciding when internal platform work is worth the investment.

Platform Engineering for Startups: When Internal Platforms Pay Off

Learn when platform engineering for startups pays off, what to standardize first, how to evaluate golden paths, and when an internal developer platform is justified.

13 min read
Platform EngineeringDevOpsStartups
For: Developers, founders, and ops teams deciding whether production workflow automation should run on self-hosted n8n

n8n Self-Hosted: When Workflow Automation Makes Sense

Understand n8n self-hosted automation, when self-hosting makes sense, and how to plan security, backups, scaling, private access, and recovery for production.

13 min read
n8nWorkflow AutomationSelf-Hosting
For: DevOps teams, platform engineers, startup operators, and MSPs deciding how to run and scale self-hosted n8n for infrastructure workflows

n8n Infrastructure Automation: Scaling Workflows in the Cloud

Learn where n8n fits in infrastructure automation, when one self-hosted instance is enough, and when queue mode and workers are justified.

14 min read
n8nWorkflow AutomationInfrastructure Automation
For: Developers, founders, DevOps teams, and system administrators deciding between Docker containers, virtual machines, Docker on a VM, or an application platform.

Docker vs Virtual Machine (VM): When to Use Each

Compare Docker vs virtual machines across isolation, performance, security, portability, Docker on a VM, and when an app platform is simpler than managing a server.

15 min read
DockerContainersVirtual Machines
For: Developers, database operators, founders, and small platform teams planning production schema changes or live database cutovers.

Zero-Downtime Database Migrations: What Actually Works for Small Teams

Plan a zero-downtime database migration with expand-contract, staged backfills, replication cutovers, rollback, and PostgreSQL or MySQL safety checks.

16 min read
Database MigrationPostgreSQLMySQL
For: Developers, small infrastructure teams, and platform engineers deciding between K3s, a more explicit self-managed Kubernetes stack, and managed Kubernetes.

K3s vs K8s: Differences, Trade-Offs, and When to Use Each

K3s is Kubernetes, not a separate orchestrator. Compare K3s vs K8s on resource footprint, HA, customization, production use, and self-managed vs managed ownership.

15 min read
K3sKubernetesK8s
For: Sysadmins, DevOps engineers, and technical leads managing patch risk, maintenance windows, and recovery for production cloud VMs

Cloud VM Patch Management: Maintenance Windows, Risk, and Rollback

Learn cloud VM patch management for maintenance windows, emergency fixes, deferrals, verification, and rollback planning on production servers.

12 min read
SecurityCloud ServersPatch Management
For: Developers, founders, and small technical teams automating Raff infrastructure workflows with scoped API access

How Small Teams Use Raff API Keys for Automation

Learn how small teams use Raff API keys safely for infrastructure automation, CI/CD workflows, inventory checks, backups, and repeatable cloud operations.

10 min read
AutomationAPISecurity
For: Developers, founders, and platform teams building reviewable and recoverable infrastructure automation on Raff

Infrastructure Automation on Raff: Scripts, Cloud-Init, APIs, and IaC

Understand infrastructure automation on Raff across Terraform, API, CLI, cloud-init, credentials, drift, approvals, recovery, and operating boundaries.

13 min read
Infrastructure AutomationInfrastructure as CodeTerraform
For: Developers, founders, DevOps engineers, and sysadmins deciding how to route, secure, scale, and keep cloud applications available.

Reverse Proxy vs Load Balancer: Differences, Use Cases & Architecture

Compare reverse proxies and load balancers across Nginx, L4/L7 routing, TLS, health checks, state, private backends, failover, and multi-node architecture.

16 min read
NetworkingLoad BalancingReverse Proxy
For: Developers, DevOps teams, founders, freelancers, agencies, and small platform teams comparing VPS providers for applications, Docker, CI/CD, staging, databases, Windows, and automation.

Best VPS Hosting for Developers: 5 Options Compared

Compare the best VPS hosting options for developers across Docker, CI/CD, CPU, RAM, NVMe/SSD, bandwidth, regions, backups, automation, and support.

18 min read
VPSDevelopersDevOps
For: Founders and technical operators preparing cloud infrastructure for a production launch

Production Launch Infrastructure Checklist: Traffic, Rollback, Monitoring, and Cost

Prepare production infrastructure for launch with a checklist covering traffic, rollback, monitoring, backups, access, scaling, and cost readiness.

12 min read
StartupsInfrastructureLaunch
For: Developers and small backend teams designing API limits, quotas, throttling, concurrency, and abuse controls.

API Rate Limiting Explained: Protecting Apps Without Blocking Real Users

Learn API rate limiting for 429 responses, rate limiting algorithms, token and leaky buckets, API keys, quotas, throttling, and protecting real users.

17 min read
APIRate LimitingSecurity
For: Developers, sysadmins, founders, and small platform teams building repeatable cloud operations.

Cloud Runbooks for Small Teams: Incidents, Deployments, Access, and Recovery

Build a practical cloud operations runbook for incidents, deployments, access, recovery, and server operations. Includes a reusable template and automation guidance.

15 min read
DevOpsReliabilityIncident Response
For: Developers and small infrastructure teams designing health checks, traffic routing, restart logic, and user-facing monitoring for production applications

Server Health Checks Explained: Liveness, Readiness, and Synthetic Monitoring

Design server health checks that trigger the right action. Learn liveness vs readiness, startup probes, health endpoints, synthetic monitoring, alerts, and failure handling.

13 min read
MonitoringReliabilityDevOps
For: Developers, SaaS teams, administrators, and MSPs deciding which operational, security, and accountable events to record and retain

Application Logs vs Audit Logs: What to Store and Why

Compare application logs and audit logs, including event fields, integrity, retention, sensitive-data controls, storage, incident response, and customer-facing audit history.

14 min read
LoggingAudit LogsObservability
For: Developers, SaaS teams, and small platform teams choosing infrastructure for real-time applications and persistent WebSocket connections

WebSocket Hosting Explained: Persistent Connections, Scaling, and Cost

Plan WebSocket hosting for real-time apps. Compare one-VM and multi-node designs, size persistent connections, handle load balancing, reliability, security, and cost.

13 min read
WebSocketReal-Time AppsCloud Hosting
For: Startup founders and technical operators reducing waste from idle dev, staging, preview, test, demo, and storage resources

Idle Infrastructure Cost: Dev, Staging, Preview, and Test

Idle infrastructure cost grows when dev, staging, preview, test, demo, and storage resources outlive their purpose. Use a clear lifecycle decision framework.

10 min read
Cloud CostStartupsDevOps
For: Developers, DevOps engineers, and small platform teams choosing between container images, VM images, or a hybrid deployment model

Container Images vs VM Images: What Developers Should Know

Compare container images vs VM images for deployment, security, updates, rollback, portability, and small-team infrastructure decisions.

12 min read
ContainersVirtual MachinesDevOps
For: Developers, SaaS teams, and small platform teams choosing how scheduled and asynchronous background work should run

Cron Jobs vs Queues vs Workflow Automation: Choosing the Right Model

Compare cron jobs, job queues, schedulers, and workflow automation. Learn when to use each model for scheduled jobs, retries, workers, and cross-system processes.

13 min read
AutomationDevOpsBackground Jobs
For: CTOs, platform engineers, DevOps teams, and startup engineers reducing Kubernetes spend without weakening performance or reliability.

Kubernetes Cost Optimization: Reduce Cluster Spend

Learn Kubernetes cost optimization: allocate spend, right-size workloads, tune autoscaling, and manage idle capacity, storage, and observability costs.

15 min read
KubernetesCost OptimizationFinOps
For: Startup founders, developers, QA leads, and platform teams deciding how to structure branch review, ephemeral environments, and pre-production release validation

Preview Environments vs Staging: What Startups Actually Need

Compare preview environments vs staging: when startups need ephemeral previews, persistent staging, or both, with lifecycle, secrets, data, cost, and Raff architecture guidance.

15 min read
DevOpsStagingPreview Environments
For: Developers, DevOps teams, platform engineers, and engineering leaders comparing GitHub-hosted and self-hosted GitHub Actions runners for cost, security, private networking, and CI infrastructure control.

GitHub Actions Self-Hosted Runners vs GitHub-Hosted: Cost, Security & Control

Compare GitHub-hosted vs self-hosted GitHub Actions runners across cost, security, private networking, ephemeral runners, autoscaling, and operational ownership.

15 min read
GitHub ActionsCI/CDSelf-Hosted Runners
For: Developers, founders, and small infrastructure teams choosing between Docker and Podman for Linux production workloads

Podman vs Docker: Security, Compatibility, and When to Switch

Compare Podman vs Docker for small teams: rootless security, Docker compatibility, Compose vs Quadlet, migration risks, and when to switch runtimes.

15 min read
PodmanDockerContainers
For: Developers and small infrastructure teams choosing Docker volumes, bind mounts, and persistent-storage patterns for production Docker and Compose workloads.

Docker Volumes vs Bind Mounts: What Matters in Production

Compare Docker volume vs bind mount for production: persistence, host paths, Compose behavior, permissions, down -v, backups, and when to use each.

16 min read
DockerStorageDevOps
For: Developers, founders, DevOps engineers, and small platform teams choosing a safer production release and rollback strategy.

Blue-Green vs Rolling Deployments: Cost and Rollback

Compare blue-green vs rolling deployments by rollback speed, mixed-version compatibility, zero-downtime risks, temporary capacity, database migrations, and release safety.

16 min read
DeploymentDevOpsArchitecture
For: Developers, founders, and small platform teams deciding whether to keep Docker Compose, scale across VMs, or adopt Kubernetes

Kubernetes vs Docker Compose for Small Teams: When to Switch

Docker Compose vs Kubernetes for small teams: compare production fit, migration triggers, operational cost, readiness, and a staged Raff infrastructure path.

15 min read
KubernetesDockerDevOps
For: Developers and small platform teams choosing how to store, deliver, rotate, and revoke secrets across cloud applications

Secrets Management for Cloud Apps: Env Vars, Vaults, Managed Stores

Secrets management for cloud apps: compare environment variables, managed secret stores, and Vault-style systems with practical rotation and access guidance.

11 min read
SecuritySecrets ManagementDevOps
For: Developers, founders, and small platform teams building practical production monitoring and observability without overengineering the stack

Application Observability for Small Teams: Metrics, Logs, and Traces

Learn application observability for small teams: monitoring vs observability, metrics, logs, traces, OpenTelemetry, alerting, cost control, and production architecture.

16 min read
ObservabilityMonitoringOpenTelemetry
For: Developers, DevOps engineers, MSPs, and platform teams choosing repeatable VM and server provisioning workflows.

Cloud-Init vs Custom Images vs One-Click Apps

Learn how cloud-init, custom VM images, and one-click apps differ. Compare first-boot automation, reusable baselines, security, and recovery decisions.

16 min read
VM ProvisioningCloud-InitCustom Images
For: Developers and platform teams choosing between MCP, n8n workflows, and direct API integrations for AI tools and production automation.

MCP vs n8n vs API Integration: Choosing the Right Automation Layer

Learn when n8n vs MCP vs direct API integration makes sense. Compare AI tool access, workflow orchestration, authorization, and business-rule ownership.

17 min read
AutomationMCPn8n
For: Developers, founders, QA teams, and small platform teams designing development, preview, staging, and production environments while balancing release safety and infrastructure cost.

Staging vs Production vs Development Environments: Key Differences

Compare staging vs production vs development environments: purpose, data, secrets, release gates, parity, preview environments, cost, and hosting.

17 min read
DevOpsStagingProduction

Learn something new every week

The tutorials, guides, and comparisons we publish, rounded up in one weekly email. Unsubscribe anytime.

Put it into practice

Spin up a Linux or Windows server and follow any tutorial here on real infrastructure. RDP and SSH ready, 14-day money-back guarantee.

Deploy a server