Sticky Sessions

It is the concept that use cookie to let the request always redirect to the same instance. This feature is applied in ALBand NLB.

There are 2 kind of cookies

  1. Application-based Cookies

  2. Duration-based Cookies

(1) Application-based Cookies

It is a custom cookie generated by our application. For naming , It is not able to use AWSALB , AWSALBAPP or AWSALBTG because this keyword reserved by ELB.

(2) Duration-based Cookies

It is a cooke generated by the load balancer. Cookie name is AWSALB for ALB , AWSELB for CLB.

Last updated