Deploy Django on AWS | DeployPRO
Tags: deployment, aws, django, deploypro
Published: 2023-08-29 17:19:11

---
title: Deploy Django on AWS | DeployPRO
published: true
description: This page explains how to deploy on AWS a simple Django Starter generated by the service using DeployPRO, a popular deployment service.
tags: deployment, aws, django, deploypro
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/eimcriw8pe3qm58oh1ge.jpg
canonical_url: https://docs.app-generator.dev/deployment/django-aws
---
Hello Coders! 

This page explains how to [Deploy on AWS a Django Starter](https://docs.app-generator.dev/deployment/django-aws) using [DeployPRO](https://deploypro.dev/), a free service that aims to simplify the deployment process. *Thank you!* 

--- 

## ✅ Here are the steps

- Access [DeployPRO](https://deploypro.dev/) and register using `GitHub`
- Connect your **AWS** account
- Create a new VPS Server and wait the full deployment (usually takes ~= 5min)
- Create a new app or simply fork this sample:
  - https://github.com/app-generator/sample-rocket-django-aws
- 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](https://deploypro.dev/)

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

![DeployPRO - Registration Page](https://user-images.githubusercontent.com/51854817/263670395-cf095113-c0b1-44ab-91ef-1ca4fc871ead.jpg)
 
---

## ✅ Connect AWS 

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

![DeployPRO - AWS Credentials](https://user-images.githubusercontent.com/51854817/263670354-2b1dd20b-4874-49f7-a97a-44f8703bb27d.jpg)

If the operation is successful, the connection to AWS is flagged as active. 

![DeployPRO - AWS Connection Active](https://user-images.githubusercontent.com/51070104/263734577-6c32142f-0d88-4d52-8680-1bcc725c376b.png)

---

## ✅ Create new Server 

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

![DeployPRO - Create AWS Server](https://user-images.githubusercontent.com/51854817/263670373-dd12a0da-48b9-4954-8440-3768bdd97083.jpg)

---

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

![DeployPRO - AWS Server, the default page.](https://user-images.githubusercontent.com/51854817/263670388-5f9d2579-2112-4f12-afe8-e19017c9ee8b.jpg)

---

> Server Information (AWS) 

![DeployPRO - New AWS Server (on AWS)](https://user-images.githubusercontent.com/51854817/263670337-91e8bb53-59c3-4256-b25b-76b178c68f1c.jpg)

---

The server state can be also checked on DeployPRO. 

![DeployPRO - New AWS Server (on DeployPRO)](https://user-images.githubusercontent.com/51070104/264061233-a464745e-d89e-4cb5-b6c8-7f6e6dffc406.png)

---

### ✅ 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](https://user-images.githubusercontent.com/51854817/263670396-d5a7f163-e637-4289-a7a2-2359825ef941.jpg)

---

![DeployPRO - AWS & Django, App information in Full](https://user-images.githubusercontent.com/51854817/263670408-e3494989-0e24-4acb-98ea-1b99ded04900.jpg)

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.](https://user-images.githubusercontent.com/51070104/263740098-12517c63-b809-4615-b8b1-b2d45f6fa6d9.png) 

---

![DeployPRO - Deploy Django on AWS (GitHub Action) CI-CD flow completed.](https://user-images.githubusercontent.com/51070104/263740916-c63215b1-a476-4377-81f6-78da3e17de74.png)

--- 

## ✅ 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)](https://user-images.githubusercontent.com/51854817/263670401-214ac050-69c2-472d-96f4-b914dc464e6f.jpg)

---

> *Thanks for reading!* Fore more resources & deployment assistance feel free to access: 

- 👉 [Deploy Projects](https://deploypro.dev/) using your preferred provider: `AWS`, `DigitalOcean`, `Azure`, and GCP (soon)
- 👉 Get [Deployment Support](https://deploypro.dev/support/) from the team behind this service
- 👉 Join the [Community](https://discord.gg/qQhjQZhnur) and chat with the team behind `DeployPRO`