Choosing a Load Balancer

This document helps you determine which Google Cloud Platform load balancer best meets your needs.

About Cloud Load Balancing

Google Cloud Platform Load Balancing enables you to do the following:

  • Distribute load-balanced resources in single or multiple regions
  • Meet your high availability requirements
  • Put your resources behind a single anycast IP address
  • Scale your resources up or down with intelligent Autoscaling
  • Use Cloud CDN for optimal content delivery

With Cloud Load Balancing, you can serve content as close as possible to your users, on a system that can respond to over 1 million queries per second. Cloud Load Balancing is a fully distributed, software defined, managed service. It is not instance or device based, so you do not need to manage a physical load balancing infrastructure.

Deciding on a load balancer

To decide which load balancer best suits your implementation of Google Cloud Platform, consider the following aspects of Cloud Load Balancing:

  • Global versus regional load balancing
  • External versus internal load balancing
  • Traffic type

After you determine whether you need global or regional load balancing, external or internal load balancing, and what traffic type your load balancers must handle, use the following flow chart to determine which load balancers are available for your client, protocol, and network configuration.

Flow chart for choosing a load balancer (click to enlarge)
Flow chart for choosing a load balancer (click to enlarge)

Summary of Cloud load balancers

The following table provides some specifics about each load balancer.

Load balancer Traffic type Global/Regional External/Internal External Ports for Load Balancing
HTTP(S) HTTP or HTTPS Global External HTTP on 80 or 8080; HTTPS on 443
SSL Proxy TCP with SSL offload Global External 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, and 5222
TCP Proxy TCP without SSL offload. Does not preserve client IP addresses Global External 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995, 1883, 5222
Network TCP/UDP TCP/UDP without SSL offload. Preserves client IP addresses. Regional External Any
Internal TCP/UDP TCP or UDP Regional Internal Any

What's next

See Overview of Load Balancing for more information on each type of load balancer.

Was this page helpful? Let us know how we did:

Send feedback about...

Load Balancing