Skip to content

Deploy Dockerize Django app on AWS Ec2 with Docker Compose, Redis, Celery, ElasticSearch, PostgreSQL, Celery beat

License

Notifications You must be signed in to change notification settings

codewithmuh/deploy-dockerize-django-ec2

Repository files navigation

Deploy Dockerized Django app on AWS Ec2 with Docker Compose, Redis, Celery, ElasticSearch, PostgreSQL Using Github Actions CI/CD Pipeline

LinkedIn Youtube Medium GitHub Terraform AWS

Youtube Video Url: https://youtu.be/BlVR6hzZ6T0

DEPLOY REACT ON S3 (9)

This guide walks you through deploying a Dockerized Django backend on an AWS EC2 instance, setting up Nginx for reverse proxy, and automating deployment using GitHub Actions.

Table of Contents

  1. Prepare your Project Locally for Production Ready
  2. AWS EC2 Instance Creation
  3. Install Necessary Packages on EC2
  4. Clone your Project on EC2
  5. Nginx Setup
  6. CI/CD Pipeline Setup with GitHub Actions: Automate Deployment
  7. Conclusion

Commands:

docker compose -f "./build-process/docker-compose-django-backend.yml" up -d --build

sudo docker-compose -f "./build-process/docker-compose-django-backend.yml" up -d --build

License

This project is licensed under 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

Deploy Dockerize Django app on AWS Ec2 with Docker Compose, Redis, Celery, ElasticSearch, PostgreSQL, Celery beat

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published