Configuring Multiple Django Microservices with Separate PostgreSQL Databases in AWS

0

How can I ensure that each of my three Django microservices running in separate containers has its own dedicated PostgreSQL database with distinct ports to avoid port conflicts within a single AWS cluster?

Augie
demandé il y a 7 mois245 vues
1 réponse
0

you can follow this link https://realpython.com/deploying-a-django-app-and-postgresql-to-aws-elastic-beanstalk/ if you follow this link you can see how to configure different database instance for each django deployment

profile picture
EXPERT
répondu il y a 7 mois
  • Thank you for your input, Sedat Salma. At present, I am utilizing AWS ECS Fargate to oversee numerous containers for a solitary service. For each service, including a web app, Postgres, Redis, Celery Worker, and Celery Beat containers, we are making efforts to streamline AWS expenses by restricting services and ensuring the accuracy of our logic. However, I am encountering an issue with the Postgres port due to running three services on a single cluster, and I am unsure of the appropriate method to avoid conflicts among the Postgres containers.

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