Deploy Rest API in Django

0

I have made one Rest API in Django and now I have to deploy that in AWS. Any ideas to which AWS Service should be used? What will be the architecture? Any diagram?

2 個答案
1
已接受的答案

Since Django handles auth, api throttling etc. on its own its usually deployed on EC2 instanced directly. So Elastic Bean Stalk would be the recommendation. You can deploy it on Lambda as well but you'll expose it using API gateway which conflicts with what Django Rest Framework does. So EC2 is the best bet deployed through Elastic Bean Stalk.

AWS
已回答 2 年前
0

You can launch a Lightsail instance with Django pre-installed if that helps. As for what's best...depends on many factors including use-case, expected traffic, etc.

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南