- networking Load balancing based on session cookie Server Fault
(Optional) For Expiration Period, type the cookie expiration period, in seconds. If you do not aws elb create-app-cookie-stickiness-policy --load-balancer-name. Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. follows the lifetime of the application-generated cookie specified in the policy configuration. Type: String. With the Classic LB you could set the "load balancer generated cookie stickiness" timeout value to null and have the stickiness cookie expire.
Home Questions Tags Users Unanswered.
This isn't terribly surprising behavior, but I would expect that we would soon forget this behavior and accidentally wipe out our settings. Sign up using Email and Password.
While it appears that we can configure application-controlled session stickiness in the EC2 settings associated with my EB instance, the settings we apply get clobbered any time we make changes in the EB console.
That would porbably be ideal.
Video: App cookie stickiness policy type How to Delete Cookies
Provides an application cookie stickiness policy, which allows an ELB to wed its sticky cookie's expiration to a cookie generated by your application.
Session stickiness is a process that creates an affinity between a user and a specific server.
I hoped, that I could save some money by using a cheap hardware load balancer. If you are going to use one ELB for multiple applicationswhich app's healthcheck would you provide?
Have you considered using a MySQL cluster for sessions? I couldn't find out yet, if they also allow to update the mapping dynamically when the session "moves" to a different app server? Join Stack Overflow to learn, share knowledge, and build your career. Here's my personal summary of what I learnt:
To avoid this kind of problem, there are several ways: The information we'll use is the Session Cookie, either set by the.
Elastic Load Balancer (ELB) supports for application-controlled session EC2 instance port 80 based on HttpSessionStickinessPolicy policy.
Can I update their mapping table dynamically from my application server s?
Have you considered using a MySQL cluster for sessions? As for the load balancers: MySQL cluster is a memory based storage engine.
Using " sticky persistent sessions " is generally not advised. You need a level 7 load balancer to inspect cookies, but some hardware load balancers "approximate" this on the packet level which sometimes even leads to corrupted data!