Logo

Command Palette

Search for a command to run...

GCE Load Balancer Configuration

GCE (Google) load balancer

You can use your Manifest file to customize any GCE load balancers deployed by Cloud 66.

The following settings are available via the Manifest file:

OptionApplied onDescription
balanceThe load balancing strategy. Valid values: NONE, CLIENT_IP or CLIENT_IP_PROTO
httpchkThe URL visited to check your server health
wait_after_adding_serversThe time (in seconds) we will wait after adding a server back to the load balancer before we begin routing traffic to that server. Read our in-depth guide on configuration lag for more details.
wait_after_removing_serversThe time (in seconds) we will wait after adding a server back to the load balancer before we begin routing traffic to that server. Read our in-depth guide on configuration lag for more details.

Refer to the GCE documentation for more detail on these settings.

Example YAML for GCE load balancers

load_balancer:
  configuration:
    httpchk: /
    balance: CLIENT_IP_PROTO
    wait_after_adding_servers: 30 # default is 0
    wait_after_removing_servers: 10 # default is 0

Automatic endpoint test

Load balancers periodically check the health of your servers by connecting to a URL endpoint. If the server responds with an HTTP 200 OK status, it is considered healthy. The httpchk setting allows you to specify which URL path should be checked.

The default value is / (root path) but you can customize it to any valid endpoint in your application that returns a 200 status when healthy.