When Rocket.Chat high availability becomes necessary and why it is harder than adding instances
High availability becomes necessary when a self-hosted Rocket.Chat workspace either outgrows a single instance or cannot tolerate losing one server. Rocket.Chat's reference architectures suggest one instance backed by a MongoDB replica set for up to 500 concurrent users, multiple load-balanced instances linked by NATS above 500 users, and microservices on Kubernetes with the official Helm chart above 5,000 users. Those thresholds are guidance, not a switch you flip, so the decision should rest on your measured peak concurrency, your tolerance for downtime and your team's ability to operate the extra moving parts. Multi-instance and microservice designs also require a paid plan, so the architecture choice and the licensing choice have to be made together, and the plan review should happen before anyone buys extra hardware.
Adding instances is the easy part. The harder work is that every instance depends on the same shared state, and that state is where failures hide. MongoDB must run as a three-member replica set, which Rocket.Chat recommends for high availability and which needs its own failover testing, backup and version management. Shared file storage is the second risk: uploads must be visible to every instance, so a storage layer that is only available on one node quietly recreates a single point of failure. NATS carries messages between instances, and if it is not clustered and monitored, a healthy web tier can still deliver broken real-time behavior. Before you commit, confirm with Rocket.Chat how each component is deployed and verified in your environment, and write down who owns each one during an incident.
Which Rocket.Chat components must be redundant and how each one fails
A multi-instance Rocket.Chat deployment is only as available as its weakest layer. Each component below has a distinct role, and each one fails in a way users notice differently, so the redundancy plan should be built component by component rather than assumed to be covered by running several application containers.
Rocket.Chat application instances
Each instance serves web and API traffic, runs the Node.js process bundled in the official Docker image and Helm chart, and holds no authoritative message state of its own. Running at least two instances behind a load balancer lets one fail without taking the workspace down. The failure symptom is a spinning or disconnected client that reconnects on its own when the surviving instance takes over. Check that sessions, uploads and scheduled jobs behave correctly when a request lands on a different instance than before, and confirm the multi-instance design is covered by your plan.
Reference architecturesNATS for instance messaging
NATS carries real-time messages between Rocket.Chat instances, so a user connected to one instance receives events generated on another. Without a working NATS layer, users on different instances see stale channels, delayed notifications or missing presence updates, even though every application instance reports healthy. Test this by sending a message from a client on one instance to a user connected to another. Confirm how NATS itself is clustered, monitored and restarted in your environment, since it becomes a single point of failure if deployed as one process.
Three-member MongoDB replica set
MongoDB stores every message, user, room and setting, and Rocket.Chat 8.x requires MongoDB 8.0 or later running as a replica set. A three-member replica set is strongly recommended for high availability, because it can elect a new primary when one member fails. Losing the primary without a healthy election produces write errors, failed message sends and an application that appears to work for reads only. Confirm that members are placed in separate failure domains, that the oplog is sized for your write volume, and that your backup process covers all members.
System requirementsShared file storage
Uploaded files, avatars and attachments must be readable by every application instance. If storage is local to one node or misconfigured, a user who uploads through one instance may find the file missing when another instance serves the download, and uploads may fail intermittently during an instance failover. Confirm which storage backend your deployment uses, whether it is replicated or highly available, and how it behaves during a storage node outage. Include file storage in your failover test, not only the application tier.
Reverse proxy or load balancer
The reverse proxy or load balancer in front of the instances terminates TLS, routes requests and must support WebSocket connections that Rocket.Chat uses for real-time updates. If this layer has a single node, its failure makes the whole workspace unreachable regardless of how many instances sit behind it. Users see failed logins or a blank page rather than a partial outage. Verify that WebSocket upgrades pass through, that health checks remove failed instances from rotation, and that the load balancer itself has a standby or managed redundancy.
How instances, NATS, MongoDB and file storage connect in a highly available setup
The flow starts with users reaching the load balancer or ingress, which spreads sessions across several Rocket.Chat instances. The instances share state through NATS, which carries messages between them, and read and write data in a three-member MongoDB replica set that can elect a new primary if one member fails. Uploaded files go to shared file storage that every instance can reach. The trust boundaries matter: the user network stops at the edge, and the application and data tiers should accept traffic only from the components that need it. Check each hand-off during failover testing, not only during normal operation.
Traffic path from users through instances to the data tier, with trust boundaries.
Choosing between load-balanced instances and Kubernetes microservices
This table compares the three layouts Rocket.Chat reference architectures describe for growing user counts: a single instance on a replica set, load-balanced instances linked by NATS, and microservices on Kubernetes. Read each column for when the layout fits, what it asks of your team, and which plan it requires. The main takeaway is that the operational burden rises with each step, so choose the simplest layout that fits your user count and skills.
| Option | When it fits | Operational burden | Plan requirement |
|---|---|---|---|
| Single instance with a three-member MongoDB replica set | Up to about 500 concurrent users, per the reference architecture guidance; confirm the boundary for your workload | Lowest. One application tier to patch, back up and monitor, plus the MongoDB replica set and its failover checks | Confirm with the plan docs whether your user count requires a paid plan |
| Load-balanced instances linked by NATS | Above 500 concurrent users, when one instance is no longer enough and you run VMs or containers without Kubernetes | Medium. Needs a load balancer with sticky session handling, NATS operations, shared file storage and synchronized upgrades across instances | Paid plan required for multi-instance designs |
| Microservices on Kubernetes with the official Helm chart | Above 5,000 concurrent users, or where you already run and staff a Kubernetes platform | Highest. Requires Kubernetes skills, storage class planning, MongoDB placement, ingress and TLS, scaling of individual services and Helm upgrade practice | Paid plan required for microservice designs |
| Team skills needed | Load-balanced: general Linux and proxy administration. Kubernetes: container orchestration, Helm and storage administration | Single instance: MongoDB and Linux. Load-balanced adds NATS. Kubernetes adds cluster operations on top | Not a plan factor, but staffing drives the total effort |
| Monitoring to set up | Single instance: application health, MongoDB replica state. Load-balanced: per-instance health and NATS connectivity. Kubernetes: per-service metrics and pod restarts | Monitoring gaps grow with each layer, so plan dashboards and alerts before go-live | Not a plan factor |
| Upgrade practice | Single instance: one rolling window. Load-balanced: coordinated rollout across instances. Kubernetes: Helm chart version pinning and staged rollouts | Each option must still stay inside the supported version window, so budget regular upgrade time in every layout | Confirm the support terms of your plan for your chosen version |
Building a highly available Rocket.Chat deployment in order
This sequence takes a Rocket.Chat deployment from a plan decision to a set of application instances that share one database, one NATS messaging layer and one file store, so that losing a single instance does not stop the workspace. Each step ends with a check that tells you whether the next step can start.
Confirm the plan and user profile
Before any infrastructure is built, confirm the user count, peak concurrency and the paid plan that covers multi-instance designs. Rocket.Chat's reference architectures place multiple load-balanced instances linked by NATS above 500 concurrent users, and that design requires a paid plan, so the free Starter and Community tiers do not apply. Ask the vendor or your account contact to confirm the plan terms in writing. The check is a signed scope that names the plan, the concurrency target and the owner of each component.
Deploy the three-member MongoDB replica set
Your database or platform team builds a three-member MongoDB replica set running MongoDB 8.0 or later, because Rocket.Chat 8.x requires that version and a three-member set is the recommended high availability layout. Place members on separate hosts or failure domains, enable authentication, and restrict network access to the Rocket.Chat hosts. The check is that the replica set reports one primary and two secondaries, every member is healthy, and a test write on the primary is readable from a secondary.
Provision NATS and shared file storage
Deploy the NATS messaging service that links the Rocket.Chat instances so that events such as new messages reach every node. Separately, provision file storage that all instances can read and write, so an upload made through one node is available through the others. Confirm the storage type with Rocket.Chat's current system requirements and your chosen file storage option. The check is that a test message published on one node is received by a second node, and a file uploaded to shared storage can be retrieved from both.
Bring up two application instances
Install at least two Rocket.Chat application instances on separate hosts using the same release version, and point every instance at the same MongoDB connection string and the same NATS server. Use identical environment configuration on each node, including the site URL and the shared storage settings, so that no instance behaves differently. The check is that both instances start, connect to the replica set and NATS, and report the same version in the administration console.
Place the instances behind a load balancer with TLS
Configure a load balancer in front of the instances with a TLS certificate that matches the public hostname, and forward HTTP and WebSocket traffic to every node. Confirm that the health check endpoint you configure reflects whether each instance can serve requests, and remove unhealthy nodes from rotation automatically. Your network or security team owns the certificate and the load balancer policy. The check is that the public hostname resolves over HTTPS and that each backend shows as healthy in the load balancer.
Validate sticky session and WebSocket behavior
Test how a client session behaves when it is routed across nodes. Log in through the load balancer, send messages, and confirm that real-time updates arrive without a page reload. Then confirm whether your load balancer needs session affinity for the connection type in use, and document the setting you chose. Ask Rocket.Chat support or your implementation partner to confirm the required affinity behavior for your version. The check is a repeatable test in which a client keeps a live session and receives updates after the load balancer moves it to another node.
Run failover tests before go-live
Stop one application instance, then one MongoDB member, and then the NATS service, one at a time, while a test client sends and receives messages. Record how long clients take to reconnect, whether any messages are lost, and whether the workspace stays usable. Document the results and the recovery steps in a runbook that operations staff can follow. The check is a signed test record for each failure, with any gaps assigned an owner and a retest date.
How the HA design differs for load-balanced, Kubernetes and air-gapped environments
This model runs several Rocket.Chat application instances behind a load balancer, with all instances sharing one MongoDB replica set and communicating through NATS. Rocket.Chat's reference architectures place this design above 500 concurrent users, and the multi-instance design requires a paid plan. Your team owns the virtual machines or hosts, the load balancer and the network paths between them, so most of the design work is about keeping each layer reachable when one node fails.
- Load balancer placement: The load balancer sits in front of the instances and terminates TLS or passes it through to them. Confirm session stickiness and WebSocket handling with your load balancer's documentation, because Rocket.Chat depends on persistent connections.
- NATS placement: NATS carries messages between instances, so it must be reachable from every instance and should not be a single point of failure. Confirm how your chosen deployment runs and monitors it.
- MongoDB replica set: Three members are strongly recommended for high availability, and the application should point at all of them so a primary election does not cause an outage.
- Shared file storage: Uploaded files must be available to every instance, so choose a storage backend that all nodes can reach and back it up separately from the database.
- Failover testing: Stop one instance, one MongoDB member and the NATS service in turn, then confirm that users reconnect and messages are not lost.
Before you build, ask your team to confirm how each node is restarted, where logs go and who receives alerts when an instance drops out of the pool.
On Kubernetes, Rocket.Chat is deployed with the official Helm chart and split into microservices, so the scaling and failure model changes. Rocket.Chat's reference architectures place microservices on Kubernetes above 5,000 concurrent users, and this design also requires a paid plan. The cluster scheduler restarts and places pods, which shifts much of the failover work from your operators to the chart's configuration and your storage and database layers.
- Helm chart and components: The chart deploys the application and separate services, including ddp-streamer, which can be scaled on its own. Review the chart values for each release, since component names and options can change between versions.
- Storage classes: Persistent volumes for files and MongoDB need storage classes that support the access modes your design requires. Confirm the storage backend's replication and snapshot behavior with your cluster administrator.
- MongoDB placement: Keep MongoDB members on separate nodes or zones so one node failure does not remove a majority. Decide whether MongoDB runs inside the cluster or on dedicated infrastructure, and confirm the operator or method you use for its replica set.
- Ingress and TLS: The ingress controller handles TLS termination and WebSocket traffic. Confirm the timeouts and connection settings with your ingress vendor.
- Upgrade practice: Test each chart and Rocket.Chat version in a non-production cluster, because microservice versions must match and rolling upgrades need a tested rollback path.
Before you commit, ask your platform team which storage classes, node pools and zones are available and whether they already operate a MongoDB replica set in the cluster.
In an air-gapped environment, the cluster or hosts have no direct route to the internet, so every container image, chart, package and update must be moved across the boundary by a controlled process. Air-gapped deployment is a paid-plan capability and is not available on the free Starter plan. The HA design itself stays the same, but every failover path must work without outside services, and each update adds transfer and testing work to your schedule.
- Paid-plan requirement: Confirm the plan that covers air-gapped deployment before design starts, since the plan decides which HA architectures are licensed.
- Image and update transfer: Plan a repeatable way to bring images, charts and MongoDB packages into the network, and keep a signed record of what was transferred and when.
- Internal registries and mirrors: Every node must pull from a registry or mirror inside the network, including for failover restarts, so those sources need their own redundancy.
- Mobile and push limits: Cloud services such as the push notification gateway depend on internet access. Confirm with Rocket.Chat how mobile and desktop clients behave in your network before users depend on them.
- Version support: Unsupported versions lose security fixes and can lose compatibility with official clients, so the transfer process must run on the support schedule.
Before you design, ask Rocket.Chat and your security team which plan, transfer method and internal registry your network allows, and how long a full update cycle takes in your environment.
What drives Rocket.Chat high availability effort and cost
This table lists the main factors that change the scope, effort and cost of a Rocket.Chat high availability build, with how to keep each one down and whether it is paid once or recurs. Use it to shape the questions you put to a partner before you ask for a quote.
| Driver | Why it changes effort or cost | How to keep it down | One-time or recurring |
|---|---|---|---|
| Concurrent users and reference tier | The reference architectures move from one instance with a replica set, to load-balanced instances linked by NATS, to Kubernetes microservices as user counts rise. Each step adds components to build, test and run. | Confirm peak concurrent users, not total accounts, and size to the lowest tier that meets them. Revisit the tier only when usage grows. | One-time for the design, recurring for capacity changes |
| MongoDB replica set operations | Three members, backups, failover tests and version upgrades all add operational work. Replica set health must be monitored continuously. | Standardize on managed or well-documented operating runbooks, and limit the number of database versions you support. | One-time setup, recurring operations |
| MongoDB data volume | Message history, file metadata and retention settings drive storage growth, backup duration and restore time. | Set retention policies early and agree on the data you must keep. Test restores at realistic data sizes. | Recurring storage and backup cost |
| Integrations and apps | Each Marketplace app, private app, webhook or bot must be tested again before each Rocket.Chat release and each MongoDB upgrade. | Inventory integrations before the build and retire unused ones. Keep private apps to the minimum set that the business needs. | One-time testing, recurring retesting at each upgrade |
| Identity and SSO setup | LDAP or Active Directory sync, SAML or OAuth configuration, and group to role mapping require input from your identity team and can delay the build. | Confirm the identity provider, group model and MFA policy before design starts. Reuse existing identity patterns. | One-time build, recurring user and group changes |
| File storage size and backup | Shared file storage must be available to every instance or pod. Its size, performance and backup scope affect both the build and the restore tests. | Choose a storage design that your platform team already supports and agree on file retention limits in writing. | One-time design, recurring storage and backup |
| Staging and production environments | Each environment needs its own MongoDB replica set, NATS, storage and failover tests. A staging copy that matches production doubles much of the infrastructure work. | Use a smaller staging topology for functional tests, and reserve full failover testing for a production-like environment. Confirm the approach with your team. | Recurring infrastructure, one-time test design |
| Compliance evidence requirements | Assessors may ask for failover test records, backup restore evidence, access logs and upgrade records. Preparing this evidence takes time before any audit. | Agree the control list and evidence format at the start. Collect evidence during the build rather than after it. | One-time setup, recurring evidence collection |
| Who is paid for what in a quote | A quote should separate design, build, testing, documentation and handover from ongoing support or retainer work. Infrastructure and Rocket.Chat plan fees are paid to other parties. | Ask for a written scope with each component listed, the environments covered and the test scenarios included. Confirm which fees are paid to Rocket.Chat and which are paid to your cloud or hardware providers. | Quote items split into one-time and recurring |
How to test Rocket.Chat failover before go-live
Failover testing should prove that Rocket.Chat keeps users connected or recovers them cleanly when a component fails, and that no messages or files are lost in the process. Run each test against a production-like copy of the deployment, with active sessions, a realistic message rate and file uploads in flight. The core set covers five failures: loss of one Rocket.Chat instance while users are connected, interruption of the NATS messaging layer, a MongoDB primary step-down followed by loss of one replica set member, unavailability of the shared file storage, and failure of one load balancer node or health check target. Record the order of events and the time each component takes to recover, because those timings will shape your user communication plan.
For each test, define what users should see and what the logs must show before the test starts. Users with open browser or desktop sessions should either reconnect automatically or see a clear reconnection state, and messages they sent during the disruption should appear once, not twice and not never. Uploads that were interrupted should fail visibly so the sender can retry. Logs must capture the instance that handled each session, the MongoDB election or step-down event, NATS connection drops and restores, and any storage errors. Ask your implementation partner or internal team to confirm, in writing, the acceptance criteria for each test, including what counts as a safe failure, the maximum tolerated reconnection behavior, and who signs off the results.
DeployOpen runs failover testing as part of its security and resilience work, so the same test plan can cover fault injection and the review of how the deployment fails. Ask for the test scripts, the expected log entries, and a retest after every fix, and keep the results with your change records. Confirm the vendor-specific behavior with Rocket.Chat's documentation for your release, since it changes between versions, and confirm your MongoDB version and replica set configuration against the Rocket.Chat system requirements before you schedule the tests.
Securing the HA layers: database access, NATS, storage and secrets
A highly available Rocket.Chat deployment has more moving parts than a single instance, and each shared layer is a place where access can leak. The cards below cover the database, the message bus, file storage, secrets and cluster administration, the points where a clustered setup needs deliberate controls. Full platform settings are covered in the security hardening topic.
MongoDB authentication between replica members
Every member of the three-member replica set should require authentication, and the replica set's internal keyfile or certificate trust should be configured so only known members can join. Rocket.Chat instances should connect with a dedicated application user that has only the roles it needs, not a database administrator account. Confirm the exact MongoDB 8.0 authentication and keyfile steps with your MongoDB administrator, since a misconfigured member can fail silently during failover tests.
System requirementsNetwork isolation for the database tier
Place the replica set on a private network segment that only Rocket.Chat instances, the replica members themselves and approved administration hosts can reach. Block direct internet routes to the MongoDB ports and confirm that no public load balancer forwards traffic to them. Repeat the check after each infrastructure change, because a new security group or subnet rule can expose the set without any change to Rocket.Chat itself.
NATS access between instances
In a multi-instance design, NATS carries real-time traffic between Rocket.Chat instances, so anyone who can reach the NATS port could observe or inject messages into the cluster. Restrict the NATS listener to the instance network, require authentication on the connection, and review which hosts appear in the connection configuration. Confirm with the Rocket.Chat reference architecture for your version how NATS is deployed and secured before you open any port.
Reference architecturesFile storage permissions and encryption
Uploaded files are shared by every instance, so the shared storage target must be writable only by the Rocket.Chat service identity and readable by no other workload. Check whether your chosen storage backend supports encryption at rest and key management, and document who holds the keys. Confirm with your storage vendor and your Rocket.Chat version which file-storage options support encryption, because this varies by backend.
TLS between the proxy and instances
The load balancer or reverse proxy terminates client TLS, but traffic from the proxy to each Rocket.Chat instance and the cluster's internal paths also cross the network. Decide whether those internal hops use TLS, certificate rotation owners and trust stores for each hop. Test WebSocket connections through the proxy after every certificate change, since clients can appear connected while real-time updates silently stop.
Secrets in Helm values and deployment config
Database connection strings, the MongoDB replica set key, the NATS credentials and storage keys should never be stored as plain text in Helm values files or in version control. Use your secrets manager or Kubernetes secrets with restricted read access, and rotate credentials on a schedule your team can actually follow. Ask your implementation partner to show exactly which values are secret references in your chart and which are literal values.
Admin access to the cluster
Restrict who can change the Rocket.Chat workspace, the database and the cluster itself, and keep those roles separate. Use named accounts with multi-factor authentication for every administrator, record every privileged action, and remove access promptly when staff change roles. Paid plans list tamper-evident audit trails for messages, files and sessions, so confirm that the audit trail is turned on and that its records are stored outside the systems administrators can edit.
Rocket.Chat pricingWhat to monitor, back up and upgrade after the HA cluster is live
The HA cluster is only as reliable as the checks run against it after go-live, so the operating plan should name what is watched, how often, and who acts on it. Start with the MongoDB replica set, because every Rocket.Chat instance depends on it. Track replica set member state, replication lag between the primary and both secondaries, oplog window, and disk usage on each member. A secondary that falls behind does not stop chat, but it removes the failover margin you paid for, so alert on lag before it becomes an incident. Confirm with your MongoDB team which lag and disk thresholds they will page on, since those numbers depend on your write volume and hardware.
On the application side, watch each Rocket.Chat instance's health endpoint, response times through the load balancer, and error rates, and check that NATS members are running and connected to every instance. In a multi-instance design, a single instance that silently drops off NATS can leave users connected to it receiving stale presence or delayed notifications. Storage needs its own line: monitor capacity on the shared file storage, and remember that uploaded files and database growth both expand over time. Backups are only proven by restores, so schedule a restore test into a separate environment at a set interval, record how long it takes, and confirm that the restored instance starts and serves messages and files. The Rocket.Chat system requirements page is the reference for the MongoDB and Node.js versions your monitoring baselines should match.
Upgrades belong in the operating plan from day one. Rocket.Chat supports standard releases for 6 months and LTS releases for 12 months, and a version past end of life gets no security or bug fixes. Cloud services such as the push notification gateway, Marketplace and Omnichannel integrations also stop working, and unsupported versions may lose the ability to connect with the official mobile and desktop clients. Before go-live, agree who owns each upgrade, where it is tested first, and how the MongoDB version is kept compatible with the Rocket.Chat release you plan to run. For the support window and release calendar, read the Rocket.Chat version durability guidance and our Rocket.Chat upgrades and support topic. For the runbooks, alert definitions and backup records your team will inherit, see the documentation handover described in the Rocket.Chat implementation plan and cost topic.
Common questions about Rocket.Chat high availability
Does running Rocket.Chat in high availability require a paid plan?
Yes, for the designs covered on this page. Rocket.Chat's reference architectures place multiple load-balanced instances linked by NATS, and microservices on Kubernetes with the official Helm chart, in the range where a paid plan is required. The free Starter plan allows up to 50 users and the free Community workspace allows up to 100 concurrent users with core messaging, but neither is the right basis for a multi-instance design. Check the current plan terms on the Rocket.Chat plans page before you commit, and ask the vendor to confirm in writing which plan covers your user count and deployment model. Paid plans are priced by quote, so the license line in your budget comes from that quote.
What does the work need from our own team?
Your team needs people who own the identity provider, the network and DNS, the reverse proxy and TLS certificates, the storage platform, and the MongoDB database. Rocket.Chat 8.x requires MongoDB 8.0 or later running as a replica set, and a three-member replica set is strongly recommended for high availability, so someone must be able to operate that cluster, including backups and failover. On Kubernetes, you also need cluster administrators who can manage storage classes, node placement and ingress. Someone must also own the upgrade calendar, because unsupported versions lose security fixes and client compatibility.
How does effort scale with the number of users and the amount of data?
Effort rises in steps as concurrent users grow, because each step changes the architecture. Rocket.Chat's reference architectures suggest one instance with a MongoDB replica set up to 500 concurrent users, multiple load-balanced instances linked by NATS above 500, and microservices on Kubernetes with the official Helm chart above 5,000. Each step adds components to build, monitor and test. Data volume drives a separate set of work: file storage must be shared across instances, backup and restore windows grow with the database, and retention settings decide how fast history accumulates. Ask any partner to size the design from your concurrent user count, message history and file volume rather than from total headcount.
Can one team build and test this without a partner?
A team with strong Linux, MongoDB, load balancer and, if chosen, Kubernetes skills can build it alone, and many do. The hard parts are less the initial install than the failure testing: proving that a node loss, a MongoDB primary election, a NATS disruption and a storage fault each leave users able to message and upload files. Most teams underestimate how many scenarios need a documented expected result. A partner can take on the build, the test plan and the runbook under a fixed-scope agreement, while your staff keep ownership of the system after handover. Decide based on your staff's capacity during the change window and their experience with failover testing.
How long does failover testing take?
The duration depends on scope: how many components are in the design, whether you test on a staging copy or production, how many failure scenarios your runbook covers, and whether your team can schedule maintenance windows for destructive tests. A single-instance design with a replica set needs fewer scenarios than a multi-instance design with NATS and shared file storage, and microservices on Kubernetes add pod, node and storage failures to the list. We do not give a fixed duration here because it would depend on your environment. Ask for a test plan with each scenario, its expected behavior and its owner, then estimate the schedule from that list.
What should we receive at handover?
A complete handover includes the architecture diagram, the configuration for each Rocket.Chat instance, the MongoDB replica set and its authentication settings, the NATS and shared file storage configuration, the reverse proxy and TLS setup, and the Kubernetes manifests or Helm values if you chose that route. It should also include the failover test plan with recorded results, a backup and restore procedure that has been tested, monitoring and alert definitions, and an upgrade runbook that covers Rocket.Chat releases and MongoDB version changes. Ask for these in writing before work starts, so acceptance is measured against a defined list.
Which parts of the design carry the most operational risk?
The most common failure points are shared file storage, the MongoDB replica set and the upgrade path. If files are written to a store that is not visible to every instance, users see missing uploads after a failover. A replica set without enough members or with poor network latency between members can lose elections or stall writes. Upgrades are risky when app and integration compatibility is not tested before each Rocket.Chat release. Confirm the design for each of these with your vendor and your own staff, and test them before go-live rather than after the first incident.
How DeployOpen scopes, builds, tests and hands over Rocket.Chat high availability
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, so the Rocket.Chat high availability design runs in your cloud accounts, data centers or air-gapped network. We agree the scope and deliverables in writing before work starts, and we test failover before we hand the system over.
How we scope
- We confirm your concurrent user count to place the design on the single-instance, load-balanced, or Kubernetes microservices path.
- We map your identity, file storage, mobile push and network constraints that affect the NATS and MongoDB layout.
- We agree a fixed written scope covering topology, deliverables, failover tests and the paid plan your design requires.
How we build
- We deploy a three-member MongoDB replica set on MongoDB 8.0 or later, with placement across failure domains you choose.
- We run multiple Rocket.Chat instances behind your load balancer, linked through NATS, with shared file storage configured and verified.
- We document each configuration decision, including TLS termination, session handling and the settings that tie instances together.
How we test and hand over
- We run failover tests that stop a MongoDB primary, an instance and the NATS path, then record how users and sessions recover.
- We deliver runbooks for node replacement, MongoDB failover checks, backup restore and version upgrades within the support window.
- We walk your operations team through the build and the test results so they can run and repeat the tests themselves.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing for your environment.
- Retainers can cover Rocket.Chat release upgrades, MongoDB version upgrades and retesting failover after each change.
- We ask you to confirm your internal owners, change windows and escalation paths before the retainer starts.

