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.

已提問 1 年前檢視次數 1274 次
1 個回答
2
已接受的答案

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

profile picture
已回答 1 年前
profile picture
專家
已審閱 8 天前
  • Can I use two different task definitions within a single service

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

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

回答問題指南