Configure a regional Cloud Load Balancing backend service in Application Design Center

The Regional 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. These settings provide fine-grained control over how your load balancer behaves. 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.

Required configuration parameters

If your template includes a regional Cloud Load Balancing backend component, you must configure the following parameters before you deploy.

Parameter name

Description and constraints

Background information

Project ID

The App Hub service project where you want to deploy the Cloud Load Balancing backend service.

Set up App Hub

Region

The region where the load balancer backend service is created. region

Name

Name for the load balancer backend service. name

Host

Configure URL maps URL maps overview

Path

Configure URL maps URL maps overview

Optional configuration parameters

The following parameters are optional. To display advanced parameters, in the Configuration area, select Show advanced fields.

Feature

Parameter name

Description and constraint information

Background information

Serverless NEG backends

Region region Serverless network endpoint groups overview
Type networkEndpointType Serverless network endpoint groups overview
Service Name appEngine.service Serverless network endpoint groups overview
Service Version appEngine.version Serverless network endpoint groups overview
Capacity Scaler backends[].capacityScaler Capacity Scaler

Groups

Group backends[].group Backends
Description A description for the backends group. backends[].description
Balancing Mode backends[].balancingMode Balancing modes and target capacity settings
Capacity Scaler backends[].capcityScaler Capacity scaler
Max Connections backends[].maxConnections Connection balancing mode
Max Connections Per Instance backends[].maxConnectionsPerInstance Connection balancing mode
Max Connections Per Endpoint backends[].maxConnectionsPerEndpoint Connection balancing mode
Max Rate backends[].maxRate Rate balancing mode
Max Rate Per Instance backends[].maxRatePerInstance Rate balancing mode
Max Rate Per Endpoint backends[].maxRatePerEndpoint Rate balancing mode
Max Utilization backends[].maxUtilization Utilization balancing mode
Load Balancing Scheme loadBalancingScheme Backend services overview
Protocol protocol Protocol to the backends
Port Name portName Named ports
Description A description for the backend service. description

Health Check

Host http2HealthCheck.host Additional flags for HTTP, HTTPS, and HTTP/2 health checks
Request Path http2HealthCheck.requestPath Success criteria for HTTP, HTTPS, and HTTP/2
Request http2HealthCheck.request ASuccess criteria for SSL and TCP
Response sslHealthCheck.response Additional flags for HTTP, HTTPS, and HTTP/2 health checks
Port http2HealthCheck.port Health check categories, protocols, and ports
Port Name http2HealthCheck.portName Named ports
Proxy Header http2HealthCheck.proxyHeader Headers
Port Specification http2HealthCheck.portSpecification Port specification flags
Protocol The protocol that Google Cloud uses to probe the backends. For example, http2. Health check categories, protocols, and ports
Check Interval Sec checkIntervalSec Probes
Timeout Sec timeoutSec Probes
Healthy Threshold healthyThreshold Health state
Unhealthy Threshold unhealthyThreshold Health state
Logging logConfig.enable Health check logging information
Firewall Networks network Configure firewall rules
Firewall Projects Names of the projects to create firewall rules in. Configure firewall rules
Target Tags targetTags[] Restrict which clients can send traffic to the load balancer
Target Service Accounts targetServiceAccounts[] Source and target filtering by service account
Connection Draining Timeout Sec connectionDraining.drainingTimeoutSec Enable connection draining
Enable CDN enableCDN Cloud CDN overview
Session Affinity sessionAffinity Session affinity
Affinity Cookie TTL Sec affinityCookieTtlSec Generated cookie affinity
Locality LB Policy localityLbPolicy Load balancing locality policy
Security Policy securityPolicy Google Cloud Armor
Timeout Sec timeoutSec Backend service timeout