Moodle and BigBlueButton integration

Moodle and BigBlueButton integration uses the BigBlueButton activity in Moodle core with a server you run, so class video, recordings and attendance stay in your infrastructure. This page covers the requirements, setup order, data mapping, security and failure points for that connection.

On this page

How Moodle and BigBlueButton integration keeps class video on your servers

If your team wants live classes inside Moodle without sending video through a third-party host, the answer is to pair Moodle's core BigBlueButton activity with a BigBlueButton server you run yourself. The activity ships in Moodle core, so no separate plugin is needed for the basic session. It connects to your server through the BigBlueButton API, and every request is signed with a secret shared between the two systems. Video, audio, slides, chat and recordings stay on the server you host, provided that server sits in infrastructure you control. The integration covers creating and joining sessions, passing recording data back to Moodle and the attendance and grading inputs that teachers use. It does not handle everything on its own. Gradebook rules, attendance policy, recording retention, user provisioning and the network path for students behind restrictive firewalls all need separate design and testing.

Before you build, confirm the versions in use on both sides. BigBlueButton 4.0.0 was released on October 14, 2026, and the BigBlueButton install documentation says 4.0 installs on Ubuntu 24.04 64-bit and that direct upgrades from 2.6, 2.7 or 3.0 are not supported, so a clean server is the recommended starting point. Check the Moodle version against the BigBlueButton activity behavior and the release notes for your Moodle branch, and check that the server's hostname has a valid SSL certificate. Also confirm the server URL and shared secret Moodle will hold. Treat that secret as a credential: it should be stored in Moodle's admin settings only, restricted to administrators, and never placed in a page, theme or template, because the API documentation warns that anyone with the secret can make calls to your server.

Plan the server before the Moodle settings. The BigBlueButton install documentation lists at least 16 GB of RAM with swap, 8 CPU cores with high single-thread performance, 500 GB of disk for recordings (50 GB without recording) and 250 Mbit/s symmetrical bandwidth for a 4.0 server. Ports 80 and 443 over TCP and UDP ports 16384 to 32768 must be reachable, and a TURN server is recommended for students on restrictive networks. These figures are minimums from the vendor's documentation, so ask your own team to size against expected concurrent classes, recording volume and retention rules. Recording storage is the cost that grows quietly, so decide early who owns retention and deletion, and confirm with your data protection lead how recordings containing student speech and images will be stored, accessed and removed.

What a BigBlueButton server needs before you connect Moodle

A BigBlueButton server is a separate system from Moodle, and it has its own hardware, network and version requirements that must be settled before the two are connected. The cards below cover the sizing, network reachability and version checks that shape the build, and the decisions to make before installation starts.

Operating system and install path

BigBlueButton 4.0 installs on Ubuntu 24.04 64-bit. Direct upgrades from 2.6, 2.7 or 3.0 are not supported, so the install docs recommend a clean server installation. If you have an older BigBlueButton server, plan a fresh host and a data move rather than an in-place upgrade. Confirm the current install script options with the install docs before you build the image.

Install docs

Compute and memory sizing

The install docs set a minimum of 8 CPU cores with high single-thread performance and at least 16 GB of RAM with swap configured. Media processing is CPU-heavy, so the number of concurrent classes a server can carry depends on the core speed as much as the core count. Ask your team to load test a representative class before you commit to a size, and plan a second server if you expect overlapping timetabled sessions.

Disk for recordings

Storage depends on whether you keep recordings. The install docs list 500 GB of disk for recordings and 50 GB without recording. Recordings grow with class length and participant count, so estimate them from your timetable and retention policy. Recordings sit on the BigBlueButton server, and Moodle may need to fetch them, so decide early where long-term copies live and who backs them up.

Bandwidth and symmetrical links

The install docs call for 250 Mbit/s symmetrical bandwidth. Symmetrical capacity matters because every participant sends as well as receives media, so upload limits on a typical hosting plan often become the bottleneck first. Confirm the upstream link with your network team and your hosting provider, and test it under load from the locations where students will join.

Ports and hostname

Open TCP 80 and 443 and UDP 16384 to 32768 to the server. You need a valid hostname that resolves publicly so SSL certificates can be issued, and the hostname must be reachable from student networks as well as from your Moodle server. Check whether your firewall, load balancer or school network inspects or blocks UDP, because blocked UDP is a common cause of audio and video failures.

Docker and TURN for restrictive networks

Docker is needed for sandboxed LibreOffice document conversion, so plan it as a dependency of the server build rather than an afterthought. A TURN server is recommended for users behind restrictive firewalls that block direct media. Decide whether to run TURN on the same host or a separate one, and confirm with the install docs how it is configured for your network before the pilot.

Moodle, PHP and database versions

BigBlueButton is an activity in Moodle core from 4.0, so your Moodle release sets the version floor. Moodle 5.1 requires 64-bit PHP 8.2 or later, and Moodle 5.3 requires 64-bit PHP 8.3 or later with PostgreSQL 17 or MySQL 8.4. Confirm the PHP and database versions for the Moodle release you will run, because they may differ from the server you already have.

Moodle 5.3 notes

How a Moodle class launch reaches your BigBlueButton server

The launch starts in a learner's browser when they open a BigBlueButton activity in a Moodle course. Moodle, which holds the shared secret, sends a checksummed API call to your BigBlueButton server, and the server returns a join URL. The browser then connects to BigBlueButton over HTTPS for signaling and UDP media ports for audio and video, and recordings are written back to storage on the server. Check that the secret never reaches the browser, that the UDP range is open between users and the server, and where recordings are kept.

Launch flow from Moodle to a self-hosted BigBlueButton server, with trust boundaries.

Configuring the Moodle BigBlueButton integration in sequence

This sequence takes a self-hosted BigBlueButton server from a clean install to a Moodle activity that runs class sessions, recordings and attendance inside your own infrastructure. Each step ends with a check so problems are found before students join.

  1. Confirm DNS and a valid SSL hostname

    Before any software is installed, the team creates a DNS record for the BigBlueButton server and confirms that it resolves from both the Moodle server and the public internet. The hostname must be valid for SSL, and TCP ports 80 and 443 plus UDP ports 16384 to 32768 must be reachable through the firewall and any cloud security groups. Confirm the port reachability from outside your network, not only from inside it. The step is done when the hostname resolves publicly, the ports answer from an external test host, and the certificate plan (issuer and renewal owner) is written down.

  2. Install BigBlueButton 4.0 on a clean server

    The infrastructure team provisions a fresh Ubuntu 24.04 64-bit server that meets the BigBlueButton 4.0 hardware guidance: at least 16 GB of RAM with swap, 8 CPU cores with high single-thread performance, disk sized for recordings, and 250 Mbit/s symmetrical bandwidth. Upgrading an earlier BigBlueButton version in place is not supported, so use a clean installation. Run the bbb-install.sh script, and add Greenlight or LTI support only if the courses need a separate front end or LTI launch. Docker is needed for sandboxed LibreOffice document conversion. The step is done when the installer finishes without errors and the server's services report healthy.

  3. Set up TURN for restricted networks

    Test whether students on restrictive networks, such as some campus Wi-Fi or corporate firewalls, can reach the server's media ports. The BigBlueButton install documentation recommends a TURN server for users behind those firewalls, so decide whether to deploy one on infrastructure you control or on a separate host. Record the TURN configuration alongside the server settings so it survives later upgrades. The step is done when a test client on a restricted network either connects directly or connects through the TURN relay.

  4. Store the server URL and shared secret in Moodle

    A Moodle administrator enters the BigBlueButton server URL and the shared secret in the BigBlueButton activity settings in Moodle. The shared secret signs every API call, so limit who can view it, keep it out of any web page, and rotate it through a documented change if it is exposed. Confirm the Moodle server can reach the BigBlueButton API over HTTPS, and confirm which checksum algorithm the server expects, since SHA-256 is the default. The step is done when Moodle reports a successful connection to the server.

  5. Run a test session as an administrator

    An administrator account creates a test BigBlueButton activity in a sandbox course and starts a session. The administrator checks audio, video, screen sharing, the shared whiteboard, chat and breakout rooms, and confirms that the session appears on the server. Review the server logs for API errors at the same time. The step is done when the administrator can join, speak, share the screen and end the session without errors, and the logs show no failed API calls.

  6. Test a student join from a separate network

    A student account in the test course joins the same session from a device on a different network, such as a mobile connection or a home line, to confirm that the media ports and any TURN relay work for outside users. The tester checks that the student can hear and be heard, sees the slides, and is placed in the correct role. The step is done when the student join succeeds from the external network and the tester records the browser and device combinations that were checked.

  7. Enable recording, roles and grading inputs

    The Moodle administrator and course designers decide which recording, participant role and attendance or grading settings each course needs, then configure them in the activity and the site settings. Recording needs storage sized for the expected volume: the install documentation lists 500 GB of disk with recording and 50 GB without. Confirm who can view and delete recordings, and check that attendance data appears where the course expects it. The step is done when a test recording plays back for the teacher, the student role can see only what it should, and attendance or grades reach the test gradebook.

  8. Document the configuration and set a monitoring plan

    The operations owner writes down the server settings, hostnames, port list, TURN details, checksum choice and recording retention, and sets up monitoring for disk space, CPU, service health and certificate expiry. The team also agrees who receives alerts and who approves a server update, since BigBlueButton 3.0 maintenance releases and 4.0 releases ship separately. The step is done when the runbook is stored with the infrastructure documentation and an alert fires correctly in a deliberate test.

How Moodle roles and course data map to BigBlueButton sessions

This table compares each Moodle role and data element with what BigBlueButton receives, and marks whether the core activity handles the mapping or custom configuration is needed. Confirm each row against the Moodle version and BigBlueButton plugin release you run, because the mapping can change between releases.

Moodle elementWhat BigBlueButton receivesSet by core or custom workWhat to confirm
Teacher or editing teacher in course contextModerator permission for the meeting, with the ability to start, end and manage the roomCore activity, through the course capability for joining as moderatorWhich roles hold the moderator capability in your course categories and whether custom roles inherit it
Student in course contextViewer permission, with standard participation such as audio, chat and sharing where the room allows itCore activity, through the course capability for joining as viewerWhich viewer features are enabled by default in the activity settings and at the server
Guest or non-enrolled userAccess only if the activity or guest route allows it, typically without a moderator roleCore activity governs join access; any guest flow needs reviewWhether guest access is permitted at all for recordings and for the activity you deploy
Course and activity identifiersA meeting ID derived from the activity instance, passed to the server on create and join callsCore activity generates the identifier; the format is not a business identifierHow meeting IDs appear in server logs and whether they can be linked back to a course
User name and profile fieldsParticipant display name shown in the room, chat and attendance recordsCore uses the Moodle user name; using other profile fields needs custom configurationWhether your naming policy requires full names and how display names appear in recordings
Session join and leave eventsParticipant events recorded by the server, returned to Moodle through the integration for reportingPartly core; attendance-style reporting usually needs custom configuration or a supported pluginWhich events reach Moodle logs and which remain only in server logs
Recordings and playbackRecording files tied to the meeting ID and made available in the activityCore activity handles listing; retention and access rules need your own configurationWho can view recordings, how long they are kept and where the server stores them
Grading and attendance recordsSession participation data, if your reporting design passes it onwardCustom configuration; core does not turn session presence into gradebook entriesWhether your institution accepts participation data as attendance evidence

Choosing between the Moodle activity, Greenlight and LTI front ends

This option suits teams whose classes run entirely inside Moodle courses. Teachers add a BigBlueButton activity to a course, and students join from the course page, so Moodle's own enrolment and roles decide who can enter a room. Your identity work is mostly the sign-in method already set up for Moodle, and the BigBlueButton server only has to accept calls from the Moodle site.

  • Server work: the BigBlueButton server is installed and the Moodle site is configured with the server URL and the shared secret used for API checksums.
  • Identity work: no second sign-in path is needed, since users arrive through Moodle's authentication.
  • Operating cost: one application to upgrade and monitor, with the Moodle and BigBlueButton versions tracked together.
  • Limit to confirm: check that the recording, attendance and grading behavior you need is available from the activity in the Moodle version you run.
  • Secret handling: keep the shared secret out of any web page, as the API documentation warns.

Before choosing this path, confirm that no staff or external guests need rooms outside a course, because the activity alone will not give them one.

Recordings, attendance and grading: what to plan for

The first decision for this section is who owns recording storage. BigBlueButton 4.0 recommends 500 GB of disk for recordings on a server that also records, compared with 50 GB without recording, so recordings are the largest storage consumer on the server and grow with every class session, not just once at installation. Before go-live, name an owner for the recording volume, decide where it lives (the same disk as the server, a separate volume or a storage backend you already operate), and set a written retention period and deletion rule. Confirm with your records and privacy teams how long recordings may be kept, whether they count as student education records in your jurisdiction, and whether deletion must also reach any copies. Without these rules, the 500 GB figure becomes an outage risk within a term.

Attendance and grading depend on two separate sources of data, and you should map them before promising anything to teachers. BigBlueButton reports session events such as joins, leaves and activity, while Moodle stores the activity record, enrolments and grades. Whether Moodle's BigBlueButton activity can turn those events into attendance records or grades depends on the Moodle version you install, so check the activity settings and the release notes for your exact version rather than relying on a general description. Confirm with the vendor which session data is passed back, how long it is retained on the BigBlueButton server and whether it can be exported for audit.

Recordings also raise questions of visibility that teachers and students will ask about first. Write guidance that states who can view a recording (enrolled users, teachers only or a wider audience), whether students may be recorded when they turn on their camera or microphone, how long recordings stay available and who to contact to request removal. Set the access rules in Moodle's activity and course settings so the written guidance matches what the system enforces, and test them with a student account and a teacher account before the first live class. Treat this guidance as part of the rollout, not an afterthought, because it is the document a privacy or accessibility reviewer will ask to see.

Securing shared secrets, ports and recordings

Moodle's BigBlueButton activity talks to your server through an API secret, a set of network ports and a store of recordings that can hold student speech and video. The four controls below cover those three surfaces, and each one is easier to set during the build than to retrofit after classes have started.

Keep the shared secret out of pages

The BigBlueButton shared secret signs every API call, so anyone who reads it can create or end meetings on your server. Store it only in Moodle's BigBlueButton settings and limit who holds the administrator role, since site administrators and anyone with equivalent capabilities can view those settings. Check that no theme, custom block or template prints the secret into page source, and treat any copy found in a ticket or screenshot as a reason to rotate it. The secret must never appear in a web page.

BigBlueButton API docs

Use SHA-256 checksums by default

BigBlueButton API calls carry a checksum computed from the call and the shared secret. SHA-256 is the default, SHA-1 exists for legacy use, and SHA-384 or SHA-512 are available since version 2.5. Confirm which algorithm your Moodle plugin version and your BigBlueButton server both use, because a mismatch causes failed joins, and avoid SHA-1 unless an older integration cannot be upgraded. Check the checksum behavior against the version you actually run, since the API documentation is the authority for each release.

Restrict ports to what is required

A BigBlueButton server needs TCP 80 and 443 reachable, plus UDP 16384 to 32768 for media. Open those ports to the networks that need them and close everything else at the firewall and cloud security group. Confirm that administrative access such as SSH is limited to management addresses, not the public internet. If you add a TURN server for users behind restrictive firewalls, scope its ports separately and document them so the firewall rules match the deployment as it changes.

Set recording access and retention

Recordings capture student speech, video and chat, so they carry personal data. Decide who can view a recording in Moodle, whether students can see recordings of sessions they attended, and which role can delete them. Set a retention rule that matches your policy, then confirm the Moodle recording setting and the server cleanup behavior both enforce it, because deleting in one place may leave copies in the other. Ask your privacy office to sign off before the first live class.

Recording disk, server minimum
500 GB

Common failures in Moodle BigBlueButton integration and how to fix them

This table pairs each common failure in a Moodle and BigBlueButton setup with its likely cause and the configuration step that fixes it. Read it by symptom: find what users or administrators see, then check the named setting before changing anything else. Most failures trace back to the server URL, the shared secret, open network ports, or the server's disk and conversion tools.

SymptomLikely causeFix
Meetings do not start from MoodleThe server URL or shared secret in the Moodle BigBlueButton activity settings does not match the BigBlueButton serverCopy the server URL and secret again from the server, confirm the URL includes the correct hostname and path, and save the settings before testing a new meeting
API calls fail with a checksum errorThe shared secret differs between Moodle and the server, or the checksum algorithm is mismatched with the server versionConfirm the secret on both sides, then check the server's checksum settings against the version you run; the API docs describe SHA-256 as the default
Users connect but hear no audioUDP ports 16384 to 32768 are blocked by a firewall, security group or NAT ruleOpen UDP 16384 to 32768 on the server's network path, then test from a user network outside the office
Users connect but see no videoThe same UDP media range is blocked, or upstream bandwidth falls short of the server's stated requirementOpen the UDP range first, then check the server's symmetrical bandwidth against the 250 Mbit/s figure in the install docs
Users behind strict firewalls cannot joinCorporate or school firewalls allow only web traffic, so WebRTC media cannot reach the server directlyDeploy a TURN server on the BigBlueButton stack and confirm it is reachable from the restricted networks used by your learners
Browser shows SSL or certificate errorsThe server lacks a valid hostname that matches the certificate, or the certificate does not cover the name Moodle callsSet a valid public hostname on the server, issue a certificate for it, and use that exact hostname in the Moodle server URL
Slides do not convert or stay blankDocker or the sandboxed LibreOffice conversion is missing or not running on the serverConfirm Docker is installed and running, check the conversion service logs, then upload the presentation again
Recordings are missing after a sessionDisk space is short for recordings, or processing and publishing jobs have stalledCheck free disk against the 500 GB recording figure in the install docs, clear space, and review the processing logs for failed jobs
Recordings never appear in MoodleRecording is disabled in the activity settings, or the recording did not finish processing before the checkConfirm recording is enabled in the activity and on the server, then wait for processing to complete before checking the activity

Testing class video before students join

Test the class from the places students will actually join it. A sound session on a lab network proves little. Run the first test with a teacher on one network and a student on a separate network, such as a home connection or a different office, both using the Moodle BigBlueButton activity launched from the course page rather than a direct link to the BigBlueButton server. Check that the join flow works for each role, that the teacher can see the student's camera and microphone state, and that the student's audio reaches the teacher without echo. Repeat the test with the teacher and student on the same shared classroom device, where feedback loops and duplicate microphones are the usual failure. Then join from a phone on mobile data, since that path depends on the TURN server and on the UDP port range from the install requirements being reachable from outside your firewall, not on your campus network.

Next, test the features your courses rely on. Start a full recording, let it run for several minutes with audio, screen share and slides, stop it, and then open the recording from the Moodle activity as a student would. Confirm that playback carries audio, annotations and chat, and check where the recording is stored on the server, because the 500 GB recording allowance in the install requirements is only meaningful if recordings are kept on the disk you sized. If courses use breakout rooms or polling, run both with a teacher and at least two students, and confirm that breakout rooms return participants to the main room and that poll results reach the teacher.

Finally, run a load check at the largest class size the server will host, and treat it as a measurement, not an assumption. Use simulated or volunteer participants with video enabled, watch CPU, memory, swap and bandwidth on the server during the session, and record whether audio or video degrades. The results depend entirely on the server sizing you choose and on the number of concurrent sessions, so ask your implementation partner to document the measured limits and repeat the test after any hardware or version change.

Questions buyers ask before hiring help with Moodle and BigBlueButton

Can our in-house team integrate BigBlueButton with Moodle themselves?

Yes, if the team has Linux server administration, networking and Moodle administration skills. The work is a server installation, DNS and certificate setup, firewall rules, a Moodle configuration and testing with real course users. The main risk is not the first install but the ongoing work: keeping the server current, watching capacity during busy class periods and repeating the checks after each Moodle and BigBlueButton release. Confirm that at least one named person can own the server before you decide to build it in-house.

What drives the effort and cost of this integration?

The main drivers are the number of servers, the network path and the testing scope. A 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 symmetrical bandwidth, so sizing and any extra servers add work. Firewall and network reachability work grows with the number of campus networks and restrictive firewalls, and a TURN server may be needed. Recording policy changes storage from 50 GB to 500 GB of disk per server, and the number of front ends, such as Greenlight or LTI, and the depth of testing also change the price. Ask for each of these as a separate line in a written quote.

What do we need to provide before the work starts?

You need to provide the following before the work starts:

  • Administrative access to the Moodle site and to the server environment where BigBlueButton will run, or a clear hand-off process
  • DNS records for a valid hostname that SSL certificates can be issued against
  • Certificate decisions and a place to store them
  • Network rules that allow TCP ports 80 and 443 and UDP ports 16384 to 32768, along with the firewall owner's approval
  • A test group of teachers and students who can join sessions during testing
  • Decisions on recording retention, who may view recordings and how long they are kept
How long does the integration take?

The duration depends on the scope and on your environment, including how quickly server access, DNS and firewall changes are approved. Ask for a written plan that breaks the work into server build, Moodle configuration, network testing, user acceptance testing and handover, with a named owner and date for each stage. Use that plan to check progress, and ask the provider to state which of your dependencies, such as firewall changes, could move the dates.

Will the integration keep working after Moodle and BigBlueButton upgrades?

It will keep working only if someone owns the upgrade path. BigBlueButton 4.0 does not support direct upgrades from 2.6, 2.7 or 3.0, so a clean server installation is recommended, which means moving users and recordings across rather than upgrading in place. Moodle major releases also change server requirements, so check the Moodle version against the Moodle release notes each time. Assign a maintenance owner, schedule a version check after each Moodle and BigBlueButton release and retest joining, recording and grading after each change.

What does a quote for this work depend on?

A quote depends on a written scope, not a price list. DeployOpen does not publish prices, so the scope document should state the number of BigBlueButton servers, the Moodle version and hosting, the network and firewall work, the front ends to be configured, the recording and retention policy, the grading and attendance requirements and the testing expected before go-live. Anything left out of the scope is a likely source of later change requests, so ask for each assumption and exclusion to be written down.

Does keeping class video on our own servers affect our data protection obligations?

Yes. Running BigBlueButton on your own infrastructure means session audio, video, chat and recordings stay where you place them, but it also makes you responsible for their storage, access and deletion. Confirm where recordings are stored, who can access them through Moodle and the server, how long they are kept and how deletion is carried out. Your compliance or legal team should set these rules before the server is built, and DeployOpen can prepare the configuration and evidence for review, although it does not issue audit reports or certifications.

How DeployOpen works on this

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure. For Moodle and BigBlueButton integration, that means agreeing the scope in writing first, building the BigBlueButton server and Moodle activity in your environment, and handing over documented operations. Engagements are typically fixed-scope, and ongoing support is available as a retainer.

How we scope

  • Written scope that names the Moodle version, the BigBlueButton 4.0 server count and the courses that will use live classes
  • Server sizing review against your expected concurrent classes, recording retention and your bandwidth
  • Confirmation of network prerequisites: ports, hostname for SSL, TURN server need and firewall rules
  • Agreed decisions on recordings, attendance and grading use, and which staff roles administer the integration

How we build

  • Clean BigBlueButton 4.0 server installation on Ubuntu 24.04 64-bit in your cloud account, data center or private network
  • Configuration of the Moodle BigBlueButton activity, server secret handling and recording behavior
  • Testing of joins across restrictive networks, breakout rooms, recordings, attendance and grade sync before go-live
  • Verification that class video and recordings stay inside infrastructure you control

How we hand over

  • Written runbook covering server configuration, certificate renewal, shared secret rotation and capacity limits
  • Documented test scripts and results so your team can repeat checks after upgrades
  • Operating notes for Moodle upgrade compatibility and BigBlueButton maintenance releases
  • Knowledge transfer sessions with the administrators who will run the platform day to day

How we support

  • Optional retainer for patching, BigBlueButton upgrades and monitoring of the server and recordings storage
  • Retesting after each Moodle minor release or BigBlueButton version change before rollout to courses
  • Capacity reviews when enrolments or concurrent class numbers grow, with hardware changes agreed in writing
  • Ongoing advice on keeping recordings, attendance data and logs within your retention policy

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.