A company runs a stateful web application behind an Application Load Balancer. Users are being logged out unexpectedly when requests hit different EC2 instances. What is the simplest fix?
-
A
Switch to a Network Load Balancer
-
B
Enable sticky sessions on the ALB target group
-
C
Deploy an ElastiCache cluster for session storage
-
D
Migrate to AWS Lambda