Cloud Load Balancing documentation

Cloud Load Balancing allows you to put your resources behind a single IP address that is externally accessible or internal to your Virtual Private Cloud (VPC) network.

Go to the Cloud Load Balancing product page for more.

Start your proof of concept with 300ドル in free credit

  • Get access to Gemini 2.0 Flash Thinking
  • Free monthly usage of popular products, including AI APIs and BigQuery
  • No automatic charges, no commitment

Keep exploring with 20+ always-free products

Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more.

Explore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services.
Training
Training and tutorials

Application Load Balancer with Terraform

Learn how to create an Application Load Balancer to forward traffic to a custom URL map.

Training
Training and tutorials

External Application Load Balancer

Learn how to set up an external Application Load Balancer and how load balancing can help scale your applications on Compute Engine.

Training
Training and tutorials

External Application Load Balancer with Cloud Armor

Learn how to configure an external Application Load Balancer with global backends, stress test the load balancer, and denylist the stress test IP address with Cloud Armor.

Training
Training and tutorials

Network Load Balancer

Learn the differences between Network Load Balancers and Application Load Balancers and how to set them up for your applications running on Compute Engine virtual machines.

Training
Training and tutorials

Internal passthrough Network Load Balancer

Learn how to configure and test an internal load balancer with instance groups as backends.

Training
Training and tutorials

Google Cloud networking 101

Set up a load balanced application on Google Cloud.

Training
Training and tutorials

Hands on lab for hosting a web app on Compute Engine

In this lab you will deploy a sample application, the "Fancy Store" ecommerce website, to show how a website can be deployed and scaled easily with Compute Engine.

Use case
Use cases

Request routing to a multi-region external Application Load Balancer

Learn how to create an Application Load Balancer that selects backend services based on request URL paths, and then routes requests to backends that are close to the clients.

multi-region load balancing

Use case
Use cases

Use UDP with Network Load Balancers

Learn how to handle User Datagram Protocol (UDP) traffic with a Network Load Balancer.

UDP load balancing

Use case
Use cases

Faster web performance and improved web protection for load balancing

Learn the value of adding Cloud CDN and Google Cloud Armor to an existing external Application Load Balancer deployment.

CDN Cloud Armor load balancing

Use case
Use cases

Delivering HTTP and HTTPS content over the same published domain

Bind a reserved IP address to both the HTTP and HTTPS frontend configuration in the external Application Load Balancer.

CDN load balancing

Use case
Use cases

Optimizing application latency with load balancing

Learn how your choice of a specific load balancer on Google Cloud affects end-to-end latency.

latency load balancing

Use case
Use cases

Using load balancing for highly available applications

Use load balancing with a regional managed instance group to redirect traffic away from busy or unavailable VM instances, allowing you to provide high availability even during a zonal outage.

restricting incoming traffic load balancing

Code sample
Code Samples

Global external Application Load Balancer

Create an external Application Load Balancer by using Terraform.

Code sample
Code Samples

External passthrough Network Load Balancer

Create an external passthrough Network Load Balancer by using Terraform.

Code sample
Code Samples

Internal passthrough Network Load Balancer

Create an internal passthrough Network Load Balancer by using Terraform.

Related videos

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.