I have a solution where an ELB is configured to use sticky sessions. How can I actually verify that requests for a client is actually routed to one and the same instance in the auto-scaling group behind the ELB?
How to test that AWS ELB sticky sessions work as intended?
1.7k Views Asked by Christian At
2
There are 2 best solutions below
Related Questions in AMAZON-WEB-SERVICES
- "Access Denied" - User's Permissions to S3 Bucket
- Cohort analysis with Amazon Redshift / PostgreSQL
- Using Amazon KMS service on Heroku
- can't ssh in after cloning an EC2 instance on Amazon AWS
- Using HDFS with Apache Spark on Amazon EC2
- How can I access Mule ESB Community edition via browser?
- AWS EC2: Migrating from Windows to Linux Server
- AWS ELB Load Balancer: is it possible to set multiple session cookies?
- AWS Flow Framework: Can we run activity worker and activity task on different EC2 instances
- Unable to access files from public s3 bucket with boto
- Cloudfront stream only part of the video
- s3cmd not working as cron-task when echos/dates are added
- How to deploy django 1.8 on Elastic Beanstalk using Docker
- InstanceProfile is required for creating cluster - create python function to install module
- How to fix WordPress HTTPS issues when behind an Amazon Load Balancer?
Related Questions in AMAZON-ELB
- AWS ELB Load Balancer: is it possible to set multiple session cookies?
- How to fix WordPress HTTPS issues when behind an Amazon Load Balancer?
- How to deploy API Managers behind ELBs on AWS and preserve X-Forwarded headers?
- ELB generating 504 GATEWAY_TIMEOUTS w/ 2 EC2 instances - Packets not reaching Servers
- Can you control a number of Amazon Elastic Load Balancer instances?
- When using an internet facing ELB, do all of the instances behind the load-balancer have to have their own public IPs?
- Why would AWS ELB (Elastic Load Balancer) sometimes returns 504 (gateway timeout) right away?
- Amazon Load Balancer sticky sessions with ajp:8009
- Is there any way to point ELB URL to RDS?
- Enable websocket tomcat on ELB
- Why can't my ECS service register available EC2 instances with my ELB?
- TLS termination behind AWS ELB on HAProxy (tcp mode)
- Changing ELB URL pattern
- IIS HTTP to HTTPS redirect not working behind AWS ELB
- Implicit https for apache redirects when using AWS ELB to terminate SSL
Related Questions in STICKY-SESSION
- Does the ws websocket server library requires sticky session when it is used behind a load balancer?
- stick content at the bottom of the page
- How to use sticky sessions in AWS?
- Do replicated sessions require sticky-sessions to be enabled?
- NodeJS Sticky Session for Users sharing same IP Address
- Login in camunda cockpit AKS Cluster
- dynamically provision a container instance and keep it sticky to the user session azure
- How to design a web project using .net core which calls a statefull api
- Usage of NPM sticky-session with Cloudflare
- Sticky Session on Redis of Magento2
- Kubernetes (on-premises) Metallb LoadBalancer and sticky sessions
- Apache as Reverse-Proxy and Load-Balancer need to use sticky session
- Chrome doesn't attach INGRESSCOOKIE in subsequent requests
- what is the difference between consistent hashing and sticky sessions?
- How to test that AWS ELB sticky sessions work as intended?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
For web applications, in my dev/testing environments, I usually grab the instance-id using the EC2 meta data service and spit it out in the HTML. That way I can see what instance is serving my request.
Other than that, to my knowledge there is no way to verify sticky sessions are working unless you log session ids and all requests and check through all of your logs across each of the relevant instances.