Deploy Django on AWS EC2 with S3 Storage, RDS Postgres DB, and CI/CD (GitHub Actions)
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/django_ec2 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: https://youtu.be/lgMjxRIM8gM?si=x3_VbzwPrq2Vb19o Build a voting system with Django - part2: https://youtu.be/YdmqbWTbfNo?si=BxWRcXwjKnF6H9Ky Build a voting system with Django - part3: https://youtu.be/XqpQUlcRHw4?si=q0qriq8M6GpnPCsd Follow me: - X.com: https://x.com/CodeWithClinton LinkedIn: https://www.linkedin.com/in/clinton-nwachukwu/
Download
0 formatsNo download links available.