Skip to content

Building an serverless (API Gateway and Lambda) app with Python (using Mangum), Docker (with ECR) and Terraform

Notifications You must be signed in to change notification settings

ricardo-vaca/serverless-fastapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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) 🏗

  1. make ecr

Lets deploy Lambda and ApiGateway 🚀

  1. make deploy

References

  1. https://towardsdatascience.com/building-a-serverless-containerized-machine-learning-model-api-using-aws-lambda-api-gateway-and-a73a091ff82e

  2. https://www.deadbear.io/simple-serverless-fastapi-with-aws-lambda/

  3. https://www.youtube.com/watch?v=wlVcso4Ut5o