Skip to content

Welcome to pulumi-django-azure.

This project aims to make a simple Django deployment on Azure easier.

Warning

I still need to update these docs, so please come back later.

It started when I wanted to run two Django websites on Azure Web Apps for our non-profit organizations. Since we enjoy a sponsorship from Microsoft, it was/is the cheapest option (as in free) to have a website with proper CI/CD, Postgres and optionally a Redis cache.

I wanted to use Pulumi, but quickly found that I had to create a ton of resources to make this happen.

I started bundling my stuff in a shared project for internal use but decided to make it public so others can enjoy it too.

This deployment gives you:

  • A storage account for media and static files
  • CDN endpoint in front with a custom domain name
  • PostgreSQL server (see Database)
  • Azure Communication Services to send e-mails
  • Webapp with multiple custom host names and managed SSL for the website itself
  • Azure Key Vault per application (see Secrets )
  • Webapp running pgAdmin on the same service plan (no extra cost)