Configure Sticky Sessions for your classic Load Balancer Flashcards

1
Q

requirement

A

An HTTP/HTTPS load balancer.

At least one healthy instance in each Availability Zone.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Duration-Based Session Stickiness

A

The load balancer uses a special cookie to track the instance for each request to each listener. When the load balancer receives a request, it first checks to see if this cookie is present in the request. If so, the request is sent to the instance specified in the cookie. If there is no cookie, the load balancer chooses an instance based on the existing load balancing algorithm.
create-lb-cookie-stickiness-policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Application-Controlled Session Stickiness

A

The load balancer uses a special cookie to associate the session with the instance that handled the initial request, but follows the lifetime of the application cookie specified in the policy configuration. The load balancer only inserts a new stickiness cookie if the application response includes a new application cookie. The load balancer stickiness cookie does not update with each request. If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.
CLI: create-app-cookie-stickiness-policy
set-load-balancer-policies-of-listener
describe-load-balancers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Tag restrictions

A

Maximum number of tags per resource—50
Maximum key length—127 Unicode characters
Maximum value length—255 Unicode characters
Tag keys and values are case sensitive. Allowed characters are letters, spaces, and numbers representable in UTF-8, plus the following special characters: + - = . _ : / @. Do not use leading or trailing spaces.
Do not use the aws:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly