Deploying to a Hetzner Cloud box, end to end

The stack I landed on: Gunicorn, Nginx, systemd, and a tiny CX22 instance.

There are fancier ways to deploy a Django app, but for a personal site the boring stack wins: Gunicorn serving the app, Nginx in front of it handling TLS and static files, and systemd keeping Gunicorn alive across reboots.

The whole thing runs comfortably on Hetzner's smallest shared-vCPU box, with room to spare.

← Back to writing