Skip to main content

Deploy Django on AWS

This page explains how to deploy on AWS a simple Django Starter generated by the service using DeployPRO, a popular deployment service.

Here are the steps (summary)

  • Access DeployPRO and register using GitHub
  • Connect your AWS account
  • Create a new VPS Server and wait the full deployment
  • Create a new app or simply fork this sample:
  • Complete the deployment form
  • Confirm the deployment
  • Access the GitHub repository and monitor the progress (GitHub Actions)
  • Visit the app in the browser.

Access DeployPRO

The service allows the registration using GitHub (no password required)

DeployPRO - Registration Page


Connect AWS

In the connections page, users can connect to AWS via credentials.

DeployPRO - AWS Credentials

If the operation is successfull, the connection to AWS is falled as active.

DeployPRO - AWS Connection Active


Create new Server

Before deploying the project, a deployment server needs to be created. This operation takes aprox. 5 minutes.

DeployPRO - Create AWS Server


Once created, we can access the default page and also check out the details in our AWS account:

DeployPRO - AWS Server, the default page.


Server Information (AWS)

DeployPRO - New AWS Server (on AWS)


The server state can be also checked on DeployPRO.

DeployPRO - New AWS Server (on DeployPRO)


Deploy Django

In this phase, the user needs to provide:

  • the repository
  • app name
  • path to the Dockerfile
  • the PORT exposed in Docker (execution entry point)
  • the DeployPRO subdomain

DeployPRO - AWS & Django, App information


DeployPRO - AWS & Django, App information in Full

Once the operation is confirmed, DeployPRO will analyze the input and update the repository with all the necessary scripts for the LIVE deployment.

DeployPRO - Deploy Django on AWS, via GitHub Action.



DeployPRO - Deploy Django on AWS (GitHub Action) CI-CD flow completed.


Access the APP (browser)

At this point, the Django App should be fully deployed on AWS, with an active CI/CD flow:

DeployPRO - Django Starter fully deployed on AWS (CI/CD flow active)


Resources