serverless-fastapi
serverless-fastapi copied to clipboard
Building an serverless (API Gateway and Lambda) app with Python (using Mangum), Docker (with ECR) and Terraform
Serverless + FastAPI (Mangum) + Docker + Terraform
How to try this? 🤔
Requirement
You must have logged in AWS CLI: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html
Create an Elastic Container Registry (ECR) 🏗
- make ecr
Lets deploy Lambda and ApiGateway 🚀
- make deploy
References
-
https://towardsdatascience.com/building-a-serverless-containerized-machine-learning-model-api-using-aws-lambda-api-gateway-and-a73a091ff82e
-
https://www.deadbear.io/simple-serverless-fastapi-with-aws-lambda/
-
https://www.youtube.com/watch?v=wlVcso4Ut5o