0

We have magento running on AWS Fargate behind a load balancer. It works great when it is not scaled(i.e only one task is running), however when it scales to 2 or more tasks I am not able to login as a customer or administrator and we aren't getting any login errors, it just redirects to itself. I can only login successfully when only one task is running. We're running magento 2.3.2 on AWS Fargate behind a load balancer. Any ideas why this might be happening?

1 Answer 1

1

You should use Amazon Elasticache service to store user session in the case. Also please pay attention that you also need RDS and EFS services for container based Magento setup

See more details here https://aws.amazon.com/ru/quickstart/architecture/magento/

2
  • Ok thanks, I'll test Amazon's Elasticache service and let you know the result. We are already using RDS however EFS isn't currently supported by fargate.
    – Andrelle
    Commented Oct 7, 2019 at 2:20
  • I was able to test with Elasticache, it works perfectly thanks
    – Andrelle
    Commented Oct 9, 2019 at 0:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.