Schools, colleges, coaching institutes and companies use learning management systems for courses, assignments, quizzes and certificates. Self-hosting an open-source LMS like Moodle gives full control over branding, data and plugins without per-learner fees. Its load is very uneven: quiet most of the day, then everyone logs in at once when a class or exam starts. Hosting has to be planned for those peaks.
The Stack
- Web server: Nginx or Apache with PHP-FPM and the PHP extensions Moodle requires for your version.
- Database: PostgreSQL or MariaDB/MySQL.
- Cache: Redis for the application cache and sessions (see our Redis guide).
- Data directory:
moodledataoutside the web root, on fast storage. - Cron: Moodle's scheduled tasks run every minute.
Follow the official requirements for your Moodle version; they change between releases.
PHP Tuning
- OPcache enabled with enough memory for Moodle's many PHP files.
- PHP-FPM workers sized to memory; Moodle requests can use more memory than typical web pages (see our PHP guide).
- Upload limits matching the largest files learners and teachers upload.
Cron Matters
* * * * * /usr/bin/php /var/www/moodle/admin/cli/cron.php >/dev/null
Notifications, forum emails, grade calculations, backups and cleanup depend on cron. Run it as the web server user, monitor that it completes, and investigate if tasks start overlapping or taking minutes.
Video Content
Course videos are the biggest storage and bandwidth consumers. Serving large video files directly from the LMS server uses disk, bandwidth and PHP workers. Better options: host videos on a video platform or streaming service and embed them, or put them in object storage behind a CDN. Keep the LMS focused on pages, quizzes and assignments.
Planning for Peaks
Peaks happen when a live class starts, an assignment deadline approaches, or a quiz opens for a whole batch at once. Plan for concurrent active users, not enrolled learners (see our concurrency guide):
- Load test the login and quiz pages before term starts (see our k6 guide).
- Stagger quiz start times across batches where possible.
- Make sure PHP-FPM workers and database connections cover the peak.
- Avoid running heavy cron tasks and backups during exam windows.
For high-stakes exams, see our online examination guide.
Storage Planning
Submissions, course files and course backups grow every term. Plan disk for a year of growth, schedule cleanup of old course backups, and keep Moodle's automated course backups off the main disk or turn them off in favour of full-site backups.
Plugins
Plugins add features but also upgrade risk and security exposure. Install only maintained plugins compatible with your version, keep a list, and test them on staging before upgrades.
Backups and Upgrades
Back up the database and moodledata together (they must match), nightly, off the server. Upgrade on a staging copy first, ideally between terms, and keep the previous code and a backup for rollback.
Security
- HTTPS everywhere; strong admin passwords with two-factor authentication.
- Self-registration limited or disabled as appropriate; enrolment controlled.
- Keep Moodle updated with security releases.
- Protect learner data, especially for minors, and know your obligations.
Sizing
| Deployment | Suggested plan |
|---|---|
| Small institute, up to ~100 concurrent users | 2 vCores / 8 GB |
| A few hundred concurrent users | 4 vCores / 16 GB |
| Larger colleges, frequent quizzes | 8 vCores / 32 GB |
| Thousands of concurrent users | App servers + separate database, or 16 vCores / 64 GB |
Example: A Coaching Institute
A coaching institute with 2,000 enrolled students runs Moodle on a 4 vCore / 16 GB VPS in India, with Redis caching, videos hosted on a video platform and embedded in lessons, and weekly quizzes staggered across batches. Before each term, the team runs a load test simulating the largest batch starting a quiz together.
Common Mistakes
- Serving large videos directly from the LMS server.
- Cron not running, so notifications and grades lag.
- Sizing for enrolled learners instead of concurrent peaks.
- Upgrading during term without testing plugins.
In Short
Run Moodle with Redis and OPcache, keep cron healthy, move video elsewhere, size for peak concurrency, and back up database and data directory together.
Next Steps
Estimate concurrent learners at your busiest moment, choose a plan, set up Redis and cron correctly, move videos to a dedicated service, and run a load test before the first term on the new server.
Mobile Learners
Many learners in India use phones on mobile data. Keep course pages light, compress images, offer downloadable materials where appropriate, and test the official mobile app or responsive theme on mid-range phones before rollout. Review the setup every quarter with the people who use it, because needs change as the organisation grows, and small adjustments made early are far cheaper than large changes made under pressure. Document the setup in a short runbook covering where data lives, how integrations run, how to restore from backup and whom to contact, so the system stays dependable even when the person who configured it is unavailable or has moved on to another role.
SkyRainCloud Plans for This Workload
A Moodle site for a few hundred concurrent learners fits 4 vCores / 16 GB; small institutes can start at 2 vCores / 8 GB; large deployments with thousands of concurrent users need 8–16 vCores and often a separate database server.
AMD EPYC 7C13 VPS
Dedicated KVM vCores on AMD EPYC 7C13 (up to 3.70 GHz) with DDR4 ECC memory, NVMe SSD and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — AMD | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Websites, small APIs, bots, staging and VPN servers | Order |
| VPS 2 — AMD | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,299/month | WooCommerce, Node.js/Python backends, Docker Compose stacks, CI runners | Order |
| VPS 3 — AMD | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,499/month | Production databases, high-traffic sites, multi-container apps | Order |
| VPS 4 — AMD | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,899/month | Large production workloads, SaaS platforms, analytics, in-memory caches | Order |
Intel Xeon Platinum 8269CY VPS
KVM VPS on Intel Xeon Platinum 8269CY (up to 3.80 GHz Turbo) with DDR4 ECC memory, NVMe SSD, full root access and an unmetered 1 Gbps port.
| Plan | vCores | RAM | Storage | Network | Price | Good for | Buy |
|---|---|---|---|---|---|---|---|
| VPS 1 — Intel | 2 | 8 GB DDR4 ECC | 40 GB NVMe SSD | 1 Gbps, unmetered | ₹649/month | Business websites, small apps, scheduled jobs and bots | Order |
| VPS 2 — Intel | 4 | 16 GB DDR4 ECC | 80 GB NVMe SSD | 1 Gbps, unmetered | ₹1,169/month | Business software, mid-size databases, several sites on one server | Check stock |
| VPS 3 — Intel | 8 | 32 GB DDR4 ECC | 150 GB NVMe SSD | 1 Gbps, unmetered | ₹2,249/month | ERP/CRM stacks, heavier databases, multiple production apps | Check stock |
| VPS 4 — Intel | 16 | 64 GB DDR4 ECC | 250 GB NVMe SSD | 1 Gbps, unmetered | ₹4,299/month | High-memory workloads and consolidated production servers | Check stock |
Prices are monthly in INR as listed on the SkyRainCloud store (verified 2026-11-14). Stock and final pricing are shown on the product page at checkout.