Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing "session stickiness" from ELB

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!

like image 487
Leo Avatar asked Jan 02 '18 08:01

Leo


People also ask

What are sticky sessions ELB stickiness )?

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).

How do you test session stickiness?

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.

Does network load balancer support sticky sessions?

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.


1 Answers

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.

like image 82
Leo Avatar answered Sep 19 '22 20:09

Leo