GuideReference
TrainingSupportCommunity
Guide

edge_​load_​balancing_​data_​center


The Edge Load Balancing module allows you to specify groups of data centers that implement load balancing, session persistence, and real-time dynamic failover. Enabling ELB routes requests contextually based on location, device, or network, along with optional rules you specify.

This behavior specifies details about a data center, and needs to be paired in the same rule with an edge​_load​_balancing​_origin behavior, which specifies its origin. An origin is an abstraction that helps group a logical set of a website or application. It potentially includes information about many data centers and cloud providers, as well as many end points or IP addresses for each data center. More than one data center can thus refer to the same origin.

OptionTypeDescriptionRequires
origin_​idstring

Corresponds to the id specified by the edge​_load​_balancing​_origin behavior associated with this data center.

{"displayType":"string","tag":"input","type":"text"}
descriptionstring

Provides a description for the ELB data center, for your own reference.

{"displayType":"string","tag":"input","type":"text"}
hostnamestring

Specifies the data center's hostname.

{"displayType":"string","tag":"input","type":"text"}
enable_​failoverboolean

Allows you to specify failover rules.

{"displayType":"boolean","tag":"input","type":"checkbox"}
ipstring

Specifies this data center's IP address.

enable_​failover is true
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"enableFailover","op":"eq","value":true}}
failover_​rulesobject array

Provides up to four failover rules to apply in the specified order.

enable_​failover is true
{"displayType":"object array","tag":"input","todo":true}
{"if":{"attribute":"enableFailover","op":"eq","value":true}}
failover_​rules[].failover_​hostnamestring

The hostname of the data center to fail over to.

{"displayType":"string","tag":"input","type":"text"}
failover_​rules[].modify_​requestboolean

Allows you to modify the request's hostname or path.

{"displayType":"boolean","tag":"input","type":"checkbox"}
failover_​rules[].override_​hostnameboolean

Overrides the request's hostname with the failover_hostname.

modify_​request is true
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"modifyRequest","op":"eq","value":true}}
failover_​rules[].context_​rootstring

Specifies the path to use in the forwarding request, typically the root (/) when failing over to a different data center, or a full path such as /static/error.​html when failing over to an error page.

modify_​request is true
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"modifyRequest","op":"eq","value":true}}
failover_​rules[].absolute_​pathboolean

When enabled, interprets the path specified by context_root as an absolute server path, for example to reference a site-down page. Otherwise when disabled, the path is appended to the request.

modify_​request is true
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"modifyRequest","op":"eq","value":true}}