Can a single ELB classic (CLB) load balancer direct traffic evenly to multiple auto scaling groups?

178 Views Asked by At

I have a hard requirement to use a single ELB Classic (CLB) load balancer. Can a single ELB Classic (CLB) distribute traffic between two different Auto Scaling Groups, both running the same application code with no special path based routing needed from an ALB (Application Load Balancer).

For example, in a high availability (HA) cluster set-up with KOPS, how does KOPS make it possible to use a single ELB Classic load balancer (as an entry point to the API server) to serve traffic to two different Auto Scaling Groups in different Availability Zones (AZs) each with their own master instances?

Thanks in advance.

2

There are 2 best solutions below

0
On BEST ANSWER

It turns out that it is possible to associate more than one Autoscaling Group (all with the same application code in it's instances) with the same ELB Classic (CLB). It's just not a common use-case which is why people don't think it can be done.

2
On

A single classis ELB cannot have multiple ASGs associated with it, but the newer Application Load Balancer can do this.