- 2 EC2 instances running Apache
- A classic Load Balancer to register the EC2 instances
- MySql RDS database
- Elastic File System (EFS) that is mounted to both the 2 EC2 instances and on it I mounted the Moodle Core code and moodledata
Succes....its working, but then I noticed the very slow performance compared to all in one AWS micro server that I have running Apche+MySql+Moodle Data, so to fix this I started with MemChacheD installation on both the 2 EC2 webservers and it significantly speed thing up (notice I'm testing with a single user just to test basic functionality).
1. What I want to clarify is for your solution number 2 (Use an EC2 instance as a memcached server.), did you mean to have a new intance side by side to the Load Balanced instance of Apached? and how to configure this one ?
2. Also can I use this instance of memcached to host the moodledata on an internal SSD drive that I mount to both EC2 web servers (and later to the more EC2 webservers I plan to add to the Load-balancers based on load) - will this replace the step 4 EFS, coudl it be a faster option than EFS