with AWS alB, how to rewrite based on cookie

0

with AWS alB, how to rewrite based on cookie

feita há 10 meses272 visualizações
2 Respostas
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
ESPECIALISTA
respondido há 10 meses
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
respondido há 10 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas