Jitsi multi-region deployment with region-based bridge selection

Serving users in several regions from one Jitsi deployment depends on region-based bridge selection, matching region settings on every bridge and Prosody, and an ingress that tells Jitsi where each user is. This page explains how these parts fit and what to plan before you build.

On this page

When a multi-region Jitsi deployment makes sense

A multi-region Jitsi deployment makes sense when participants in several geographies share one Jitsi Meet instance but a single central pool of videobridges would place many of them far from the media path they need. Region-based bridge selection is the Jitsi mechanism that lets the conference focus choose a videobridge in the participant's own region instead of a random or central one. According to the Jitsi region-based setup guide, this is enabled by using RegionBasedBridgeSelectionStrategy in Jicofo, setting jicofo.local-region to identify the focus's home region, and setting videobridge.relay.region on each bridge so Jicofo knows where each bridge sits. Prosody also needs the jiconop, muc_meeting_id and jitsi_session modules enabled with a region_name.

Teams usually need this when latency between users and bridges is a measurable problem, when the organization has offices, schools or public service sites in distinct regions, or when data path decisions must match regional policy. A single central bridge pool is simpler to run and is often enough when most participants sit close together or when the user base is small. Before choosing, confirm with your network team the round-trip times from each region to candidate bridge locations, the cloud or data center placement you control, and whether your DNS routing can send users to a consistent entry point. Plan for the cost of extra bridges in each region, which recur as infrastructure spend, and for the operational effort of keeping configuration consistent across regions, which the Jitsi scalable setup guide recommends handling with configuration management tools such as Ansible or Puppet.

The region signal depends on your ingress. The Jitsi handbook assumes DNS routing from a cloud provider and an ingress that adds an X-Proxy-Region HTTP header, which Prosody adds to participant presence for Jicofo. If your ingress cannot set that header, region selection has no reliable input, so confirm this with your load balancer or reverse proxy team before any bridge work starts. Jitsi Meet is licensed under Apache 2.0, so the code is available without license fees, but the work of designing regions, ingress and bridges is a service or internal cost you should scope in writing. This topic covers a self-hosted setup in infrastructure you control, so the test plan should include participants from each region joining the same meeting and checking which bridge they land on.

Region configuration options and when each fits

This table compares each region setting, where it lives and what it controls, so you can see which ones a single-region deployment needs and which ones a multi-region pool depends on. Read it as a checklist: a setting that is missing from one layer usually shows up as users landing on bridges far from them. The main takeaway is that a single shared region value is often enough for one pool, while separate bridge pools need distinct values that match the region each bridge serves.

SettingWhere it is setWhat it controlsWhen it fits
RegionBasedBridgeSelectionStrategyJicofo configurationTells Jicofo to prefer bridges whose region matches the participant's region when it picks a bridgeAny deployment with more than one bridge pool serving different regions
jicofo.local-regionJicofo configurationNames the region Jicofo treats as its own, used when comparing against participant and bridge regionsSet on every deployment that uses region-based selection, even if only one region is served
videobridge.relay.regionEach videobridgeLabels the bridge with the region it serves so Jicofo can match it to participantsEach bridge needs a value; bridges in the same pool may share one, separate pools need their own
jiconop Prosody module with region_nameProsody configurationCarries region information for the conference operator side of the signaling pathRequired on the Prosody host when region-based selection is enabled, per the region setup guide
muc_meeting_id Prosody module with region_nameProsody configurationKeeps meeting identifiers and region values consistent across the conference rooms Prosody managesUse when several regions share one Prosody host and rooms must carry region context
jitsi_session Prosody module with region_nameProsody configurationRecords the region for each participant session so Jicofo can read it from presenceNeeded wherever participant presence must reach Jicofo with a region attached
X-Proxy-Region ingress headerIngress or load balancerSupplies the user's region to Prosody, which adds it to participant presenceRequired when users reach one deployment through regional DNS routing; confirm your cloud provider and proxy can set it
Default bridge selection behaviorJicofo default strategyWithout region-based selection, Jicofo does not use region values to choose bridges, so users may be placed on distant bridgesConfirm current default behavior in your release before assuming users are matched by region

How to configure region-based bridge selection

This sequence turns a working Jitsi deployment into one that places each participant on a videobridge in their own region, with a check at every step so you know the routing works before users depend on it.

  1. Confirm the base deployment is healthy

    Before touching region settings, confirm the web server, Prosody, Jicofo and at least two videobridges are running and that a test meeting works end to end on a single bridge. The base components are the web server serving the app, the Prosody XMPP server, Jicofo and the Jitsi Videobridge media routers. Check the required ports (80/TCP, 443/TCP and 10000/UDP) and a valid domain certificate, since self-signed certificates cause problems for audio and video. Done means a two-person test call connects with media flowing through a bridge.

  2. Set the region and strategy in Jicofo

    On the Jicofo side, enable RegionBasedBridgeSelectionStrategy and set jicofo.local-region to the region where this Jicofo instance runs. Confirm the exact file location and config syntax for your install method (Debian package or Docker) against the Jitsi handbook's region-based setup page, because the key paths differ between packages and containers. Restart Jicofo and check its logs for a clean startup with the new strategy loaded. Done means the log shows the region-based strategy is active and no configuration errors appear.

  3. Set a region on each videobridge

    On each videobridge, set videobridge.relay.region to the region that bridge serves, so Jicofo can match participants to bridges in their area. Use region names that match the names you configured for Jicofo and the ingress, since a mismatch silently routes users to a distant bridge. Restart each bridge and confirm it registers with Jicofo. Done means each bridge reports its region in its logs and appears in Jicofo's view of available bridges with the expected region label.

  4. Enable and configure the Prosody modules

    Enable the jiconop, muc_meeting_id and jitsi_session modules in Prosody and set region_name on the relevant virtual host so Prosody passes region information for each session. Check the module names and option placement against the handbook for your version, since these settings sit in the Prosody configuration rather than in Jicofo. Reload Prosody and confirm it starts without module load errors. Done means Prosody's log shows the modules loaded and the region name matches the value you set in Jicofo.

  5. Add the ingress header that identifies the user region

    Configure the ingress or reverse proxy in front of Jitsi to add the X-Proxy-Region HTTP header, which Prosody reads and adds to participant presence for Jicofo. The handbook assumes DNS routing from a cloud provider sends each user to the nearest ingress, so confirm that your DNS or load balancer setup supports this for your environment. Verify the header is set on requests reaching Prosody, for example by checking the proxy configuration and a test request, and confirm the value uses your region names. Done means the header is present and carries the expected region value for a test request from that region.

  6. Verify routing with test participants from each region

    Join test participants from each region you serve and confirm each one lands on a videobridge tagged with its own region. Check the Jicofo and bridge logs or your metrics to see which bridge each participant used, and confirm a participant with no matching local bridge falls back as you intended. Repeat the test with two participants in different regions in the same meeting to confirm cross-region media still flows through the relay. Done means every test participant is placed on the expected bridge and cross-region calls connect.

  7. Document the region map and monitor placement

    Record the region names, which bridges serve each region, the ingress configuration and the DNS routing rules in your runbook, so changes to any one of them are made together. Add monitoring that shows how many participants land on each bridge and alerts when a region has no healthy local bridge. Re-run the placement test after each Jitsi upgrade or bridge change, because configuration keys can change between releases. Done means the region map is documented and a placement check runs after every change.

How a user's region reaches Jicofo

The flow starts with a participant in a region whose DNS routing sends the request to a regional ingress. The ingress adds the X-Proxy-Region header, and Prosody copies that value into the participant's presence so Jicofo can read it. Jicofo then picks a videobridge tagged with the matching region. The dashed boundary separates the client network from the self-hosted components you operate, and you should check that the ingress sets the header on every path a participant can use.

Region data flows from the participant's request through the ingress and Prosody into Jicofo's bridge choice.

Trade-offs before you split bridges by region

Region-based bridge selection changes where media flows, what DNS and ingress must get right, and how much operating work you take on. The cards below cover the decisions to settle before you split bridges by region, and the checks to run against the Jitsi handbook's region-based setup and scalable setup guides.

Cross-region media paths and relays

Region-based selection puts each participant on a bridge in their own region, so a meeting with people in two regions can need traffic between bridges. The handbook's region setup relies on videobridge.relay.region on each bridge, so relay behavior depends on how those bridges reach each other. Confirm with the handbook which network paths must be open between regions, how many participants you expect to span regions in a typical meeting, and whether the bandwidth between sites is acceptable for media.

Region setup guide

DNS and cloud routing dependencies

The handbook assumes DNS routing from a cloud provider and an ingress that adds an X-Proxy-Region header, which Prosody adds to participant presence for Jicofo. If the header is missing or wrong, Jicofo cannot place users on the intended bridge. Before you commit, list every component that sets or strips that header, confirm how your DNS provider or load balancer routes users to a region, and test a request from each region end to end.

Operational cost of multiple bridge pools

Each region adds its own bridges, their configuration, monitoring, certificates and upgrades. The scalable setup guide says a scalable infrastructure is not a task for beginning administrators and recommends configuration management tools such as Ansible or Puppet. Ask a partner to quote the build of that automation as a one-time item, and the upkeep of each pool, patching and upgrades as recurring work your team or retainer covers.

Scalable setup guide

Behavior when a regional bridge fails

A bridge that is full or down can leave a region without capacity, and region-based selection does not automatically decide what happens next. Confirm with the handbook and your own tests whether Jicofo falls back to a bridge in another region, and under which conditions. Test a full-bridge case and a down-bridge case in each region, and record what participants see when placement fails.

One global deployment or regional ones

A single deployment with region-aware bridges keeps one set of Prosody, Jicofo, accounts and recordings, while separate regional deployments isolate data and failures but duplicate administration. The choice affects where meeting metadata and logs are stored, which matters for data residency reviews. Ask your compliance team which region each component may run in, then match the architecture to that answer before you split bridges.

Validation before go-live

Region settings are easy to get partly right, for example a bridge with a region set but a Prosody module left out. Build a test matrix with at least one test meeting per region, participants joining from each region, and a check of which bridge each participant lands on. Ask for this test plan in the written scope, and keep the results with your change records.

Why the X-Proxy-Region header decides placement

The X-Proxy-Region header is how a region-based Jitsi deployment learns where a participant is connecting from, and Jicofo uses that answer to choose a videobridge. The Jitsi handbook assumes an ingress in front of the deployment adds this header to requests, and Prosody copies it into the participant's presence so that Jicofo can read it. Without the header, Jicofo has no location signal to act on, so bridge selection falls back to its defaults and a user in one region may be placed on a bridge in another. Confirm in the Jitsi region-based setup documentation what the fallback behavior is for your Jicofo version before you rely on it.

The ingress is the component you control at the edge of the network, typically a cloud load balancer, a reverse proxy or an ingress controller that sits in front of the web server for each region. It should be the only path into the deployment, so that the header is set once, by a component you operate, on every request. If users can reach the web server or Prosody directly, or a proxy further out strips or rewrites headers, the region value can be missing or wrong. A client that sets its own X-Proxy-Region value could also pull users onto the wrong bridge, so the ingress should overwrite any incoming value rather than trust it. Ask your network team to document which hop sets the header and which hops can see it.

Test the path before any user depends on it. Send a request through each regional ingress to the public hostname, then check the presence data that Jicofo receives for a test participant, confirming that the region value matches the ingress that handled the request. Repeat the test from a client that sends a forged header to confirm the ingress replaces it. Then join a meeting from each region and check which bridge Jicofo selects. Record the results and repeat the test after any change to the load balancer, proxy rules or TLS termination, since those changes are the most common reasons the header disappears.

Security and operational risks of regional bridges

A region-aware Jitsi deployment adds trust decisions, certificate requirements and configuration sprawl on top of a single-region install. The cards below cover where each risk sits and what to check before routing live meetings across regions.

Trust in the region header

The handbook assumes an ingress that adds an X-Proxy-Region header, and Prosody copies it into participant presence for Jicofo. Jicofo then uses that value to pick a bridge. If clients can set or spoof this header, a user can steer their meeting toward a bridge in another region. Confirm that only your ingress can set the header, strip any value arriving from outside, and test that a forged header from a client does not change bridge selection.

Region setup docs

HTTPS with a proper certificate

The Jitsi handbook states that HTTPS with a proper domain certificate is necessary for working audio and video, and it warns that self-signed certificates cause problems, especially with mobile clients. Every regional entry point needs a valid certificate for the public domain, issued and renewed through a process your team controls. Check certificate expiry and chain on each region's ingress, since a failure in one region affects only the users routed there.

Media encryption and in-memory handling

According to the Jitsi security page, audio and video are encrypted on the network with DTLS-SRTP. The videobridge decrypts packets in memory while routing them and does not store them. In a multi-region setup, media from one region may pass through bridges in another, so confirm where each bridge runs, which jurisdiction applies, and whether that fits your data handling policy. End-to-end encryption is a separate feature with its own limits.

Jitsi security page

Configuration drift across regions

The scalable setup guide says videobridges scale by adding more and that the default install is already configured for horizontal scaling. It also warns that scalable infrastructure is not a task for beginning administrators and recommends configuration management tools such as Ansible or Puppet. Region settings live in several places: Jicofo, each bridge and Prosody. Manage them in version-controlled templates so a bridge in one region cannot quietly run with the wrong videobridge.relay.region value.

Scalable setup guide

Testing failover and fallback

When a regional bridge is unavailable or full, the selection behavior determines whether meetings fail or move to another region. Write down the expected outcome for each case and test it before go-live. Check that the regional ingress and region values still match after a node is replaced or upgraded, since a rebuilt bridge with a missing region setting can break routing silently.

Operational ownership and runbooks

Each region adds servers, certificates, DNS records and an ingress that someone must patch and monitor. Assign an owner for each region, document the header and region settings in one place, and keep a runbook for adding a region. Ask any implementation partner to name who maintains the ingress rules and configuration after handover.

Questions buyers ask before building multi-region Jitsi

What drives the effort and cost of a multi-region Jitsi build?

The main driver is how many regions you serve and how many bridges each one needs, because every region adds bridges, network paths, DNS routing and a set of Prosody and Jicofo settings that must agree. Cost has two parts: one-time design and build work (network layout, region naming, ingress header handling, testing across regions) and recurring operation of the extra servers. Ask any partner for a quote that lists each region, the bridges per region, the cloud or data center in each, and whether the ingress and DNS work is included. Compute and bandwidth bills are paid to your cloud or data center provider, not the implementation partner.

How long does a multi-region Jitsi deployment take to build?

Duration depends on scope rather than on a fixed rule: the number of regions, whether existing single-region infrastructure is reused, how mature your cloud automation is, and how much testing is required across regions. Build work usually runs in phases: design of regions and routing, a single-region baseline, bridge and Prosody configuration, then cross-region testing with real participants. Ask for a written schedule that ties each phase to a deliverable and to the client decisions it depends on, such as DNS ownership and firewall approvals. Your own change-approval process can add more time than the technical work.

What does the work need from our cloud and network teams?

The build depends on your cloud and network teams for several inputs: accounts and regions where bridges will run, DNS zones and the routing policy that sends users to a nearby entry point, load balancer or ingress placement, and firewall rules for 10000/UDP on every bridge and 443/TCP for the web entry point. Your team also needs to confirm how the ingress will add the X-Proxy-Region header that tells Jitsi where a user is. Plan time for security review of any new public endpoints, and confirm which team owns certificates, since working audio and video requires a proper domain certificate.

Can our internal team build multi-region Jitsi alone?

An experienced internal platform team can build it, provided it has skills in Jitsi, Prosody and Jicofo configuration, cloud networking, DNS and configuration management. The Jitsi scalable setup guide warns that building scalable infrastructure is not a task for beginning Jitsi administrators and recommends tools such as Ansible or Puppet. Be honest about gaps: region testing needs real users in each location, and failures often appear only under cross-region load. An outside partner can take the build, testing and documentation under a written scope, while your team keeps operational ownership.

How is a multi-region setup different from scaling one region?

Scaling one region means adding more videobridges to one set of central services, which the Jitsi scalable setup guide describes as horizontal scaling by adding more bridges. A multi-region setup adds a second concern: placing each participant on a bridge in a sensible region. That needs region names set consistently on Jicofo, on each bridge and in Prosody, plus an ingress that identifies the user's region. Many teams should first confirm a single-region scale-out works, then add region selection. Mixing the two in one change makes failures hard to isolate.

What does ongoing operation of multi-region Jitsi require?

Ongoing work includes monitoring each bridge and the central services, keeping region settings synchronized when servers are added or replaced, and applying Jitsi release updates in every region in a planned order. You also need recurring checks that DNS routing and the ingress header still behave as designed after cloud or network changes. Costs recur for compute, bandwidth and any retainer for support or upgrades. A written runbook, configuration kept in version control and a tested rollback reduce the effort each change takes. Ask a partner whether ongoing support is offered as a retainer and what it covers.

How DeployOpen scopes and delivers regional Jitsi

A regional Jitsi deployment starts with a written scope, not a build. DeployOpen agrees the scope, deliverables and timeline in writing before work begins. For a multi-region setup, that document should name each region, the bridges and Prosody hosts placed in it, the value of jicofo.local-region and videobridge.relay.region on every component, the ingress that sets X-Proxy-Region, and the cloud DNS routing rules that send users to a region. It should also say who owns the DNS zone, the cloud accounts and the TLS certificates, because those decisions shape the build more than the Jitsi settings do. Ask for the scope to list what is excluded, such as chosen network paths, recording or third-party identity providers, so that a later change request is visible.

DeployOpen builds the system inside the client's own cloud accounts, data centers or air-gapped networks, so the client's security and compliance teams keep ownership of the hosts, logs and secrets. Before go-live, the work should include tests that confirm a participant in each region lands on a local bridge, that a fallback works when the local region has no capacity, and that the ingress header is present in presence data for Jicofo. Security review covers the ingress, the Prosody and Jicofo interfaces, certificate handling and access to the configuration management code, which the Jitsi scalable setup guide recommends managing with tools such as Ansible or Puppet. Confirm with the team which of these tests they want to see documented as evidence.

After handover, ongoing upgrades, bridge additions and continuous testing can be covered by a retainer, which is a separate agreement from the initial build. Ask for the retainer to state which Jitsi releases it covers, how a new region is added, and how regional routing is retested after each upgrade or DNS change. DeployOpen does not publish a price list, so the quote follows from the written scope for the regions, bridge count and integrations involved.

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.