Maintaining session in Elastic Beanstalk

Question:

As the number of instances changes from time to time in Amazon Elastic Beanstalk. If an application is built in PHP how the session will be maintained among several instances? How can we make sure not to delete the Parent instance (The first instance when the app was start

Answer:

This post on the AWS blog describes how to use DynamoDB to do session state handling using the AWS SDK for PHP.

http://aws.typepad.com/aws/2012/04/scalable-session-handling-in-php-using-amazon-dynamodb.html

Leave a Reply