EC2 and RDS instance size for running LMS Moodle with 10,000 CCU

0

I'm working on deploying a Moodle LMS application running on a LAMP stack (linux, Apache, MySQL, PHP) on AWS for a traffic load of 10,000 concurrent users. However, despite your research, I'm unsure about the appropriate EC2 instance size and RDS instance size for this level of traffic.

If you have experience in this matter, please provide some recommendations regarding the configuration and the number of instances that can be scaled to meet the specified requirements.

  • When you say 10,000 concurrent users, do you mean you are going to have 10,000 registered users each of whom you expect to be accessing the Moodle app at some point every day (or week, or month)? Or do you mean 10,000 users all being logged in and clicking on the same link at the same time, and this resulting in 10,000 connections being opened to the database?

    These are very different use cases, and the optimal configration (and cost) are going to be orders of magnitude different.

Steven
asked 6 months ago513 views
2 Answers
1

The Moodle Forums for Hardware and Performance might be a better place to ask this

The Moodle Performance FAQ has a link for a Moodle setup for 10K simultaneous users http://moodle.org/mod/forum/discuss.php?d=111847

That last link is 15 years old, here's one from just last month that might be more relevant https://moodle.org/mod/forum/discuss.php?d=451317

If you can get a ballpark figure for CPU and memory - for both the app and database tiers - then the AWS re:Post community could inform you better on what the optimal solution would look like.

profile picture
EXPERT
Steve_M
answered 6 months ago
0

although the answer shared by @steve has enough detail, still i want to add following,

  • single system would not enough, consider distributed deployment
  • 1 ec2 , t3.small, runing moodle 3.10 without any modification with on php7.2-fpm + 1 rds t3.small is good to have 250 user concurrency, Concurrency means all 250 user are trying to access the quiz at same time . ramp up period for all 250 users are 60 second. more users will have higher response time or timeout

here are few more links https://developerck.com/load-testing-on-moodle/ https://developerck.com/moodle-horizontal-scalable-aws/

answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions