How to deploy your Django application on AWS

Anozie Baron Chibuikem
2 min readFeb 20, 2022

In this short article, I will be sharing the resources you can use to deploy your Django application on AWS.
Recently it seems as though being just a python(backend) developer isn’t enough anymore as both recruiters and companies now expect you to also be knowledgeable doing DevOps tasks and AWS seems to have become the go-to cloud provider.
Initially, when I started learning AWS, it seemed like a daunting task because AWS has a lot of services and I thought I needed to memorize every single one, but I soon realized you can start with just the ones you need at the moment and gradually learn others as the need arises.

So what are the bare minimum AWS service you will need to deploy your Django application on AWS?
1. An AWS EC2 instance
2. Any of the databases in their RDS service you choose
3. Your Django Project hosted on any of the version control e.g, GitHub
4. Offcourse you should have a registered account with AWS

The two references that helped me deploy my first Django application on AWS are listed below.
1. A youtube video by Code Keen, here’s the video
2. An article by Erin Glass published on DigitalOcean, click to view the article

The video by Code Keen, though not in English language will help you practically set up your EC2 instance, ssh into your EC2 serve, and clone your project from GitHub.

Before you start using the article by Erin Glass, it’s assumed you have your EC2 server running ubuntu and you want to configure your cloned Django project to use Nginx, and Gunicorn.

At the end of the article, you should have your Django application deployed on EC2 and publicly available when you navigate to your instance public IP address on your browser.

--

--

Anozie Baron Chibuikem

A backend engineer constantly building a shit ton of things with python and javascript and occasionally writes on technical topics.