with AWS alB, how to rewrite based on cookie

0

with AWS alB, how to rewrite based on cookie

demandé il y a 10 mois270 vues
2 réponses
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
répondu il y a 10 mois
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
répondu il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions