Self hosting your side projects with Django and duct tape
summary
Runs multiple side projects on a single Raspberry Pi 5, serving half a million requests in a month with about 7 minutes of downtime and claims >99.9% availability; stack is classic Nginx + Gunicorn + Django (SQLite for small apps, Postgres optional), managed by systemd, backed up to a USB stick, and deployed with GitHub Actions deploys via SSH. Handles dynamic IPs with Cloudflare + dynamic IP updater (ier) and uses Let’s Encrypt for proper TLS; it works on a tiny budget.
AI-written summary · about
chapters (11)
- 0:00Introduction to self hosting
- 2:17Hardware and physical setup
- 9:34Operating system and software
- 14:51Setting up the web server
- 16:49Simple API and project examples
- 18:27Networking and public access
- 20:29Security best practices
- 23:05DNS and dynamic IP management
- 27:02Django deployment and HTTPS
- 33:23Databases and automation
- 37:21Q&A session
related talks
39mHigh Performance Django: From Runserver to Reddit Hugs
40mPiku: git push deployments to your own servers
29mGoing serverless with Django on AWS Lambda
28mOn a shoe-string and a t2.small: scaling on a [zero] budget.
35mServerless Django
24mServerless Django with Zappa
39mDeploying Django on Serverless Infrastructure
49mTales From the Serverless
