Akshat Ghai
Akshat Ghai

Reputation: 21

AWS ELB custom traffic routing

Is there any way to force elb to direct traffic to a particular registered instance. if we can create a session according to maybe a meeting id or any variable and any user that wants to join this meeting gets directed to a single instance. Or if maybe we can use any other Load balancer on aws that provides this feature.

Thanks

Upvotes: 1

Views: 138

Answers (1)

Vorsprung
Vorsprung

Reputation: 34457

Yes, use "application generated cookie stickiness" in ELB

Set up the ELB with application generated cookie stickiness. Then set a cookie in the session with the id and it will route according to the customer application generated cookie

Further details here

http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-application

Upvotes: 2

Related Questions