I am developing a Lift application deployed on a Tomcat 7 AWS Elastic Beanstalk container. My application requires sticky sessions when using elastic load balancing.
Since my application uses standard servlet material, it serves the JSESSIONID cookie for the client. I would like AWS to use an application-specific stickiness session where, given my cookie name, it will track sessions. However, in the Elastic Beanstalk Load Balancer configuration, I only see the ability to configure an AWS-managed cookie. I believe this will work, but I would only prefer to serve one cookie and have a stickiness that matches the sessions, in sequence with how we set them up in our application.
While it seems that we can configure application management bindings in the EC2 settings associated with my EB instance, the settings we apply will be knocked down anytime we make changes to the EB console. This is not terribly surprising behavior, but I would expect that we will soon forget this behavior and accidentally destroy our settings.
Does anyone know if it's possible to make stickiness sticky? :)
source share