• The plan was to install wordpress on AWS with ELB. So far I have two instances of Ubuntu 16.04 each with PHP7 and both connected to RDS (MariaDB). The PHP Session is shared between the ec2 instances and hosted in ElastiCache (Memcached). So in php.ini, at the session section, I use memcached. If I have only one ec2 under the ELB, I can login to the admin and all is perfect. The problem is when have both of them under ELB (the exact same config) the website is working but the login in the admin no any more. Does someone have any idea/clue/suggestion about this matter? Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • I guess it’s possible that it could be dependent on whether you’ve chosen CLB or ALB, and the configuration issues related to either of those options.

    Amazon RDS services, ELB and EC2 performance issues might be best directed to Amazon support. Seems unlikely to be a WordPress issue if sign-in is operational under a single running instance.

    • This reply was modified 7 years, 9 months ago by Clayton James.

    > The PHP Session is shared between the ec2 instances and hosted in ElastiCache (Memcached)
    Just curious, why are you using PHP Session? WP Core uses cookies to maintain session…that way you are not locked into any specific application instance. If you are using PHP Session due to plugin requirement, then I would carefully look at your php.ini… your configurations must not be working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress instalation with ELB on AWS’ is closed to new replies.