Learn how to create a simple Serverless FastAPI with AWS Lambda and API Gateway. The Serverless FastAPI will be ran on an AWS Lambda by using Mangum and AWS API Gateway will handle routing all requests to the Lambda.
00:00 -- Intro: Serverless FastAPI with AWS Lambda
00:34 -- 1. Prerequisites
00:41 -- 2. Create FastAPI Application
03:07 -- 3. Configure Routing
07:50 -- 4. Convert to Lambda
08:34 -- 4. Package Lambda
09:53 -- 5. Create S3 Bucket
10:14 -- 6. Create Lambda Function
12:11 -- 7. Test Lambda Function
12:55 -- 8. Setup API Gateway
Check the blogpost for current updates:
https://www.deadbear.io/simple-serverless-fastapi-with-aws-lambda/
Repository for FastAPI Lambda:
https://github.com/deadbearcode/simple-serverless-fastapi-example
FastAPI:
https://fastapi.tiangolo.com/
Mangum:
https://pypi.org/project/mangum/
Blog - https://www.deadbear.io
Twitter - https://twitter.com/deadbearcode
Instagram - https://www.instagram.com/deadbearcode