codewithmuh / django-aws-ec2-autoscaling

This repo has scripts and instructions for deploying a Django project on AWS EC2 with Auto Scaling and Load Balancer, including RDS for database, SSL setup, Route53 config, and RDS-PgAdmin connection.

Home Page:https://youtube.com/@codewithmuh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django AWS EC2 Auto Scaling Deployment

This repository contains scripts and instructions for deploying a Django project on AWS EC2 with Auto Scaling and Load Balancer, along with other essential components such as RDS for database management, SSL certificate setup, Route53 configuration, and connecting RDS with PgAdmin for database management.

1i

Prerequisites

Before you begin, ensure you have the following:

  • An AWS account with appropriate permissions to create EC2 instances, RDS databases, Load Balancers, etc.
  • A Django project ready to be deployed.
  • Basic understanding of AWS services and deployment concepts.

Steps Covered in Video:

  1. Project Setup with Nginx and Gunicorn
  2. WhiteNoise and Gunicorn Concept
  3. AWS RDS Database Setup and its security group
  4. Pgadmin setup, Connect PgAdmin with RDS To view the database (Optional)
  5. Running Project Locally To make sure No bugs.
  6. Create an ec2 Template with metadata, keeping the pem file for future use.
  7. create an autoscaling group with a load balancer, target group, security group
  8. View the application In the browser at load balancer DNS
  9. SSH explanation if required for future Code updates.
  10. Domain Registration at AWS Route53
  11. SSL cert, AWS Certificate manager, attaching to load balancer
  12. What Next

Complete Youtube Video Tutorial:

This project is licensed under the MIT License, granting you the freedom to use, modify, and distribute the code.

Acknowledgements

Special thanks to codewithmuh for creating this incredible Django Starter Kit and simplifying the development process.

Support

Buy Me A Coffee

About

This repo has scripts and instructions for deploying a Django project on AWS EC2 with Auto Scaling and Load Balancer, including RDS for database, SSL setup, Route53 config, and RDS-PgAdmin connection.

https://youtube.com/@codewithmuh


Languages

Language:Python 48.8%Language:HTML 26.7%Language:Shell 24.5%