Deploy Django on AWS EC2 with S3 Storage, RDS Postgres DB, and CI/CD (GitHub Actions)
Автор: Code With Clinton
Загружено: 2024-07-24
Просмотров: 1057
Learn how to deploy a fullstack Django app on AWS EC2! This tutorial covers setting up an EC2 instance, using S3 for static and media files, configuring an RDS PostgreSQL database, and implementing CI/CD with GitHub Actions. By the end, you'll have a fully deployed Django application with automated deployments. Perfect for developers looking to streamline their deployment process using AWS and GitHub Actions.
Source code: https://github.com/CodeWithClinton/dj...
Table of contents:
00:00:00 - Introduction
00:00:22 - Creating an AWS Instance
00:05:15 - Pushing your Django project to GitHub
00:11:05 - SSH into your EC2 Instance
00:13:22 - Deploying your Django project to AWS EC2 Instance
00:31:08 - Creating AWS S3 Bucket
00:32:50 - Updating S3 Bucket Permission Policy
00:36:42 - Creating the IAM user
00:40:27 - Connect AWS S3 Bucket to your Django project
00:53:59 - Pulling code changes for S3 Bucket into the EC2 Instance
01:00:51 - How to fix "502 Bad Gateway" error
01:07:48 - Creating a Postgres Database on AWS RDS
01:11:58 - Connecting the Postgres Database to your Django project
01:16:09 - Editing Database Inbound Rules
01:21:20 - Pulling code changes for Postgres Database into the EC2 Instance
01:30:46 - CI/CD with GitHub Actions
01:51:22 - The End
Build a voting system with Django - part1: • Build an Online Voting System with Django ...
Build a voting system with Django - part2: • Django Project for Beginners - Build a Vot...
Build a voting system with Django - part3: • Django Project for Beginners - Build a Vot...
Follow me: -
X.com: https://x.com/CodeWithClinton
LinkedIn: / clinton-nwachukwu
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: