在AWS lambda上部署Python FastApi

0

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

profile picture
EXPERT
demandé il y a 6 mois11 vues
1 réponse
0

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

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

profile picture
EXPERT
répondu il y a 6 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions