with AWS alB, how to rewrite based on cookie

0

with AWS alB, how to rewrite based on cookie

gefragt vor 10 Monaten271 Aufrufe
2 Antworten
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
EXPERTE
beantwortet vor 10 Monaten
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
beantwortet vor 10 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen