- Property Manager name: Application Load Balancer Cloudlet
- Behavior version: The
v2024-10-21
rule format supports theapplicationLoadBalancer
behavior v1.10. - Rule format status: GA, stable
- Access: Read/Write
- Allowed in includes: No (temporarily)
Enables the Application Load Balancer Cloudlet, which automates load balancing based on configurable criteria. To configure this behavior, use either the Cloudlets Policy Manager or the Cloudlets API to set up a policy.
Option | Type | Description | Requires | |
---|---|---|---|---|
enabled | boolean | Activates the Application Load Balancer Cloudlet. | {"displayType":"boolean","tag":"input","type":"checkbox"} | |
cloudletPolicy | object | Identifies the Cloudlet policy. | {"displayType":"object","tag":"input","todo":true} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
cloudletPolicy.id | number | Identifies the Cloudlet. | ||
cloudletPolicy.name | string | The Cloudlet's descriptive name. | ||
label | string | A label to distinguish this Application Load Balancer policy from any others within the same property. | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
stickinessCookieType | enum | Determines how a cookie persistently associates the client with a load-balanced origin. | {"displayType":"enum","options":["NONE","NEVER","ON_BROWSER_CLOSE","FIXED_DATE","DURATION","ORIGIN_SESSION"],"tag":"select"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
NONE | Dynamically reassigns different load-balanced origins for each request. | |||
NEVER | Preserves the cookie indefinitely. | |||
ON_BROWSER_CLOSE | Limit the cookie duration to browser sessions. | |||
FIXED_DATE | Specify a specific time for when the cookie expires. | |||
DURATION | Specify a delay for when the cookie expires. | |||
ORIGIN_SESSION | Limit the cookie duration to when the | |||
stickinessExpirationDate | string (epoch timestamp) | Specifies when the cookie expires. | stickinessCookieType is FIXED_DATE | {"displayType":"string","tag":"input","type":"text"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"stickinessCookieType","op":"eq","value":"FIXED_DATE"}]}} |
stickinessDuration | string (duration) | Sets how long it is before the cookie expires. | stickinessCookieType is DURATION | {"displayType":"string","tag":"input","type":"text"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"stickinessCookieType","op":"eq","value":"DURATION"}]}} |
stickinessRefresh | boolean | Extends the duration of the cookie with each new request. When enabled, the | stickinessCookieType is DURATION | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"stickinessCookieType","op":"eq","value":"DURATION"}]}} |
originCookieName | string | Specifies the name for your session cookie. | stickinessCookieType is ORIGIN_SESSION | {"displayType":"string","tag":"input","type":"text"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"stickinessCookieType","op":"eq","value":"ORIGIN_SESSION"}]}} |
specifyStickinessCookieDomain | boolean | Specifies whether to use a cookie domain with the stickiness cookie, to tell the browser to which domain to send the cookie. | stickinessCookieType is either: ON_BROWSER_CLOSE , FIXED_DATE , DURATION , NEVER , ORIGIN_SESSION | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"stickinessCookieType","op":"in","value":["ON_BROWSER_CLOSE","FIXED_DATE","DURATION","NEVER","ORIGIN_SESSION"]}]}} |
stickinessCookieDomain | string | Specifies the domain to track the stickiness cookie. | specifyStickinessCookieDomain is true | {"displayType":"string","tag":"input","type":"text"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"specifyStickinessCookieDomain","op":"eq","value":true}]}} |
stickinessCookieAutomaticSalt | boolean | Sets whether to assign a salt value automatically to the cookie to prevent manipulation by the user. You should not enable this if sharing the population cookie across more than one property. | stickinessCookieType is either: ON_BROWSER_CLOSE , FIXED_DATE , DURATION , NEVER , ORIGIN_SESSION | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"stickinessCookieType","op":"in","value":["ON_BROWSER_CLOSE","FIXED_DATE","DURATION","NEVER","ORIGIN_SESSION"]}]}} |
stickinessCookieSalt | string | Specifies the stickiness cookie's salt value. Use this option to share the cookie across many properties. | stickinessCookieAutomaticSalt is false | {"displayType":"string","tag":"input","type":"text"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"stickinessCookieAutomaticSalt","op":"eq","value":false}]}} |
stickinessCookieSetHttpOnlyFlag | boolean | Ensures the cookie is transmitted only over HTTP. | stickinessCookieType is either: ON_BROWSER_CLOSE , FIXED_DATE , DURATION , NEVER , ORIGIN_SESSION | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"stickinessCookieType","op":"in","value":["ON_BROWSER_CLOSE","FIXED_DATE","DURATION","NEVER","ORIGIN_SESSION"]}]}} |
allDownNetStorage | object | Specifies a NetStorage account for a static maintenance page as a fallback when no origins are available. | {"displayType":"object","tag":"input","todo":true} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
allDownNetStorage.cpCode | integer | Identifies a CP code assigned to this storage group. | ||
allDownNetStorage.downloadDomainName | string | Domain name from which content can be downloaded. | ||
allDownNetStorage.g2oToken | string | Signature Header Authentication key. | ||
allDownNetStorage.id | integer | Unique identifier for the storage group. | ||
allDownNetStorage.name | string | Name of the storage group. | ||
allDownNetStorageFile | string | Specifies the fallback maintenance page's filename, expressed as a full path from the root of the NetStorage server. | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
allDownStatusCode | string | Specifies the HTTP response code when all load-balancing origins are unavailable. | {"displayType":"string","tag":"input","type":"text"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
failoverStatusCodes | string array | Specifies a set of HTTP status codes that signal a failure on the origin, in which case the cookie that binds the client to that origin is invalidated and the client is rerouted to another available origin. | {"displayType":"string array","tag":"input","todo":true} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true}]}} | |
failoverMode | enum | Determines what to do if an origin fails. | {"displayType":"enum","options":["AUTOMATIC","MANUAL","DISABLED"],"tag":"select"} {"if":{"attribute":"enabled","op":"eq","value":true}} | |
AUTOMATIC | Automatically determines which origin in the policy to try next. | |||
MANUAL | You define a sequence of failover origins. (If failover runs out of origins, requests are sent to NetStorage.) | |||
DISABLED | Turns off failover, but maintains origin stickiness even when the origin goes down. | |||
failoverOriginMap | object array | Specifies a fixed set of failover mapping rules. | failoverMode is MANUAL | {"displayType":"object array","tag":"input","todo":true} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"failoverMode","op":"eq","value":"MANUAL"}]}} |
failoverOriginMap[].fromOriginId | string | Specifies the origin whose failure triggers the mapping rule. | {"displayType":"string","tag":"input","type":"text"} | |
failoverOriginMap[].toOriginIds | string array | Requests stuck to the | {"displayType":"string array","tag":"input","todo":true} | |
failoverAttemptsThreshold | number | Sets the number of failed requests that would trigger the failover process. | failoverMode is either: MANUAL , AUTOMATIC | {"displayType":"number","tag":"input","type":"number"} {"if":{"op":"and","params":[{"attribute":"enabled","op":"eq","value":true},{"attribute":"failoverMode","op":"in","value":["MANUAL","AUTOMATIC"]}]}} |
allowCachePrefresh | boolean | Allows the cache to prefresh. Only appropriate if all origins serve the same content for the same URL. | {"displayType":"boolean","tag":"input","type":"checkbox"} {"if":{"attribute":"enabled","op":"eq","value":true}} |