Abdul Hage-ali
Abdul Hage-ali

Reputation: 23

Setting up websockets, sticky sessions, and SSL all together on Elastic Beanstalk

We're currently trying to get the following things working together:

We have attempted to switch our ELB incoming port configuration from HTTP/HTTPS to TCP/SSL which was successful in getting websockets to work.

However, our system depends on sticky sessions and it is impossible to get sticky sessions through TCP/SSL. We'd like to find a method where we can have both websockets and sticky sessions on SSL.

We did see this blog that proposes a workaround, but it looks like the workaround gets rid of Elastic Beanstalk, which we would still love to use. (http://johan.heapsource.com/post/31047804966/the-state-of-websockets-ssl-and-sticky-sessions).

Would really appreciate any help or advice from the community!

Thanks!

Upvotes: 2

Views: 724

Answers (1)

jazzed
jazzed

Reputation: 390

Unfortunately, it looks like there is a lack of interest in this. After much research, it still appears AWS ELB can't do sticky+websockets.

The only actual solution is to not use ELB and use nginx or something else and manage this yourself. So more work to do it seems.

Upvotes: 1

Related Questions