How the Moodle BigBlueButton activity reaches a Scalelite cluster
A Moodle administrator running live classes on more than one self-hosted BigBlueButton server needs Moodle to send each session to a suitable machine without teachers choosing one by hand. The core Moodle BigBlueButton activity handles this through the BigBlueButton API. The activity is configured with a server URL and shared secret, and every request it sends carries a checksum computed with that secret. When those two settings point at Scalelite instead of one BigBlueButton server, Scalelite answers the API calls for the whole pool and chooses the server for each meeting. No third-party connector, plugin or LTI broker sits in this path, so the activity talks to the cluster the same way it would talk to a single server.
This page follows that path from the Moodle side to the cluster side. It covers entering the server URL and secret in Moodle, mapping Moodle activities to meetings that Scalelite places on a server, and how recordings made anywhere in the pool appear back in the course. It also covers protected recording links that allow playback only to people enrolled in the course, along with the security controls around the shared secret and the tests to run on joins and recordings before teachers rely on the setup. Each step involves a decision with a named owner, such as who holds the secret, who can create activities and where recordings are kept, so the sections that follow name those owners explicitly.
The page does not cover Greenlight, the front end for standalone rooms, or the integrations for other learning management systems such as Canvas, Sakai, Schoology or Open edX. Each has its own page. Sizing the BigBlueButton servers and the Scalelite cluster is also left to the scaling page, because the right capacity depends on how many classes run at the same time, which you must estimate from your own timetable and enrollment figures. Before you read on, confirm two things in your own environment: the Moodle version you operate, and whether your Scalelite deployment accepts the API calls that version of Moodle sends. Those two checks decide whether the steps in this page apply to your site as written.
What a Moodle BigBlueButton and Scalelite setup needs before configuration
Each component below must be ready before you enter the Scalelite URL and secret in Moodle. The Moodle site, the BigBlueButton servers, the network path and the Scalelite host depend on one another, so a gap in any one of them blocks joins or recordings across the whole cluster. Confirm each item against the versions you plan to deploy.
Moodle branch and support window
Confirm that the Moodle branch you run is still in support before you configure anything. Moodle 5.1 has general support until 5 October 2026 and security support until 19 April 2027, and Moodle 5.2 has security support until 4 October 2027. Moodle 5.3, released on 5 October 2026, is the long-term support release, with general support until 4 October 2027 and security support until 1 October 2029. Pick the branch before installation, because a later upgrade changes the PHP and database requirements.
Moodle releases pagePHP, database and web root
Moodle 5.1 requires 64-bit PHP 8.2 or later and PostgreSQL 15, MySQL 8.4, MariaDB 10.11 or SQL Server 2017 or later. Moodle 5.3 raises the floor to 64-bit PHP 8.3 or later and PostgreSQL 17, MySQL 8.4, MariaDB 11.4 or SQL Server 2019 or later. From Moodle 5.1, the web server document root must point to the /public directory, or the site may show directory listings or errors. Check these versions on the production host that will serve Moodle.
Moodle 5.3 release notesBigBlueButton 4.0 clean install
BigBlueButton 4.0.0 was released on October 14, 2026, and it installs on Ubuntu 24.04 64-bit. Direct upgrades from 2.6, 2.7 or 3.0 are not supported, so each server in the pool should be a clean installation. Move any data from an older server in as a planned step with its own test. Record the BigBlueButton version on every node so that Moodle and Scalelite tests run against the same release.
BigBlueButton install docsPer-server hardware and bandwidth
Each BigBlueButton 4.0 server needs at least 16 GB of RAM with swap, 8 CPU cores with high single-thread performance, and 250 Mbit/s of symmetrical bandwidth. Disk needs are 500 GB when the server records and 50 GB without recording, so decide whether each node records before you size it. Scalelite sends each new meeting to the least loaded server, so an undersized node can distort placement across the whole pool. Size every node to the same baseline.
Ports, hostnames and TURN
Make TCP ports 80 and 443 reachable on every BigBlueButton server, along with UDP ports 16384 to 32768. Each server needs a valid hostname so that an SSL certificate can be issued for it. Docker is required on the server for sandboxed LibreOffice document conversion. Plan a TURN server for users behind restrictive firewalls, and confirm that these ports are open on the firewalls between Moodle, Scalelite and each BigBlueButton node.
Scalelite host and recording storage
Scalelite runs on its own host and makes the pool appear as one BigBlueButton server. It uses PostgreSQL for its database, Redis as a cache and an NFS shared volume for recordings. Every BigBlueButton node must mount the same NFS volume so that recordings land where Scalelite's index can find them. Confirm which Scalelite release matches BigBlueButton 4.0 in the project repository before you install anything.
Scalelite repositoryHow a join travels from Moodle through Scalelite to a BigBlueButton server
The diagram starts in the Moodle host, where the BigBlueButton activity sends each create and join request to the Scalelite endpoint over HTTPS. That call is the only hand-off that crosses the trust boundary into the BigBlueButton network. Scalelite keeps its meeting and server state in PostgreSQL, uses Redis as a cache, and places each meeting on the least loaded BigBlueButton server in the pool. Every server writes recordings to a shared NFS volume, which Scalelite indexes so Moodle can list them. Check that the shared secret exists only in Moodle's configuration and in Scalelite, and that the HTTPS endpoint is the only path across the boundary.
Join requests cross one HTTPS boundary, then Scalelite routes meetings and recordings.
How Scalelite makes several BigBlueButton servers look like one
Scalelite gives Moodle one address to call. Moodle's BigBlueButton activity is pointed at the Scalelite URL and one shared secret, and Scalelite takes each meeting request, sends the meeting to the least loaded BigBlueButton server in the pool, and handles the routing behind that address. Scalelite uses a PostgreSQL database and a Redis cache, so the state about which servers exist and how busy they are sits in the balancer. For Moodle admins, the practical result is that a course activity does not need to know which server hosts a session. A teacher adds the activity once, and the same settings serve every class, whatever server takes the room.
Because Moodle only sees the balancer, the checks move to the pool itself. Before the first class, confirm that every BigBlueButton server in the pool is registered with Scalelite and that the secret Scalelite holds for each server matches the value that server was configured with. A server that is missing from the registry can run correctly on its own and still receive no meetings, so check the registry against the list of servers your operations team believes is live. Plan any secret rotation as one change across Scalelite and Moodle, so no server is left holding an old value. Then run several test sessions at the same time from different courses, so they can land on different servers, and confirm each one joined.
Recordings from every server are written to the same NFS shared volume, and Scalelite's index is what makes them visible through the single endpoint Moodle uses. Confirm the exact index behavior in the Scalelite documentation for the release you run, including how soon a finished recording is indexed, how recordings made before a server joined the pool are handled, and how deletions are reflected. Before the first class, also check that the NFS mount is present and writable on every server, because a server that cannot write to the shared volume risks producing recordings that never reach the index. Finally, retest one recording from each server before students depend on playback.
Connecting the Moodle BigBlueButton activity to Scalelite, step by step
This sequence connects Moodle's built-in BigBlueButton activity to a Scalelite cluster so that every class meeting is placed on a server in the pool. It ends with a tested activity, a verified join on a pool server, a checked recording and a load test with concurrent meetings, all completed before term-time use.
Confirm the Scalelite endpoint and server pool
Start on the Scalelite side. Check that the endpoint answers over HTTPS with a certificate that Moodle's server trusts, and that the Scalelite host can reach every BigBlueButton server in the pool. Confirm each server is registered and reported as available in Scalelite's server list, using the command or interface your deployment provides. The step is done when the endpoint responds over HTTPS and every pool server appears in that list.
Retrieve the Scalelite URL and secret
Ask the Scalelite administrator for the endpoint URL and the shared secret that signs API calls. Copy them into a password manager or a secrets vault that your administrators control, and send them only through channels your organization already uses for credentials. Do not paste the secret into tickets, chat threads, course pages or email. The step is done when the URL and secret are stored in a controlled location and the person entering them in Moodle knows where to find them.
Agree the checksum algorithm on both sides
Decide which checksum algorithm the Moodle activity and Scalelite will use, and set both to the same value. SHA-256 is the default for BigBlueButton API calls. SHA-1 is kept for legacy use, and SHA-384 and SHA-512 are available since BigBlueButton version 2.5. Confirm the algorithm your Scalelite release accepts before you change anything in Moodle, because a mismatch will reject API calls. The step is done when both sides are written down with the same algorithm name. See the BigBlueButton API documentation for the checksum rules.
Enter the URL and secret in Moodle
In Moodle, open the BigBlueButton settings in site administration and enter the Scalelite URL, the secret and the checksum algorithm you agreed. The settings location depends on the installed Moodle version, so confirm the path in that version before changing production. Save the changes, then reopen the page and confirm the URL and algorithm persisted and the secret field shows that a value is set. The step is done when the saved settings match the values agreed in the previous steps.
Create a test activity in a test course
In a test course, add a BigBlueButton activity the way a teacher would, and give it a clear name that marks it as a test. Confirm that the activity uses the Scalelite settings from the previous step. Open it once as an administrator and confirm that it loads without a configuration error and shows the join control. The step is done when the activity opens and the join page loads cleanly.
Join with moderator and student accounts
Start the test meeting as the moderator, then join as a student from a separate browser session or private window so both roles are active at once. Confirm that the moderator can control the meeting and that the student sees the participant view. Then check the pool: the meeting should appear on one of the BigBlueButton servers registered with Scalelite. Your administrator can confirm this through the server view or monitoring your deployment provides. The step is done when both roles join and the meeting appears on a pool server.
Record a short session and check the index
In the test meeting, start recording, speak for a short period and share a slide or screen so the recording has content. Stop the recording, wait for processing to finish, then open the course activity and confirm the recording appears in Moodle's list. Scalelite keeps recordings on a shared NFS volume, so confirm that its recording index lists sessions from every pool server. The step is done when the recording plays from the Moodle course and its entry matches the test meeting.
Run a load test before term-time use
Start several concurrent test meetings from separate Moodle activities, each with a moderator and a student account, and let them run together so the pool has to place them at the same time. Confirm that Scalelite spreads the meetings across the pool, sending each to the least loaded server, and that audio, video and screen sharing stay usable for every participant. Record the results, server load and errors so the team has a baseline before term-time use. The step is done when the test meetings run concurrently on the pool with no unresolved errors and the results are documented.
Which Moodle, Scalelite and BigBlueButton fields must agree
This table lists the values that must match across Moodle, Scalelite and the BigBlueButton servers behind it. Read each row as a pair: the Moodle setting in the second column must correspond to the Scalelite or BigBlueButton value in the third, and the last column says how to confirm the match. A mismatch in any row can cause failed joins or recordings that never appear in the course, so verify all six before teachers use the activity.
| Item | Moodle side | Scalelite and BigBlueButton side | The check |
|---|---|---|---|
| API endpoint | Server URL in the activity settings points to the Scalelite API root | Scalelite's pool lists each BigBlueButton server, and the pool answers every API call | Run a test join from Moodle and confirm it lands on a server listed as available in the pool |
| Shared secret | One secret value entered once in the activity server settings | Scalelite holds its own secret for clients and uses each server's secret to reach it | Compare the values in both systems without copying them into course content, pages or logs |
| Checksum algorithm | The plugin version in use signs calls with the algorithm its settings select | Scalelite and every BigBlueButton server must accept that same algorithm | Test one join after any change, since a mismatch appears as a checksum error on join |
| Meeting identity | Moodle assigns each activity a meeting identifier, and the version in use sets how it is derived | Scalelite records which server hosts each running meeting and sends later joins there | Start two activities at once and confirm each opens its own meeting on the expected server |
| Moderator and viewer rights | Moodle roles such as teacher and student determine the role sent at join | The BigBlueButton server enforces the moderator or viewer role it receives through Scalelite | Join as a teacher and as a student in a test course and confirm moderator controls appear only for the teacher |
| Recording identity | The activity and course context are stored in Moodle and linked to the meeting identifier | Scalelite's recording index keys each recording by its record ID, with files on the shared volume | Open a recording from the course and confirm its record ID maps back to the correct activity and course |
Protecting the shared secret and course-only recording links
Six controls keep the shared secret and recordings inside the course. They depend on one another: a leaked secret can let outsiders call the BigBlueButton API, and a weak recording link or open NFS export undoes course-level access. Work through them together, then confirm each one in your own environment before classes start.
Keep the shared secret server-side
The BigBlueButton API docs warn never to embed the shared secret in a web page. Keep it only in Moodle's server-side configuration and in the Scalelite configuration that pairs with it. Check that no template, theme, JavaScript file or public log prints it. Rotate the secret through a planned change: schedule a window, update Scalelite and Moodle together, and run one test join before you close the change.
BigBlueButton API docsChecksum algorithm and TLS
Every API call carries a checksum made with the shared secret. The docs list SHA-256 as the default, SHA-1 for legacy use, and SHA-384 or SHA-512 since BigBlueButton 2.5. Choose the strongest algorithm that both Moodle and your Scalelite release accept, and test it before go-live. Serve the Scalelite endpoint over HTTPS with a certificate that matches its hostname, and confirm that Moodle connects to that exact name, since a mismatch often appears only at the first join.
Course-only recording links
The intent is that a recording opens only for people enrolled in the course that owns it, so a copied link gives no playback to outsiders. The team must confirm the exact mechanism in its release, including whether Moodle checks enrollment on each request. Test it with three accounts: an enrolled student, a user from another course, and a logged-out visitor holding the copied link. Only the enrolled student should be able to play the recording.
NFS access on recordings
Scalelite keeps recordings on an NFS shared volume, so every BigBlueButton server that writes recordings and the Scalelite host that indexes them must mount the same export. Limit the export to those hosts' addresses and use the narrowest read and write options your setup supports. Keep the volume off public networks. Verify by attempting a mount from an unlisted host and confirming it fails. Ask your storage team which squash and permission settings they can enforce.
Scalelite repositoryAdministrative access to each tier
Three tiers hold control. In Moodle, site administrators can read and change the secret. Scalelite holds its own configuration and database. Each BigBlueButton server gives shell access to media and recordings. Give each tier a named admin group, give each person an individual SSH key with no shared logins, and keep administrator accounts separate from daily teaching accounts. Review who holds each role at every term start and after staff changes.
Logging joins and recording access
The institution's reviewers need a record of who joined which meeting and who opened which recording. Confirm what Moodle, Scalelite and each BigBlueButton server log for joins, recording listings and playback, and where each log goes. Test the logging end to end: join a session, play a recording, then find both events in the logs. Forward the logs to a store your security team controls, set retention in your own policy, and document any gap you cannot close.
What changes when Moodle points at one server or a Scalelite pool
With one self-hosted BigBlueButton server, Moodle's BigBlueButton activity talks directly to that server's API endpoint. You enter the server's URL and the shared secret generated on the server, and every meeting creation, join and recording request goes to the same host. Nothing sits between Moodle and the server, so troubleshooting usually starts with two questions: can Moodle reach the URL, and do the secret and checksum settings match what the server expects?
- Endpoint: Moodle's URL is the BigBlueButton host itself. A DNS change, certificate renewal or firewall rule on that host affects Moodle immediately.
- Secret: One secret is shared between Moodle and that server. Rotating it means changing the value on the server and in the Moodle activity settings in the same window, or joins fail.
- Recordings: Recordings are written to the server's own disk. Retention, backup and disk alerts all apply to that one machine, so the disk is the first place to look when recordings are missing.
- Capacity: All meetings share one host's CPU, memory, bandwidth and disk. When the host is full, Moodle has no other server to place new sessions on, so sizing must follow the published BigBlueButton requirements for your expected peak class load.
- Failure: If the host is down, every course's sessions stop until it returns. There is no built-in fallback at the Moodle layer.
Before go-live, confirm the server meets the requirements for your peak, and name one person who owns disk space, recording retention and the shared secret on this host.
With a Scalelite pool, Moodle points at the Scalelite load balancer. Scalelite presents the pool as one server and sends each new meeting to the least loaded member, so the Moodle configuration stays the same as the pool grows or shrinks. The trade-off is that the pool adds components your team must design, back up and monitor. The Scalelite project describes the pool architecture in its repository.
- URL and secret: Moodle's URL is the Scalelite endpoint. Scalelite and every pool member must share the secret that Moodle uses, and a mismatch on any member is a common cause of failed joins that look random to users.
- Recordings: Each member writes recordings to a shared NFS volume, and Scalelite's index serves them back to Moodle. Playback depends on the index and the volume, not on the server that hosted the class.
- Database and cache: Scalelite keeps its state in a PostgreSQL database and a Redis cache. Both belong in the backup schedule and the monitoring plan alongside the BigBlueButton fleet.
- Shared volume: The NFS volume is a single dependency for recordings across the whole pool. Plan its backups, free-space alerts, mount health checks and access controls before the first live class.
- Changes: Adding or removing members, taking a server out of rotation and upgrading Scalelite all affect what Moodle users experience, so schedule them outside teaching peaks and test a join and a recording afterward.
Before term use, confirm the registration steps for your Scalelite version and test a join and a recording from a real Moodle course on every member.
Why Moodle BigBlueButton joins and recordings fail on Scalelite
This table pairs each symptom you may see when Moodle's BigBlueButton activity talks to a Scalelite cluster with its likely cause and the fix to try first. Read each row left to right, and confirm every step in your own environment before you change the next setting. Most join and recording failures trace back to the server URL, the shared secret, the certificate name or the recording path, so check those before anything else.
| Symptom | Likely cause | Fix |
|---|---|---|
| Join fails with a checksum error | The secret or checksum algorithm differs between Moodle and Scalelite, or whitespace was pasted with the secret. | Copy the secret from the Scalelite configuration again, paste it without spaces or line breaks, and match the checksum algorithm in Moodle to the server. |
| All sessions land on one server | Moodle still points at one BigBlueButton server, or a pool member is not registered with Scalelite. | Set Moodle's server URL to the Scalelite endpoint, then confirm every server is registered and enabled in Scalelite's server list. |
| Certificate errors on join | The hostname on the certificate does not match the name Moodle calls, or SSL is misconfigured on Scalelite or a BigBlueButton server. | Use one hostname in Moodle that matches the certificate on Scalelite, and test each BigBlueButton server's SSL directly in a browser. |
| Recordings missing from Moodle | Scalelite's recording index is unreachable from Moodle, the NFS mount for recordings is broken, or processing has not finished. | Load Scalelite's recording index from the Moodle server, check the NFS mount on both sides, and wait for processing to complete before testing again. |
| Recording link opens for a user outside the course | Recording protection is not configured, or it was never tested with an account that is not enrolled in the course. | Turn on protected recording links, then test with an unenrolled account and confirm the link is blocked before students get access. |
| Moodle errors or directory listings after an upgrade | From Moodle 5.1 onward, the web server document root must point to the /public directory of the Moodle code. | Update the Apache or Nginx document root to /public, reload the web server, and check that the site loads without listings or errors. |
What buyers and admins ask before running Moodle BigBlueButton on Scalelite
What drives the cost of Moodle BigBlueButton on Scalelite?
The cost depends on how many BigBlueButton servers the pool needs, the hardware and bandwidth each one gets, and the storage that holds recordings. DeployOpen does not publish a price list, and a quote follows from the written scope. Ask the quote to cover these parts separately:
- Server count and hardware: BigBlueButton 4.0 needs at least 16 GB of RAM with swap, 8 CPU cores with high single-thread performance, and 250 Mbit/s symmetrical bandwidth per server, according to the BigBlueButton install docs.
- Recording storage: 500 GB of disk per server with recording, or 50 GB without.
- The Scalelite host, its PostgreSQL database, Redis cache and NFS volume for recordings.
- Testing and the Moodle version path, including any upgrade from your current release.
Setup and testing are one-time costs. Hardware, bandwidth, storage and hosting recur, so ask which lines repeat each year.
How long does it take to put Moodle BigBlueButton on Scalelite?
The timeline depends on the BigBlueButton servers you already run, the Moodle version in use and the size of the test plan. Existing servers on a supported release leave less to build than new hardware that needs a clean install. A Moodle upgrade in the same window adds its own testing and rollback steps. Ask for a timeline in the written scope, with milestones for the server build, the Scalelite setup, the Moodle configuration, join and recording tests, and the change window. Each milestone should name who signs it off, so delays are visible early.
What does our institution need to provide before the work starts?
The institution provides access, people and a test environment. Admin access to Moodle, to Scalelite and to each BigBlueButton server lets the team set and check the endpoint, the shared secret and recording settings. A test course in Moodle lets staff run joins and recordings without touching live classes. Name one Moodle admin who approves changes and one technical contact for the servers. Agree a change window for the cutover, when Moodle is first pointed at the Scalelite URL and secret. List these items in the written scope so access requests start before the build begins.
Can our internal IT team set this up without a partner?
Yes, an internal team can set up a single test server for Moodle's BigBlueButton activity, using the same URL and secret method you would use for a Scalelite pool. The pool adds work that deserves a close look before you decide. Weigh the recording protection, including course-only playback links, and the shared recording volume and its access rules. Load testing across several servers under concurrent classes is the other main task. Also weigh whether your team has the time to document the results for reviewers. Ask any partner to list which tasks it runs and which tasks your staff keep.
Does Moodle need changes when we add BigBlueButton servers later?
No change to the Moodle endpoint is needed when the pool grows. Moodle keeps calling the Scalelite URL with the same secret, and Scalelite decides which server takes each meeting. Each new BigBlueButton server still has to be registered with Scalelite and tested before it receives classes. The test should cover joins, audio, screen sharing and a recording that appears through Scalelite's index in Moodle. Confirm that the new server runs the same BigBlueButton release as the others, and record the pool size in your runbook so the next administrator can see it.
What changes when Moodle moves from 5.1 to 5.3 for BigBlueButton?
Moodle 5.3 has its own requirements, so confirm them against your current stack before you schedule the move. The Moodle 5.3 release notes call for 64-bit PHP 8.3 or later (8.4 is supported), PostgreSQL 17, MySQL 8.4, MariaDB 11.4 or SQL Server 2019 or later, and a site must run Moodle 4.4 or later to upgrade. Moodle 5.1 requires PHP 8.2 or later and PostgreSQL 15, so the PHP and database engine may both need upgrades. Check that the web server document root still points to the /public directory. Also check any custom theme, since 5.3 removes the Classic theme from core. Test the BigBlueButton activity after the upgrade.
How DeployOpen scopes and delivers a Moodle BigBlueButton and Scalelite integration
DeployOpen starts with the Moodle site, the Scalelite pool and the BigBlueButton servers you already run or plan to run. Each step is verified in a test course, from the server URL and shared secret in Moodle to recording playback for enrolled students. Most engagements are fixed-scope, so the scope, deliverables and timeline are settled in writing before work begins.
How we scope
- A written scope lists the Moodle version, Scalelite pool and BigBlueButton servers in use.
- The scope names which courses, roles and Moodle activity settings will reach Scalelite, so testing covers each one.
- Engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as retainers.
How we build
- Configure Scalelite with its PostgreSQL database, Redis cache and NFS volume for recordings, on servers you control.
- Register each BigBlueButton server with Scalelite, then check that new meetings land on the least loaded server.
- Set the Scalelite URL and shared secret in Moodle's BigBlueButton activity, and keep the secret off course pages.
How we hand over
- Test joins, recordings and protected recording links for course-only playback, then record the results.
- Document the Moodle settings, Scalelite configuration, server list and secret rotation steps for your administrators.
- Walk your Moodle and infrastructure staff through operations so they can review the setup against their own controls.
How we support
- Retainers can cover Scalelite and BigBlueButton upgrades, Moodle minor releases and repeat join and recording tests.
- Plan Moodle upgrades around the PHP and database versions each release requires, which the release notes set out.
- Re-test the Scalelite pool after adding a BigBlueButton server, changing secrets or changing a Moodle version.

