I'm new to AWS so I'm surely missing something basic but I've created a new ELB and I see no "Edit stickiness" configuration under the "Description" section of the ELB, as described in this AWS tutorial .
Any help will be appreciated, thanks!
What is a sticky session. Session stickiness, a.k.a., session persistence, is a process in which a load balancer creates an affinity between a client and a specific network server for the duration of a session, (i.e., the time a specific IP spends on a website).
To test the sticky sessions configuration changes, start the Tomcat instances and the Apache HTTP server and follow the test procedure in this section. Operation Console on the back-end machines. Verify that the behavior in a clustered environment is the same as in a single-server environment.
Sticky sessions are available for AWS Network Load Balancers. You simply set the switch on the target group properties. NLBs use IP addresses to control the stickiness. This means that if you have a lot of users with the same IP (behind a NAT for example) then they will all hit the same server.
For anyone stumbling across that - you are most likely using an "application load balancer" which means you need to follow these steps to enable stickiness.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With