Session persistence between multiple Rails / Unicorn servers with Redis as session_store on AWS
- by d_ethier
I've got 2 nginx EC2 instances pointing to 2 Unicorn EC2 instances in a round robin load balanced configuration. The two nginx instances are being the Elastic Load Balancer.
Both Unicorn instances have a Redis session_store configured which is in a master/slave configuration with an Elastic IP attached to the master.
I've tried configuring the…