In a prior video (https://youtu.be/ZGGpEwThhrM), I introduced you to the basics of load balancing in AWS. We covered things like application load balancers (ALBs), target groups and more. In this video, we dig into a specific feature of an ALB, which is the concept of “stickiness” (otherwise known as “sticky sessions” or “session affinity”).

After reviewing some basic concepts, I’ll show you in a hands-on demo how to enable stickiness on an ALB’s target group, and how to test it out in a browser.

??If you’re interested in getting AWS certifications, check out these full courses. They include lots of hands-on demos, quizzes and full practice exams. Use FRIENDS10 for a 10% discount!
– AWS Certified Cloud Practitioner: https://academy.zerotomastery.io/a/aff_n20ghyn4/external?affcode=441520_lm7gzk-d
– AWS Certified Solutions Architect Associate: https://academy.zerotomastery.io/a/aff_464yrtnn/external?affcode=441520_lm7gzk-d

You might also be interested in these videos:
• Load balancing with multiple target groups: https://youtu.be/0XMsnAgHXoo
• Load balancing with the Elastic Container Service (ECS): https://youtu.be/rUgZNXKbsrY
• Auto scaling groups: https://youtu.be/KNr3Kq7cah8

00:00 – A sticky load balancer—ewww!
00:19 – How load balancing normally works in AWS (Round Robin)
00:36 – What are sticky sessions (session affinity) and why would you use them?
01:39 – Editing attributes on the target group to enable stickiness, with a load balancer-generated cookie
02:13 – Testing the sticky session cookie (AWSALB) for 1 minute
03:18 – Disabling stickiness on the load balancer’s target group

Similar Posts