AWS

How can you make an application stateless using ElastiCache?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

Let's say you have multiple instances running the same application and every time you use the application, it creates a user session.

This user session can be stored in ElastiCache so even if the user contacts a different instance of the application, the application can retrieve the session from the ElsatiCache.