Internal and External Load balancer


  • 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.

Selection Algorithm:
By default internal LB use 5-tuple hash
Client source IP
Client port
Destination IP(the load balancing IP)
Destination port
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:

  • Balancing load of systems based on incoming IP protocol data,such as address port,and protocol type.
  • Network load balancing uses forwarding rules that point to target point, which list the instance available for load balancing and define which type of health check that should be performed on these instance
  • Network load balancer is a pass-through load does not proxy connections from clients.
  • Open chat