amcclosky / fastapi-lambda

Example FastAPI on Lambda with Container Image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastAPI on Lambda via Custom Image

Example project using Lambda Container Images and AWS CDK

On MacOS using using homebrew

$ brew install nvm
$ brew install poetry
$ brew install direnv
$ cd <project-dir>/fastapi-lambda
$ direnv allow
$ poetry install
$ inv setup
$ inv deploy

Once the deploy finishes, visit https://<endpoint-url>/docs/ to see the OpenAPI doc generated by FastAPI.

About

Example FastAPI on Lambda with Container Image


Languages

Language:Python 82.4%Language:Dockerfile 17.6%