Hosting and DevOps for Django

Oct 16 3:55 PM EDT :calendar: to 4:40 pm

About This Talk

Production server infrastructure is a complicated beast that requires configuring and coordinating dozens of tools and services. You have a new Django application and you’re ready to deploy it; what next? You have an existing Django application and you set up the servers yourself; what can you do better? One mistake in a server setup can lead to major downtime or a security breach of a website. Short of that, it can cause a lot of headaches for developers as complexity spirals out of control.

I’m the co-founder CTO of Zagaran, Inc., a software consulting company. Over the past 10 years, we’ve built, maintained, and deployed dozens of Django websites, and have an extensive playbook for how to do that well. In this talk, I draw from that playbook and go through the main ingredients for creating a robust and secure Django deployment. For each piece, we’ll look at the technologies and techniques to do it well. We’ll focus on AWS as a hosting platform, but these approaches work on any major cloud provider.

This talk is aimed at anyone that is working with the servers and/or deployment process of a production Django project. For people setting up a new set of servers for a Django project, this talk should be a good overview of the approach they need to take. For people with an existing server setup for a Django project, this talk should help them identify issues that they had missed and ways to make their servers easier to manage.

In this talk, we’ll look at three main ways to host an application:

  1. Platform as a Service
  2. Managed Container Service
  3. Kubernetes

With that as framing, we’ll cover the following other aspects of DevOps:

  • Application hosting
  • Server security
  • Automating deployments
  • Databases and migrations
  • Secrets management
  • File storage
  • Server monitoring
  • Server maintenance
  • (and more!)


    Photo of Benjamin

    Benjamin "Zags" Zagorsky (he/him)

    Zags is the co-founder and CTO of Zagaran, Inc., a software consulting company. He has led dozens of full-stack software development projects between both the private and public sectors. Zags graduated from Harvard in 2012 with bachelor’s and master’s degrees in Computer Science. He previously worked at Google, mentors for TechStars, and is a published game theorist.