In Depth guide to deploy Fastapi app to AWS ec2 with Nginx, Uvicorn and Supervisor

Описание к видео In Depth guide to deploy Fastapi app to AWS ec2 with Nginx, Uvicorn and Supervisor

In this video, I would like to show you in-depth details on how to deploy a python Fastapi app to an AWS EC2 with Nginx, supervisor and uvicorn. Also I have added timeline marks to easily navigate through the video

The configuration files and sample application can be found in the github repo: https://github.com/ShobiExplains/fast...

The readme also contains some commands that you can use. https://github.com/ShobiExplains/fast...

Follow me on twitter :   / ppshobi  

Please post your comments, doubts and Please subscribe and share the video.

00:00 Intro
00:24 Setting up a local Fastapi application locally
04:32 Setting up AWS EC2 instance and then copy/clone the app to the Instance
16:20 Fixing security groups in AWS console
19:16 Installing Supervisor to monitor and restart our processes automatically
22:30 Build a start script so that Supervisor can use this script to run our app
27:00 Setup supervisor configuration for our app
32:27 Information of how to debug supervisor when you get an error
35:15 Moving our app to a more secure location (/var/www), changing the user and fixing permission issues
43:38 Installation and set up of Nginx
45:24 Creating Nginx configuration for our app
47:02 Activating Nginx configuration using symlinks
48:37 Instruct uvicorn to bind to a UNIX domain socket using the start script
49:42 Modified start script
50:27 Debugging nginx configuration
51:48 Finale

Please post your comments, doubts and Please subscribe and share the video.

Комментарии

Информация по комментариям в разработке