Cloud Load Balancing
High performance, scalable load balancing on Google Cloud.
Global with single anycast IP
Provides cross-region load balancing, including automatic multi-region failover. Cloud Load Balancing reacts instantaneously to changes in users, traffic, network, backend health, and other related conditions.
Software-defined with flexibility
Cloud Load Balancing is a fully distributed, software-defined, managed service for all your traffic. Apply Cloud Load Balancing to all of your traffic: HTTP(S), TCP/SSL, and UDP.
Scale as your users and traffic grow. Easily handles huge, unexpected, and instantaneous spikes by diverting traffic to other regions in the world that can take traffic. Zero to full throttle in seconds.
Overview of Cloud Load Balancing
Understand each type of Google Cloud load balancer and link to deeper documentation.
Choose a load balancer
Find the right load balancer that fits your needs.
Set up Network and Application Load Balancers
You'll learn the differences between Network Load Balancers and Application Load Balancers and how to set them up for your workload running on Compute Engine VMs.
Application Load Balancer with Terraform
In this lab, you will create an Application Load Balancer to forward traffic to a custom URL map.
Application Load Balancer with Cloud Armor
In this lab, you configure an Application Load Balancer with global backends and stress test the load balancer and denylist the stress test IP with Cloud Armor.
|HTTP(S) load balancing||Application Load Balancers can balance HTTP and HTTPS traffic across multiple backend instances, across multiple regions. Your entire app is available via a single global IP address, resulting in a simplified DNS setup. Application Load Balancers are scalable, fault-tolerant, require no pre-warming, and are content-based. For HTTPS traffic, they also provide SSL termination and load balancing.|
|Cloud Logging||Cloud Logging for load balancing logs all the load balancing requests sent to your load balancer. These logs can be used for debugging as well as analyzing your user traffic. You can view request logs and export them to Cloud Storage, BigQuery, or Pub/Sub for analysis.|
|TCP/UDP/SSL load balancing||Network Load Balancers are Layer 4 load balancers that can distribute traffic to back ends located either in a single region or across multiple regions. These load balancers are scalable, don't require pre-warming, and use health checks to help ensure that only healthy instances receive traffic. Available Network Load Balancers: Proxy Network Load Balancers and Passthrough Network Load Balancers.|
|Seamless autoscaling||Autoscaling helps your applications gracefully handle increases in traffic and reduces cost when the need for resources is lower. You just define the autoscaling policy and the autoscaler performs automatic scaling based on the measured load. No pre-warming required—go from zero to full throttle in seconds.|
|SSL offload||SSL offload enables you to centrally manage SSL certificates and decryption. You can enable encryption between your load balancing layer and backends to ensure the highest level of security, with some additional overhead for processing on backends.|
|High fidelity health checks||Health checks ensure that new connections are only load balanced to healthy backends that are up and ready to receive them. High fidelity health checks ensure that the probes mimic actual traffic to backends.|
|Advanced feature support||Cloud Load Balancing also includes advanced support features, such as IPv6 global load balancing, WebSockets, user-defined request headers, and protocol forwarding for private VIPs.|
|Affinity||Cloud Load Balancing session affinity provides the ability to direct and stick user traffic to specific backend instances.|
|Cloud CDN integration||Enable Cloud CDN for your Application Load Balancers to optimize application delivery for your users with a single checkbox.|
|UDP load balancing||Passthrough Network Load Balancers can spread UDP traffic over a pool of instances within a Compute Engine region. These load balancers are scalable, don't require pre-warming, and use health checks to help ensure that only healthy instances receive traffic.|
|Cloud Armor||Google Cloud Armor security policies enable you to rate-limit or redirect requests to your Application or Network Load Balancers at the Google Cloud edge, as close as possible to the source of incoming traffic.|