App with 2 microservices - should they run in two ECS clusters or two services in single ECS cluster

0

I am building an application with two processes that talk to the same database. They don't interact directly. I am setting them up to run in ECS fargate. Should I be using a single cluster with two services each pointing to a different task or should I have two different clusters? What do I need to consider when making that decision? Scaling requirements for both processes are going to be similar. They don't necessarily need to be isolated from each other.

gefragt vor einem Jahr1271 Aufrufe
1 Antwort
2
Akzeptierte Antwort

1 cluster and 1 service with 2 task definitions. You don't need 2 clusters.

profile picture
beantwortet vor einem Jahr
profile picture
EXPERTE
überprüft vor 7 Tagen
  • Can I use two different task definitions within a single service

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen