在AWS lambda上部署Python FastApi

0

【以下的问题经过翻译处理】 我已经创建了Python FastAPI并构建了Docker镜像。现在我想把它托管在AWS Lambda和AWS API Gateway上。您能帮我找到方法吗?

profile picture
EXPERTO
preguntada hace 6 meses10 visualizaciones
1 Respuesta
0

【以下的回答经过翻译处理】 我不确定你为什么想要将API Gateway与FastAPI一起使用-在我看来,这里有很多重复多余的功能,这意味着你要制造/支付/使用两个东西来完成一个工作。有哪些优势是FastAPI可以带给你的,但是API Gateway给不了你的呢?

如果你正在寻找一种轻量级的容器托管方式,那么我建议[App Runner](https://aws.amazon.com/apprunner/)可能是更好的解决方案。

profile picture
EXPERTO
respondido hace 6 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas