Deploy Frontend and Backend on Same Server - AWS EC2 instance - Django and React

preview_player
Показать описание
Learn how to deploy a React frontend and Django backend on the same AWS EC2 instance. This step-by-step guide covers everything from setting up your EC2 instance and attaching an Elastic IP to configuring your domain on Cloudflare, installing necessary packages, and deploying both frontend and backend. Finish strong with a complete Nginx setup for seamless integration.

_ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
Resources:

_ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
Contact:

_ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
If you need consultation or would like to hire me.

_ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
Social Links:

_ _ _ _ _ _ _ _ _ _ _ _ __ __ _ _ _ _
Table of Contents:

00:00 Introduction
00:35 Launch EC2 Instance
02:35 Associate Elastic IP Address to EC2
04:14 Domain Setup on CloudFlare
08:39 SSH to EC2 instance
09:17 Packages installation
11:25 Frontend Setup
14:11 Backend Setup
23:33 Nginx Step
27:38 Troubleshoot Skills

#deployment
Рекомендации по теме
Комментарии
Автор

if possible please make depth tutorial in nginx cors configuration

amandeepsingh
Автор

Thanks muh. Btw looks like the article no longer exists.

randyariya
Автор

thanks Muh, please i have a question why you dont't use docker compose instead ?

alexdin
visit shbcf.ru