One Thousand and One Django Sites
summary
Code Red.cloud now hosts over 1,000 Django and Wagtail sites using a reproducible runtime: single Python image per version with customer code mounted at runtime and an agent that finds a host, pip‑installs deps and runs CR deploy, deploys a site in ~20–30s with SSL. Operations automate DBs, DNS, backups and monitoring; a sentinel middleware rate-limiter blocks abusive bots temporarily and MaxMind MinFraud scores suspicious signups (MaxMind MinFraud). Isolation uses per‑user Linux accounts, per‑container users and dedicated DB servers; process monitoring detects code injection and enables suspension.
AI-written summary · about
chapters (18)
- 0:00Introduction and welcome
- 1:45Hosting over 1000 Django sites
- 2:26Sinbad’s technical architecture journey
- 5:20Docker’s challenges and solutions
- 7:28Single Python environment approach
- 9:17Simplest Django deployment demo
- 11:06Aladdin’s business hosting challenges
- 14:20Automation to reduce maintenance
- 16:26Alibaba’s battle with bots and spammers
- 18:32Sentinel middleware for bot protection
- 19:35Fraudulent accounts and MaxMind service
- 21:44AI training bot traffic surge
- 23:10Code injection security risks
- 24:53Q&A: Handling code injection
- 25:55Q&A: Managing WordPress alongside Django
- 26:58Q&A: High availability strategies
- 28:42Q&A: Docker isolation and security
- 29:49Q&A: Docker and database management
