CLOUD LABS
Persisting Sessions Using AWS ElastiCache
In this Cloud Lab, you’ll explore session affinity and the Redis session storage. These fundamental elements ensure stable and efficient session management for scalable web applications.
intermediate
Certificate of Completion
Learning Objectives
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.
Trusted by 1.4 million developers working at companies including
Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.
![TestimonialsImg](/static/imgs/FelipeMatheus.png)
I highly recommend Educative. The courses are well organized and easy to understand.
![TestimonialsImg](/static/imgs/AdinaOng.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.
![TestimonialsImg](/static/imgs/FelipeMatheus.png)
I highly recommend Educative. The courses are well organized and easy to understand.
![TestimonialsImg](/static/imgs/AdinaOng.png)
I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.
![TestimonialsImg](/static/imgs/CliffordFajardo.png)
Get access to Educative Cloud Labs