Moving a Scalelite cluster to multitenancy

A single-tenant Scalelite cluster can serve several organizations once you enable multitenancy, give each tenant its own subdomain and secret, and assign existing recordings before repointing each front end. Recording ownership and front-end cutover usually drive most of the effort.

On this page

Scalelite multitenancy move: what changes and what stays the same

Moving a Scalelite cluster to multitenancy changes how an existing cluster is owned and configured. The move changes tenancy, secrets, recording ownership and front-end settings on a cluster that already runs, so it is not a new platform. Your starting point is one cluster built for one organization that now has to serve several organizations, each with its own front end, its own users and its own archive of recordings. The effort is set by three factors: the number of tenants you create, the number of front ends that must be pointed at the cluster with the right tenant settings, and the number of existing recordings that must be assigned to the tenant that owns them. Each factor adds work, and recording assignment is the one most likely to hide surprises, because every archive has to land with the correct owner before anyone relies on it.

What changes is mostly configuration and ownership. Each tenant needs its own subdomain and its own shared secret, and each front end must sign its API calls with the secret for its tenant. BigBlueButton checks every API call against a checksum computed with the shared secret, so a front end that still signs with an old value will have its calls rejected. The API documentation warns never to embed the secret in a web page, which matters when you update front ends that run in browsers. What stays the same is the platform underneath: the BigBlueButton servers, the Scalelite load balancer, the PostgreSQL database, the Redis cache and the NFS volume that holds recordings. Confirm with your team which of these the move touches before you change anything.

Plan the work as an inventory before you change any setting. List every tenant, every front end (Greenlight, an LTI integration or a custom application) and every recording or group of recordings that needs an owner, then mark which steps need a restart and which need only a configuration change. Confirm those steps in the Scalelite documentation for your version, because the sequence can differ between releases. Test the new tenant with one front end and a few recordings in a non-production copy of the cluster, then cut over each front end in turn so that a failed change affects one organization at a time. Keep a written record of the previous settings until each front end is confirmed, and record who owns each recording so support staff can answer tenant questions later.

Which single-tenant Scalelite settings carry over to a multitenant layout

This table compares each single-tenant Scalelite setting with its multitenant counterpart and notes what carries over, what must be created or reassigned, and what to confirm in the Scalelite documentation. Read each row as a checklist before you change any front end. The main takeaway is that the server pool and each front end's own users and rooms usually stay in place, while hostnames, secrets, DNS, certificates and recording assignments are where the cutover work happens.

Single-tenant itemMultitenant equivalentMigration notes
BigBlueButton server poolSame servers, shared across tenants through the clusterServers carry over unchanged. Confirm in the Scalelite docs how tenants are limited to chosen pool members.
Shared secret used by the front endOne secret per tenant, issued to that tenant's front endKeep the existing front end working until the tenant setup is confirmed. Never place a secret in a web page.
Existing hostnameBecomes one tenant subdomain under the cluster domainCreate the DNS record and SSL certificate for the subdomain first. BigBlueButton needs a valid hostname for SSL.
Recordings on the NFS shared volumeSame volume, with recordings assigned to the tenant that owns the meetingConfirm in the Scalelite docs whether existing recordings need reassignment before the front end switches.
PostgreSQL and Redis stateSame databases, with tenant records addedBack up both before enabling multitenancy. Confirm the schema changes and rollback steps in the docs.
Users and rooms inside each front endStay in each front end's own database and are not mergedVerify room links after the new subdomain is live. Test one room per tenant before moving users.
Front end server URL and secretPoint at the tenant subdomain and that tenant's secretUpdate the URL and secret together in each front end, then test a meeting create and join.

Documented interfaces for tenant setup, secrets and recordings

Each card points to one documented path you will use during the move. Together they cover how Scalelite routes tenants, how front ends sign API calls, how users sign in, how a front end shares a server, and where recordings sit. Check each one against the version you deploy before you change production.

Scalelite tenancy and load balancer setup

The Scalelite repository and its setup documentation describe how tenancy and load balancer configuration are set up, including how the pool of BigBlueButton servers is registered. Scalelite sends each meeting to the least loaded server and depends on PostgreSQL, Redis and an NFS shared volume, so confirm those components are in your plan before you change any tenant settings. Compare each step against the release you deploy, because setup steps change between versions.

Scalelite repository

BigBlueButton API checksum rules

Every BigBlueButton API call must carry a checksum computed with a secret shared with the server. The docs use SHA-256 by default, keep SHA-1 for legacy use, and allow SHA-384 or SHA-512 since version 2.5. Plan a separate secret for each tenant and confirm which algorithm each front end sends, because a mismatch causes calls to fail. The docs warn never to embed the shared secret in a web page, so keep it in server-side configuration only.

BigBlueButton API docs

Greenlight v3 OpenID Connect sign-in

Greenlight v3 supports external authentication through OpenID Connect, configured with environment variables. The docs suggest Keycloak as the broker, so you can add Google, Microsoft, SAML and other login methods behind one configuration. Decide whether each tenant's front end uses its own identity client or shares one, and confirm the redirect URIs for each tenant subdomain before you test sign-in.

Greenlight external auth docs

Installing front ends with bbb-install.sh

The bbb-install.sh script can install BigBlueButton together with the Greenlight front end or LTI support on the same server. Use it only where a front end must share a host with a media server. The install docs list the RAM, disk, bandwidth, port and hostname requirements for BigBlueButton 4.0, and a clean server installation is recommended because direct upgrades from 2.6, 2.7 or 3.0 are not supported.

Install docs

Recording directories on the shared volume

In a Scalelite cluster, recordings live on an NFS shared volume that the server pool shares. Before you assign existing recordings to a tenant, inventory the recording directories on that volume, back them up, and record their ownership and permissions. Confirm in the Scalelite repository whether it provides a command for assigning existing recordings to a tenant. If it does not, assignment is a documented configuration and file task, so test it on a copy of one recording first.

How tenant front ends reach one Scalelite pool

The diagram starts at two tenant front ends, an LMS integration and a Greenlight v3 instance, each calling Scalelite through its own tenant subdomain and secret. Every API call carries a checksum computed from that secret, so the secret is used only on the server side inside the trust boundary and never appears in a web page or client code. Scalelite sends each meeting to the least loaded BigBlueButton server in the pool, keeps meeting state in PostgreSQL and Redis, and writes recordings from every server to the shared NFS volume. Check that each front end uses its own subdomain and secret, and that the browser receives only the join link.

Each tenant calls Scalelite with its own secret; the secret stays server side.

Tenant secrets and front ends: what changes for each one

An LMS integration keeps its BigBlueButton connection in its own administration settings, so cutover means changing the values the LMS sends with each meeting request. The LMS is usually the only system that holds the tenant secret in its configuration, which makes it the place where the secret is most often copied by mistake. Plan the change for each course or activity group that uses the tenant, then test one meeting from each before you move the rest.

  • Secret: Replace the shared secret in the BigBlueButton settings of the LMS with the secret issued for the tenant. Do not reuse the value from the previous single-tenant setup.
  • Server URL: Point the configured server address at the tenant subdomain on the cluster, so requests reach the right tenant.
  • Hostname: Check that the LMS address and the tenant hostname your users see match what the certificate and any callback URLs expect.
  • Login method: Users keep signing in to the LMS, so confirm whether the activity's role mapping or launch settings change after the switch.
  • Secret exposure: Keep the secret out of course content, activity descriptions, exported course backups, and LMS logs.

Confirm the exact setting names and their location in the Moodle and BigBlueButton plugin documentation for your version before you edit anything.

How a Scalelite multitenancy move runs in parallel, then cuts over

This sequence moves a single-tenant Scalelite cluster to serve several organizations without taking the original front end offline. Each step has a named owner and a check that must pass before the next one starts, so every cutover decision can be reversed.

  1. Inventory tenants, front ends, recordings and secrets

    Your operations lead and a DeployOpen engineer list every organization that will become a tenant, the front end each one uses, and where its recordings sit on the shared volume. Record which front end holds each shared secret, which API calls it makes, and which recordings belong to which organization. The step closes when your operations lead signs off on the inventory and every existing recording is mapped to exactly one tenant.

  2. Pilot one tenant on a test subdomain

    Pick one low-risk organization and create its tenant on a test subdomain that resolves only to the new setup. A DeployOpen engineer points a copy of its front end at that subdomain, then your team books a test room, joins it from a browser, and plays back a recording that was assigned to the tenant. The step closes when the test room, the join flow and the recording playback all work and your operations lead signs off on the results.

  3. Run the new tenant set up in parallel

    Build the remaining tenants alongside the live single-tenant front end, which keeps serving users throughout. Each tenant gets its own subdomain, its own shared secret and its assigned recordings, while the original front end and its secret stay unchanged until cutover. DeployOpen tests that no tenant can list or open another tenant's rooms or recordings. The step closes when that isolation test and a full meeting join pass for every tenant in the inventory.

  4. Cut over tenant by tenant with rollback

    Move each organization's front end to its tenant subdomain one at a time, starting with the pilot. Keep the previous front end configuration and its shared secret available so that any tenant can return to the single-tenant setup if a join or playback check fails. Schedule each switch around that organization's teaching or meeting calendar. The step closes for each tenant only after a live class or meeting has run end to end on the new subdomain and your operations lead has signed off.

  5. Retire old secrets and single-tenant configuration

    Once every recording is confirmed to play back from its tenant, remove the old shared secret, the single-tenant front end configuration and any DNS or proxy entries that still point at the original setup. Confirm first that nothing still calls the retired secret by checking front end logs and API traffic for the old checksum. The step closes when your operations lead has a written record of each tenant's final playback check and the cluster no longer accepts the old secret.

What drives the cost and duration of a Scalelite multitenancy move

This table lists the drivers that change the effort and calendar of converting a single-tenant Scalelite cluster to multitenancy, with the item to request in a written quote for each. Read the driver column first, then check which conditions apply to your cluster. The largest swing often comes from a BigBlueButton 3.0 pool that needs a clean 4.0 install, which is separate work from the tenancy changes.

DriverWhy it changes effortWhat to ask for in a quote
Tenants and front ends (one-time)Each tenant needs its own subdomain, secret and front end configuration, so effort grows with every organization added.Number of tenants, front ends per tenant, and which ones (Moodle, Greenlight, API clients) must be re-pointed.
Recordings on the shared volume (one-time)Recordings must be assigned to the right tenant on the NFS volume, and their count and size drive checking time.Recording count and total size, how each recording maps to a tenant, and playback checks after assignment.
BigBlueButton 3.0 pool needing a 4.0 install (one-time)Direct upgrades from 2.6, 2.7 or 3.0 to 4.0 are not supported, so each server needs a clean Ubuntu 24.04 install.Whether the quote covers rebuilding each server and reconnecting it to Scalelite, and who tests each rebuilt server.
Identity changes such as OpenID Connect or Keycloak (one-time)Greenlight v3 external authentication uses OpenID Connect set through environment variables, and a Keycloak setup adds login methods to configure and test.Identity provider chosen, whether tenants share one client or get their own, and who configures and tests sign-in.
Tenant branding and integrations (one-time, then upkeep)Each tenant's theme, LMS connection and API consumers are configured separately and must be checked after every change.Number of branded front ends, LMS integrations per tenant, and the list of API clients that hold a secret.
Length of the parallel run (one-time)Old and new routing run side by side until each tenant's rooms and recordings are verified, so run length sets how long two paths are supported.Planned parallel run length in writing, sign-off steps per tenant, and the rollback procedure.
DNS and SSL certificates (recurring)Each tenant subdomain needs a DNS record and a valid certificate, and renewals repeat for the life of the cluster.Who holds the DNS zone and certificate accounts, who renews certificates, and whether renewal monitoring is included.
Secret rotation (recurring)A rotated secret must reach Scalelite, every front end and every API client in the same window, or API checksum calls fail.Rotation procedure, who performs it, the schedule, and whether a retainer covers rotations after handover.

What usually goes wrong in a Scalelite multitenancy move

The six failures below cluster around recording ownership, secrets and hostnames, and change control. Each card pairs one failure with the check that prevents it, so you can turn the list directly into a cutover checklist before the first tenant goes live.

Recordings visible to the wrong tenant

After existing recordings are assigned to a tenant, a recording can still appear in another organization's list if the assignment missed it or was applied to the wrong tenant. Recordings made during the migration window are easy to miss. Before cutover, sign in to each front end as a test user from each tenant and confirm that every listed recording belongs to that tenant. Search for a sample meeting ID from each organization in the other tenants' lists. Treat any leak as a stop condition.

Shared secret exposed in page code

The Scalelite secret signs every API call, so anyone who holds it can make calls that the cluster accepts as coming from your front end. Front-end code, page source and cached JavaScript are common places for it to leak, often through a debug page or a copied configuration snippet. Keep the secret in server-side configuration only. After each front-end deploy, search the served HTML and bundled scripts for the secret string. If it appears anywhere a visitor can read, replace the secret and update every front end.

BigBlueButton API docs

Tenant subdomain without DNS or certificate

Each tenant's subdomain must resolve to the cluster's entry point and present a certificate that names that exact hostname. A missing DNS record, or a certificate that covers only the base domain, usually fails before any API call, so the tenant's front end appears broken. BigBlueButton needs a valid hostname for SSL, and the same applies to each tenant name you add. Create records and certificates before editing any front end. Then test each hostname from outside your network over HTTPS and check the certificate chain and expiry date.

Front end keeps the old secret

During cutover, one front end can keep sending calls with the old secret after the cluster has moved to the new one. Its create and join requests then fail checksum checks while other front ends still work, which makes the fault look intermittent. Write a cutover list with each front end, its owner and its change time. Change them in one window, then create and join a test meeting from every front end before any user returns. Confirm with your Scalelite version whether the old secret can be disabled immediately or must be kept for a period.

Recording files with wrong ownership

Scalelite keeps recordings on a shared NFS volume that every BigBlueButton server reads. Files copied with the wrong owner, or directories moved without their metadata, can leave a recording listed but unplayable. Compare file counts and sizes for each recording directory against the source, and check that ownership and permissions match what the BigBlueButton servers expect. Then play back one recording from each tenant on each server, since a server with a broken mount can fail on only some recordings. Keep the source copy until all tests pass.

Scalelite repository

Upgrade mixed into tenancy change

Changing BigBlueButton versions in the same window as the tenancy change means a failure has two possible causes, and a rollback of one undoes the other. The 4.0 release installs on Ubuntu 24.04 and does not support direct upgrades from 2.6, 2.7 or 3.0, so the version move is a clean server build that needs its own plan. Finish and test the tenancy change on your current version first. Then plan the upgrade as its own project with its own test window and rollback plan.

Install docs

What buyers ask before moving Scalelite to multitenancy

What drives the cost of converting a Scalelite cluster to serve several organizations?

The cost follows the written scope, and four things drive it most: the number of tenants, the number of front ends that must change, the volume of existing recordings that need assigning and checking, and how well the current cluster is documented. Each tenant adds a subdomain, a secret, a front end update and a playback test, so the work grows with every organization added. Ask the quote to separate one-time work, such as the multitenancy setup and migration testing, from recurring work, such as ongoing support, upgrades and continuous testing, which DeployOpen offers as retainers. Ask the quote to name what it covers, including DNS changes, Scalelite hosts, front ends, recordings and cutover support. DeployOpen does not publish a price list, and a quote follows from the written scope.

How long does converting a Scalelite cluster take?

The duration depends on the number of tenants, the number of recordings and the number of front ends, so no fixed duration applies until the scope is known. Each tenant needs its subdomain set up, its secret issued, its front end updated and a playback test completed, and recordings need to be assigned and checked before they are trusted. Ask for a written plan that lists the tenants in order, the front ends to change, the recording assignment steps, the test steps and the cutover window. The plan should also state its dependencies, such as DNS changes that need a change window and access to each front end host. Fixed-scope engagements agree deliverables and timelines in writing before work starts, so ask how the plan changes if a tenant fails testing.

What does our team need to provide for the conversion?

Your team needs to provide access to three things: DNS, so tenant subdomains can be created and changed; the Scalelite hosts, so configuration and secrets can be updated; and each front end, such as Moodle or Greenlight, so its connection to Scalelite can be switched. Each tenant also needs a named owner on your side who can approve its cutover, confirm which users and courses belong to it and sign off on playback tests. Without these owners, testing stalls because no one can confirm which recordings or rooms belong to which organization. Agree on change windows and an escalation contact before work starts, and confirm who holds the administrator credentials for each front end.

Can our own team convert a Scalelite cluster without outside help?

Yes, an internal team can do the conversion alone if it can work through the Scalelite and BigBlueButton documentation and test each tenant before it goes live. The same drivers apply: the number of tenants, the front ends, the recordings and the testing effort. Before deciding, confirm that someone on the team can edit the Scalelite configuration, manage the PostgreSQL, Redis and NFS components that Scalelite relies on, and run a playback test for every tenant. The team should also be able to schedule work in change windows without disrupting classes. A partner makes more sense when those skills are thin or when the internal team has no room in its schedule for careful testing. The Scalelite repository is the natural starting point for the internal review.

Does cutover interrupt live classes during a Scalelite conversion?

Cutover can interrupt live classes if it happens during a session, so schedule it outside class times and confirm the window with every tenant owner before work starts. Check which meetings are running at the planned time, since a window that is quiet for one organization may be a teaching period for another. Ask the provider to list, in the written plan, which steps touch the live cluster, how long each step is expected to take and what the rollback looks like if a front end does not connect. Confirm with the Scalelite documentation how running meetings behave during a configuration change, and do not assume the answer. Run a test meeting on each tenant after cutover and before classes resume in that tenant.

What happens to recordings already on a Scalelite cluster after conversion?

Recordings already made stay on the shared NFS volume, so the conversion has to assign each one to the correct tenant and then check that it plays back. Ask who makes the assignments, which tenant owner signs off on them and how recordings with missing or unclear ownership are handled. Confirm that the shared volume has enough free space and permissions for the new layout, and that retention rules can be applied per tenant. Test playback from the front end that learners use, not only from the server, because a file that exists can still fail to play in the interface. Ask for a sample playback check from each tenant in the written plan, and keep a record of which recordings were checked and by whom.

How DeployOpen scopes and delivers a multitenancy move

DeployOpen plans and delivers the move of a single-tenant Scalelite cluster to multitenancy inside infrastructure you control. The work covers enabling tenants, tenant subdomains and secrets, assigning existing recordings to the right organization, and updating each front end that connects to the cluster.

How we scope

  • The written scope names each organization moving onto the cluster and every front end that connects to it.
  • Existing recordings and the tenant each one belongs to are inventoried before any cluster change is made.
  • DeployOpen does not publish a price list, so the quote follows from the written scope.

How we build

  • Enable multitenancy, then create the tenant subdomains and the shared secret each front end uses for API checksums.
  • Assign existing recordings to their tenant in a staging copy first, then check playback and access for each organization.
  • Update each front end, such as Moodle or Greenlight, to point at its tenant subdomain and the new secret.

How we hand over

  • Written documentation of the tenant layout, secrets ownership, recording assignments and each front end's settings.
  • A test meeting per tenant, confirming recordings appear only under the correct organization.
  • A walkthrough with your operators on the cluster's tenant tasks, so your team can add the next organization.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainer scope for a multitenant cluster is agreed in writing, covering the Scalelite and BigBlueButton versions in use.
  • Ask how adding a new organization is handled after handover, including who creates its tenant and secret.

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.