New ways to deploy your Django app
09-18, 13:15–13:55 (Europe/Lisbon), Virtual

For many people, deploying their site is still the hardest part of being a Django developer. This talk will demonstrate three modern, low-cost alternatives to the standard approaches. I'll show how to deploy the same app three times, using self-hosted Docker, Google Cloud Run and static site generation, outlining the trade-offs with each approach.


I talked about the future of Django app deployment in my talk on 'Serverlessness' at DjangoCon Europe in 2017, but three years later this still remains the hardest topic for many Django developers, as evidenced by the proportion of questions on StackOverflow and reddit with titles like "I've built my app, how do I make it live?". In same period, the tools available to app developers have matured, with tools like Zappa and Dokku, and services like Cloud Run and Fargate opening up new, simpler approaches to deployment.

This will be a practical, hand-on talk, briefly outlining the issues which face developers before demonstrating three modern approaches, with carefully prepared live demos (and video fall backs, if necessary!). At the end I'll offer a simple model to help developers decide between the options for their particular needs, weighing up cost, simplicity, scalability and control.

Tom is the technical director of Torchbox, a UK software company which uses Python to make the world a better place. He runs the open source Wagtail project, designing and maintaining the popular Django-based CMS used by NASA, Google, Mozilla and Apple. His interests include serverless architectures, headless content management and practical machine learning.