Skip to content

081 Sticky Session

  • Same client is always redirected to the same insatnce behind a load balancer
  • Available in ALB, NLB

Application-based Cookies

Custom cookie

  • Generated by target
  • Can include any custom attributes
  • Cookie name must be specified individually for each target group
  • Don’t use AWSALB, AWSALBAPP or AWSALBTG (reserved for ELB)

Application cookie

  • Generated by load balancer
  • Cookie name: AWSALBAPP

Duration-based Cookies

  • Generated by load balancer
  • Cookie name: AWSALB, AWSELB (for CLB)