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/fastapi-deployment-demo
The readme also contains some commands that you can use. https://github.com/ShobiExplains/fastapi-deployment-demo/blob/main/readme.md
Follow me on twitter : https://twitter.com/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.
Видео In Depth guide to deploy Fastapi app to AWS ec2 with Nginx, Uvicorn and Supervisor канала Shobi P P
The configuration files and sample application can be found in the github repo: https://github.com/ShobiExplains/fastapi-deployment-demo
The readme also contains some commands that you can use. https://github.com/ShobiExplains/fastapi-deployment-demo/blob/main/readme.md
Follow me on twitter : https://twitter.com/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.
Видео In Depth guide to deploy Fastapi app to AWS ec2 with Nginx, Uvicorn and Supervisor канала Shobi P P
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Laravel Collections - Ep-4 collapse() methodLaravel collections - An IntroductionDjango Authentication Tutorial by leveraging django's' built in authRandom Text Generator - Demo V1Hello World program in Rust programming languageInstalling MySQL 8 in AWS EC2/Digital OceanLaravel Collections - Ep-2 all() & avg() methodsEasiest Laravel Installation under 8 minutesIn Depth tutorial on deploying a Django application to AWS (for free) - Part 2 - Static File servingHow to install Django 2 in Ubuntu 18.04 in less than 8 minutesIn Depth tutorial on deploying a Django application to AWS (for free) - Part 1How to Deploy a django app into aws with RDS - Part 3Install Django 2 in Mac with Pip and Virtual Env in less than 5 MinutesSending Emails in Django - Part -1 (Console Backend)How to install Laravel in AWS/Digital Ocean - EP 4 - Deploying the App & Securing the ServerHow to install Laravel in AWS/Digital Ocean - EP 1 - Provisioning Server and Installing NginxHow to Deploy Laravel in AWS/Digital Ocean - EP 1 - Part 2 - Provisioning Server In AWS EC2Laravel Collections - Ep-3 chunk() methodHow to install Laravel in AWS/Digital Ocean - EP 2 - Creating a custom user to secure the serverHow to install Laravel in AWS/Digital Ocean - EP 3 - Installing PHP & Connecting to a Custom Domain