1. Sticky Sessions (Session Affinity)

Enable Sticky Sessions

At the target group level. edit the attributes:



Refresh this page multiple times, as we can see, we get access to the same instance.


And we can see the cookie information as below:


The cookies is past to the instance, this is how stickness works.

2. Cross-Zone Load Balancing