You create a load balancer in your application by configuring and connecting distinct Cloud Load Balancing frontend and backend components. The separate components help you apply distinct controls for external and internal traffic, and prevent direct access to data.
The global Cloud Load Balancing backend component helps you manage load balancer traffic distribution settings, including the protocol used to connect to backends, session settings, health checks, and timeouts. You can configure the following backends:
-
Serverless NEG: A list of serverless Cloud Run or Cloud Run functions applications as backends.
-
Managed Instance Group (MIG): A list of Compute Engine instance groups as backends.
For more information, see Backend services overview .
This document describes the connections and parameters you can configure when using App Design Center to create a global Cloud Load Balancing backend. The configuration parameters are based on the terraform-google-lb-http Terraform module.
Component connections
To create a complete Cloud Load Balancing component, you must connect your global Cloud Load Balancing backend to at least one global Cloud Load Balancing frontend. Connected Cloud Load Balancing components are displayed as a group in the design canvas.
The following table includes the components that you can connect to a global Cloud Load Balancing backend, and the resulting updates to your application and its generated Terraform code.
Connected component
Application updates
Background information
- The load balancer can distribute incoming traffic to the Cloud Run service.
- The Cloud Run service is added as a backend endpoint in the Cloud Load Balancing serverless NEG backends configuration.
Global Cloud Load Balancing frontend (required)
- The Cloud Load Balancing frontend, which handles incoming requests, is linked to the Cloud Load Balancing backend, which processes the requests.
- The backend service information is added to the frontend URL map input.
- The load balancer can distribute incoming traffic to the Compute Engine MIG.
- The Compute Engine MIG is added to the Cloud Load Balancing backend service groups field.
Required configuration parameters
If your template includes a global Cloud Load Balancing backend component, you must configure the following parameters before you deploy.
| Parameter name |
Description and constraints |
Background information |
|---|---|---|
| Name |
Name for the load balancer backend service. | name |
| Project ID |
The project where you want to deploy the Cloud Load Balancing backend service. |
Configure components |
Optional configuration parameters
The following parameters are optional. To display advanced parameters, in the Configurationarea, select Show advanced fields.
Feature
Parameter name
Description and constraint information
Background information
cloud-run
, cloud-function
, or app-engine
.Outlier Detection
What's next
You must connect your backend component to a frontend component. To configure the fronted component, see Configure a global Cloud Load Balancing frontend in Application Design Center .

