In this video, I'll show you how to deploy a Python FastAPI application to an AWS EC2 instance, so that your API becomes publicly accessible on the internet.
👉 Previous FastAPI Tutorial: • FastAPI Python Tutorial - Learn How to Bui...
👉 Code: github.com/pixegami/fastapi-tutorial
👉 SSH to EC2 from Windows: stackoverflow.com/questions/5264945/ssh-to-ec2-lin…
👉 AWS: aws.amazon.com/
👉 FastAPI: fastapi.tiangolo.com/
👉 FastAPI on AWS Lambda: • Deploy FastAPI on AWS Lambda ⚡ Serverless ...
00:00 Introduction
00:30 Launch an EC2 instance
04:06 Connect to your EC2 instance
05:35 Install pip and NGINX
06:20 Route API traffic with NGINX
09:06 Run the FastAPI server
11:39 Testing the API
13:01 Terminate the EC2 instance
#fastapi #aws #pixegami
🎨 Background vector created by GarryKillian
www.freepik.com/vectors/background
コメント