Internal and External Load balancer
GCE: REGIONAL INTERNAL lB
- Load balances instance internal to your Virtual Private Cloud(VPC)
- Internal client request stay internal to your VPC network and region,likely
Resulting in lowered latency.
- Internal load balancing works with auto mode VPC network, custom mode VPC
Network,and lagacy network.
- Internal load balancing can also be implemented with regional managed instance groups.this Allows you to autoscale across a region, making your service immune to zonal failure.
By default internal LB use 5-tuple hash
Client source IP
Destination IP(the load balancing IP)
Protocol (either TCP or UDP)
If you want to control how the traffic directs to backend – You can use following options for session Affinity
Hash based on 3-tuple(client IP,Dest IP,Protocol)
Hash based on 2-tuple(client IP,Dest IP)
GCE: External / NETWORK LB: