All topics

AI

0 tutorials · 42 guides

Tutorials

Intermediate

How to Deploy a Multi-Container App with Docker Compose on Ubuntu 24.04

Deploy a multi-container Docker Compose app on Ubuntu 24.04 with Node.js, PostgreSQL, Redis, secrets, health checks, private networking, backups, and persistence.

19 min read
Docker ComposeUbuntu 24.04Docker
Beginner

How to Install fail2ban on Ubuntu 24.04 for SSH Protection

Install and configure fail2ban on Ubuntu 24.04 for SSH brute-force protection with systemd journal monitoring, safe ban testing, tuning, and rollback.

16 min read
fail2banUbuntu 24.04SSH Security
Beginner

How to Install Portainer on Ubuntu 24.04 with Docker

Install Portainer CE on Ubuntu 24.04 with Docker, Nginx, trusted HTTPS, private admin access, backups, secure updates, and verification steps.

17 min read
PortainerDockerUbuntu 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
Intermediate

How to Install Open WebUI with Ollama on Ubuntu 24.04

Install Open WebUI with Ollama on Ubuntu 24.04 using private Docker Compose networking, Caddy HTTPS, pinned versions, backups, and safe updates.

21 min read
Open WebUIOllamaDocker Compose
Intermediate

How to Install OpenClaw on Ubuntu 24.04 with Telegram

Install OpenClaw on Ubuntu 24.04 with Telegram pairing, a loopback-only Gateway, secure credentials, SSH-tunneled Control UI, backups, and safe updates.

23 min read
OpenClawAI AgentUbuntu 24.04
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 choosing how to package applications for an App Platform

Buildpacks vs Dockerfiles for App Deployment

Compare buildpacks and Dockerfiles for app deployment: control, portability, system packages, build reproducibility, health checks, secrets, and persistent state.

12 min read
App PlatformBuildpacksDockerfile
For: Developers and small teams planning production MongoDB topology, high availability, scaling, and recovery

MongoDB Production Architecture: Replica Sets, Scaling & High Availability

Plan production MongoDB replica sets, failover, write concern, private networking, backups, and scaling before sharding.

15 min read
MongoDBReplica SetsHigh Availability
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: Data engineers and platform teams designing ClickHouse replication, backups, restore testing, and disaster recovery for production analytics.

ClickHouse Backup & Replication: Availability, Recovery & Restore

Plan ClickHouse backups and replication: distinguish replicas from backups, define RPO/RTO, monitor Keeper, and test restores.

13 min read
ClickHouseBackupReplication
For: Developers and small teams choosing between serverless, containers, app platforms, VMs, and Kubernetes.

Serverless vs Containers: Differences, Cost & When to Use Each

Learn serverless vs containers trade-offs in scaling, cost, runtime control, portability, and workload fit. Compare functions, apps, VMs, and Kubernetes.

16 min read
ServerlessContainersServerless Functions
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 infrastructure teams running Docker on one production cloud VM

Docker on a Cloud VM: Architecture, Security, and Operations

Run Docker on a cloud VM with a clear production model for security, networking, storage, monitoring, and recovery.

15 min read
DockerCloud VMContainers
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 multi-service Docker Compose applications on cloud VMs

Docker Compose Networking: Public Ports, Private Services, and DNS

Design Docker Compose networking for production with deliberate port publishing, private services, service-name DNS, network segmentation, and safer host exposure.

15 min read
Docker ComposeDockerNetworking
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 platform teams planning Kubernetes version upgrades and production maintenance windows.

Kubernetes Upgrade Strategy: Maintenance, Risk, and Rollback

Plan Kubernetes upgrades with supported-version checks, API compatibility, worker drains, PDBs, recovery state, stop criteria, and post-upgrade validation.

18 min read
KubernetesUpgradesMaintenance
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: Developers and small infrastructure teams choosing how far to take container orchestration in production

Container Infrastructure for Small Teams: Docker, K3s, and Kubernetes

Choose Docker, Compose, K3s, or managed Kubernetes based on ownership, multi-host needs, scaling, and recovery.

17 min read
ContainersDockerDocker Compose
For: Developers and platform teams deciding when workloads need separate Kubernetes worker pools and scaling boundaries.

Kubernetes Node Pools: Workload Separation and Scaling

Learn when Kubernetes node pools make sense, how labels, affinity, taints, autoscaling, failure capacity, and worker shapes affect workload placement.

16 min read
KubernetesNode PoolsNode Affinity
For: Developers and small platform teams tuning PostgreSQL query latency, indexes, vacuum, locks, and capacity

PostgreSQL Performance Tuning: A Framework for Small SaaS Teams

PostgreSQL performance tuning for SaaS teams: query plans, indexes, vacuum, statistics, locks, connection pressure, and capacity decisions.

15 min read
PostgreSQLPerformance TuningQuery Optimization
For: Founders, developers, and operations teams deciding when cloud workloads need high availability, disaster recovery, or both

High Availability vs Disaster Recovery: RTO, RPO & Failure Planning

Learn high availability vs disaster recovery, how HA reduces interruption, how DR restores service, and how RTO, RPO, failover, and restore testing fit together.

14 min read
High AvailabilityDisaster RecoveryBackup
For: Developers, founders, database operators, and small platform teams designing PostgreSQL high availability, replication, failover, and production continuity.

PostgreSQL High Availability: Architecture, Failover & Replication

Learn PostgreSQL high availability: compare standby replication, automatic failover, fencing, recovery testing, and managed vs self-hosted trade-offs.

18 min read
PostgreSQLHigh AvailabilityPostgreSQL HA
For: Developers, founders, and small platform teams planning PostgreSQL sizing, connection management, recovery, and production ownership for SaaS applications

PostgreSQL for SaaS Apps: Sizing, Connections, and Production Operations

Understand PostgreSQL for SaaS apps across sizing, connections, pooling, backups, high availability, and managed vs self-hosted production ownership.

14 min read
PostgreSQLSaaSManaged Databases
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, founders, SaaS teams, and small platform teams responsible for production database reliability, monitoring, availability, recovery, capacity, and incident ownership.

Database Reliability for Small Teams: Monitoring & Recovery

Learn database reliability for small teams across monitoring, failover, backups, PITR, recovery testing, ownership, and managed vs self-hosted operations.

16 min read
Database ReliabilityDatabase Reliability EngineeringMonitoring
For: Startup founders, CTOs, and technical operators preparing infrastructure evidence for investor or acquisition technical diligence

Infrastructure Readiness for Fundraising: Technical Diligence

Understand infrastructure readiness for fundraising across architecture, security, recovery, cloud cost, documentation, and technical diligence evidence.

13 min read
StartupsFundraisingTechnical Diligence
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 infrastructure teams deciding how to store self-hosted database data, persistent container state, and other stateful application workloads.

Block Storage for Databases & Containers: When to Use Volumes

Learn when block storage fits databases, Docker containers, and stateful app data, including independent scaling, persistence, backups, recovery, and when object storage or managed databases are a better fit.

16 min read
Block StorageVolumesDatabases
For: Developers, founders, and infrastructure teams deciding whether persistent application data should stay on a VM disk or move to a separate cloud block-storage volume.

Cloud Block Storage vs Local Disk: When to Use a Volume

Compare cloud block storage vs local disk by lifecycle, databases, containers, scaling, performance, backups, and when a separate persistent volume is worth using.

15 min read
Cloud Block StorageBlock StorageVolumes
For: Developers, founders, and platform teams deciding when and how to move from one application server to a multi-node traffic-distribution architecture.

Load Balancing Explained: L4, L7, Health Checks, and Failover

Learn load balancing: L4 vs L7, health checks, connection draining, failover, state, TLS, private backends, and when multi-node applications need traffic distribution.

16 min read
Load BalancingNetworkingHigh Availability
For: Developers, founders, SaaS teams, and small platform teams responsible for production database incidents, failover, recovery, and incident communication.

Database Incident Runbook: Connection Exhaustion, Disk Pressure, and Failover

Use this database incident runbook to triage connection exhaustion, disk pressure, query storms, failover, restore decisions, recovery validation, and follow-up.

17 min read
Database Incident ResponseDatabase RunbookConnection Exhaustion
For: Developers and small platform teams designing DNS for websites, APIs, migrations, load balancers, and resilient cloud applications.

DNS for Cloud Applications: Records, TTL, and Failover

Plan DNS for cloud applications across record types, TTL, caching, migrations, load balancing, failover, DNSSEC, CAA, and end-to-end monitoring.

16 min read
DNSCloud NetworkingReliability
For: Developers, small teams, and VPS buyers comparing KVM and OpenVZ hosting for Linux, Windows, Docker, and production workloads.

KVM VPS vs OpenVZ Containers: Isolation, Kernel Control, and Performance

Compare KVM VPS vs OpenVZ containers across kernel control, Windows and Docker support, isolation, performance, resource guarantees, recovery, and workload fit.

15 min read
KVMOpenVZVPS Hosting
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: Founders and developers deciding where to run AI, ETL, file processing, and batch workloads

Long-Running Serverless Functions for AI, ETL, and Batch Jobs

Learn when to use long-running serverless functions for AI, ETL, batch, cron, and storage events, and when Raff VM is a better fit.

17 min read
Serverless FunctionsAIETL
For: Developers, technical founders, and small platform teams deciding whether to run production Docker and Docker Compose workloads on a VPS

Docker VPS Hosting: What Developers Should Know

Learn when Docker VPS hosting fits production apps, how to size a Docker host, manage Compose, volumes, networking, backups, security, and when to move to Kubernetes.

16 min read
DockerVPSDocker Compose
For: Developers, DevOps engineers, technical founders, and small platform teams securing dependencies, CI/CD, artifacts, credentials, containers, and production cloud access.

Software Supply Chain Security for Developers: Protecting Cloud Servers

Learn how to secure the software supply chain from dependencies and CI/CD to SBOMs, build provenance, secrets, container images, and cloud deployment access.

16 min read
Software Supply ChainSecurityDevSecOps
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, 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, founders, SaaS teams, and small platform teams deciding when an application should stay on one server or move to a multi-server architecture.

Single Server vs Multi-Server Architecture: When to Scale Out

Compare single server vs multi-server architecture, including when to split databases and workers, when to add app nodes, and when scaling up is still the simpler choice.

16 min read
Single ServerMulti-Server ArchitectureMulti-Server Setup
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

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