with AWS alB, how to rewrite based on cookie

0

with AWS alB, how to rewrite based on cookie

asked 9 months ago255 views
2 Answers
0

Hi,

application stickiness for ALB based on cookies and how to prepare / write them is described here: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html

This feature gives you the opportunity to manage your cookies in a way that is understood by the ALB to allow it to route subsequent queries in a series to the same application instance.

Best, DIdier

profile pictureAWS
EXPERT
answered 9 months ago
0

One of the way is to use redirect feature in the ALB listener based on the cookie

To create a cookie based rule refer to https://docs.aws.amazon.com/elasticloadbalancing/latest/application/listener-update-rules.html

To redirect once the rule is created refer to https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#redirect-actions shows how to create redirection

AWS
snathan
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions