Pros/cons of separate clusters (fargate)?

We’re trying to talk through whether there are any benefits to isolating services into their own clusters vs keeping everything within a single cluster. Assuming we have a main system, a supporting system, and an MFA service, is there any benefit/downside in having them all within 1 cluster?

I’m probably just thinking about this wrong but I can’t find any supporting evidence that suggests separate clusters as a common solution. Each service will have it’s own domain and alb

Thanks for any thoughts or suggestions you can offer.


Related discussions:

Cluster settings are permissions, VPC, and fleet. If you need those to be different for different services, then you need an additional cluster.

I wouldn’t overthink this line from Amazon docs: “An Amazon ECS cluster is a logical grouping of tasks or services.” If the applications you’re deploying are closely related, there’s nothing counterintuitive about keeping them within a single cluster.

This is especially true if you leverage ECS Services for each application, which allow you to maintain separate load balancers, subnets / SGs, and auto scaling policies. Two of your most important considerations are covered by Services:

  • Failure of a single application will not cause failure of the cluster, and the other services inside.
  • Each application can scale independently of the others, adding or removing instances when necessary.

So honestly, most of the important stuff happens at the service level. The cluster designation is less important, and it’s up for you to decide what “logical grouping” means for your app ecosystem!

We try to build stuff with the least amount of outside dependencies as possible. So every service gets it’s own ECS cluster, VPC, ECR, etc.

I hope the accounts are separated or you will have a bad time in the future dealing with service limits.

In total we are prolly never going to go over 10. Otherwise, I agree it would be a problem