I have set up an AWS Fargate cluster with ten WordPress containers behind an AWS Application Load Balancer (ALB).
I tested that my settings work when I have one container. Why can I not log in when I have ten containers?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
The issue turned out that the login flow is interrupted because the second HTTP request usually goes to a different container than the container that delivered the
wp-login.php login form.
The solution is to turn on Sticky Sessions for the AWS Application Load Balancer (ALB) Target Group that serves the Fargate containers.