Stickiness

  • It enables the load balancer to bind a user's session to a specific instance.

    • Ensures that all requests from the user during the session are sent to the same instance.

  • Session stickiness is defined at a target group level.

  • Elastic Load Balancing creates a cookie, called AWSELB, that is used to map the session to the instance and a duration can be set to that cookie.

  • It can cause uneven load on backend instances because some instances might get used more than others.

Last updated