Open-source learning platform

Self-hosted Moodle LMS on AWS

Run Moodle, the widely used open-source learning management system, from a pre-configured AMI in your own AWS account. Courses, learners and grades stay on infrastructure you control.

  • Ready in about 5 minutes
  • GPLv3 licensed
  • Runs in your own account
Moodle LMS deployed on AWS by Meetrix

What is Moodle?

Moodle is a GPLv3 learning platform used by schools, universities and companies for classroom, blended and online learning. It runs on standard PHP hosting and has the largest plugin ecosystem of the open-source LMS options.

What's in the Meetrix Moodle AMI

The AMI ships Moodle 5.3 on PHP 8.5, which fixes the PHP vulnerabilities in the earlier image, with SSL and cron set up on first boot.

How to set up a self-hosted Moodle site

  1. Launch the stack

    Subscribe on AWS Marketplace and launch the CloudFormation stack with your domain and admin password. It completes once Moodle is ready, in about 5 minutes.

  2. Point your domain

    Create a DNS record with the PublicIp. SSL is issued automatically for a domain in Route 53; anywhere else, run one script after DNS.

  3. Sign in and connect email

    Log in as admin with the password you set at launch, then add an SMTP provider so Moodle can send password resets and notifications.

  4. Set up your site

    Use Site administration to configure courses, users, appearance and plugins.

Deploy on AWS

Moodle vs Open edX vs Canvas

MoodleOpen edXCanvas
LicenceGPLv3No licence feeAGPLv3, also sold commercially
Best fitClassroom and blended learningMOOC-scale programmesInstitutions wanting a modern UI
Self-hosting effortLow, standard PHP hostingHigh, 20+ containersHigh, resource and staff heavy
Plugin ecosystemLargest of the threexBlock-based, narrowerMostly commercial App Center

Moodle is the easiest of the three to run yourself. Read Moodle vs Open edX vs Canvas →

Video: deploy Moodle on AWS

Moodle FAQ

What is the default login?

There is no shared default password. Log in as admin with the AdminPassword you set when launching the stack; the admin email is the AdminEmail you entered.

Which PHP version does it use?

PHP 8.5-FPM on nginx, with Moodle 5.3.0 on Ubuntu 26.04. This release fixes the PHP security vulnerabilities found in the earlier image, which ran PHP 8.3.

How do I set up SSL?

SSL is set up automatically on first boot when your domain is hosted in Route 53. For a domain elsewhere, point DNS at the server, SSH in and run sudo bash /root/certificate_generate_standalone.sh, then sudo /opt/scripts/setdomain.sh.

Can I customise themes and plugins?

Yes. You have full admin access to install and configure themes, plugins and integrations.

Is Moodle mobile-friendly?

Yes. It has a responsive design and a dedicated mobile app for learners and teachers.

Can I add video classes?

Yes. The official mod_jitsi plugin adds Jitsi Meet as a course activity; use your own Jitsi server for real classes.

Where are the error logs?

Moodle runs on nginx with PHP 8.5-FPM. SSH in and run sudo tail -f /var/log/nginx/error.log.

Which instance size should I choose?

t3a.small is the recommended starting point. Scale up as learner numbers grow.

How do I upgrade?

Launch a new stack from the latest version, copy your database and moodledata across, and run the Moodle upgrade script. The developer guide has the commands.

Moodle guides and articles

Need a hand with Moodle?

We build and run self-hosted learning platforms every day, from plugins to Jitsi video classes. Tell us what you need.

Contact us