In this project you'll learn how to deploy your FastAPI on AWS Lambda so you can host it serverlessly and not have to stress about server maintenance.
π» Code: https://github.com/pixegami/fastapi-tutorial
π AWS Lambda: https://aws.amazon.com/lambda/
π¨ My Terminal Theme: https://youtu.be/UvY5aFHNoEw
π½ Related Videos
π FastAPI Tutorial: https://youtu.be/34cqrIp5ANg
π AWS Lambda Tutorial: https://youtu.be/S0rlj67cTHw
π AWS Lambda with DynamoDB (database): https://youtu.be/CjVPMocEECM
π Chapters
00:00 Introduction
01:31 Getting started
04:03 Using mangum to adapt the app
05:13 Create an AWS Lambda function
06:39 Adding our FastAPI app to Lambda
09:22 Uploading Python environment to Lambda
16:06 Testing the function
18:56 Adding HTTP endpoint
20:31 Wrapping up
#fastapi #aws #lambda