You are on page 1of 1

Sticky sessions are a mechanism to route requests to the same target in a

target group. This is useful for servers that maintain state information in
order to provide a continuous experience to clients. To use sticky sessions,
the clients must support cookies.

In this case, it is likely that the clients authenticate to the back-end instance
and when they are reconnecting without sticky sessions enabled they may
be load balanced to a different instance and need to authenticate again.

The most obvious first step in troubleshooting this issue is to enable sticky
sessions on the target group. The following image shows this setting:

most likely to resolve this issue.

References:

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-
balancer-target-groups.html#sticky-sessions

Save time with our AWS cheat sheets:

https://digitalcloud.training/aws-elastic-load-balancing-aws-elb/

You might also like