0

I've configured a TCP Load Balancer in Google Cloud and I can see the option to select more than one single instance group to send traffic.

google cloud select more than one instance group

What does really Google Cloud does when selecting more than two instance group? It balances the traffic using the sum of all instances on both instance groups? or it balances the load on the first instance group and then balances the load on the second instance group?

I'm more interested in the second aproach, so I would like to know how to get this in Google Cloud.

fernandezr
  • 113
  • 6

2 Answers2

0

From this concern the traffic routes to the backends that are closest to the user. You may check this information on this link

Since you mentioned that you are more interested in the second approach, you can check on Session Affinity wherein it allows you to control how the load balancer selects backends. For more information you can check this link .

Yvan G.
  • 101
0

After trying it out, I've checked that the load balancer distributes among all instances in all instance groups evenly, ignoring completely the instance group it belongs to.

fernandezr
  • 113
  • 6