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 Risposte
1
Risposta accettata

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
con risposta 2 anni fa
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.

con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande