Amazon Web Services (AWS) provides numerous tools and services to support scalable web applications. Among these tools, session affinity and Redis play key roles as the session storage. Session affinity is for web applications that store session information to ensure that a client consistently connects to the same instance. Redis, an efficient in-memory data store, offers centralized session management and guarantees session data accessibility irrespective of the state of individual instances.
In this Cloud Lab, you’ll initiate an Auto Scaling group on AWS to deploy your application across two EC2 instances. Next, you will learn about the power of AWS’s Elastic Load Balancing for traffic distribution while preserving session affinity. Lastly, you will set up a Redis session store, which forms the backbone of robust and streamlined session management.
By the end of this Cloud Lab, you will have hands-on experience in session management within the AWS environment to implement both session affinity and a Redis-based session storage for optimized session management in scalable web applications.
The following is the high-level architecture diagram of the infrastructure that you will create in this Cloud Lab.