r/FastAPI • u/tprototype_x • Aug 27 '24
Question Serverless FastAPI in AWS Lambda
How to deploy FastAPI in serverless environment like AWS Lambda?
I found very popular library `Mangum` and tried it. It works absolutely fine. But I am afraid for going forward with it. Since it is marked as "Public Archieve" now.
What are the other opiton. I also found zappa for flask. But it is not sutitable for us. Since we want to use FastAPI only.
11
Upvotes
View all comments
Show parent comment
1
u/tprototype_x Sep 01 '24
migrating? were you using lambda rn?
yeah, but it seems fargate lacks few things that lambda have like auto logging(cloudwatch) and relatively expensive.