When self-hosted EMQX fits and when managed EMQX fits
Choose self-hosted EMQX when device traffic and broker operations must stay inside your own cloud accounts, data centers or air-gapped networks. Your team then controls where clusters run, how TLS is terminated, and which authentication method each device uses, whether username and password, JWT, PSK or X.509 certificates. This matters most for regulated fleets where auditors will ask for evidence of the data path and key custody. Check licensing before you commit: from EMQX 5.9.0, a cluster of more than one node requires a license file, and the single-node production grant does not extend to offering EMQX to third parties on a hosted or embedded basis. Read the EMQX license terms with counsel if you plan to resell MQTT connectivity.
Choose managed EMQX when you want the vendor to run the platform, including upgrades, patching and capacity changes, and when your team has no MQTT operations skills to cover on-call. This fits a growing device fleet where sizing is hard to predict, or where broker downtime costs the business more than a service contract. Before you decide, confirm with EMQX in writing: the regions the service runs in and whether they satisfy your data residency rules, which certifications the service holds and whether they cover your audit scope, the SLA and service credit terms, and feature parity for what you depend on, such as the MQTT-SN, CoAP and LwM2M gateways, the rule engine and the authentication methods. Ask who can access logs and backups in the vendor's environment.
Run a short pilot before you sign either path. Ask the provider for its upgrade cadence and version support window, and for a written statement of how it handles new EMQX releases. Note that each EMQX release converts to Apache 2.0 four years after publication, which matters if you plan to run one self-hosted version for a long period. Also plan the exit path in both directions: moving a self-hosted cluster to a managed service, or back, means re-provisioning device endpoints, certificates, authentication entries and rule definitions, so keep those in version control from day one. Settle who holds on-call duty for the broker, because that role drives most of the day-to-day difference in effort. Track EMQX releases when you plan upgrades.
How self-hosted EMQX and managed EMQX compare on control, cost and upgrades
This table compares self-hosted EMQX with a managed EMQX service across the factors that shape control, cost and upgrades. Read the self-hosted column as documented EMQX facts, and treat the managed column as questions to put to EMQX before you sign. The main takeaway is that self-hosting gives you direct control over data location and upgrade timing, while managed fees and feature availability must be confirmed in writing.
| Factor | Self-hosted EMQX | Managed EMQX |
|---|---|---|
| Control over the environment | You choose the cloud account, data center or air-gapped network, plus node count, TLS settings and access controls. | The provider operates the environment. Confirm which controls, network paths and admin roles you can set. |
| Data location | Broker data and logs stay in the infrastructure you run, including any integration targets you host yourself. | Confirm the region, the data residency terms and whether message data or logs leave the provider's environment. |
| Protocol and clustering features | MQTT 5.0, 3.1.1 and 3.1, MQTT over QUIC, masterless clustering and the SQL-based rule engine. Gateways cover MQTT-SN, CoAP and LwM2M. | Confirm which protocol versions, gateways, clustering and rule engine features the managed tier includes. |
| Authentication options | Username and password, JWT, PSK and X.509 certificates over TLS/SSL and secure WebSocket connections. | Confirm which authentication methods and certificate options the managed tier exposes. |
| Licensing obligations | Business Source License 1.1. One production node is permitted. Clusters over one node need a license file from 5.9.0. | Governed by the service agreement. Ask EMQX how the managed tier is licensed and supported. |
| Upgrade timing | You set the timing. EMQX 6.3.2 was published October 16, 2026, per the GitHub releases page, and you plan your own test and rollback window. | Set by the provider. Confirm notice periods, maintenance windows and whether you can pin a version. |
| Cost structure | Infrastructure, operating staff and any cluster license are paid by you, and most of these recur. | Subscription terms and fee basis must come from an EMQX quote. Ask what is included and what is metered. |
| Exit path | You keep configuration, rules and data in your own stores, so migration effort depends on how you designed them. | Confirm how configuration, rules, retained messages and integrations can be exported before you commit. |
Where EMQX data lives and who can reach it in each model
Both models run the same EMQX broker, but the people who operate it and the place its state sits can change. The five cards below follow the questions a security or compliance review asks: where data is stored, who can reach it, how users authenticate, and what evidence proves it. Answers can differ by model, so confirm each one in writing with the managed provider.
Where broker state lives
Self-hosted EMQX keeps broker state, retained messages and rule outputs wherever you deploy it, in your cloud account, region or on-premises network. Your team also decides where rule engine outputs land, such as Kafka or PostgreSQL, so those destinations sit inside the same boundary. In a managed service, confirm the region holding broker state and retained messages, where rule outputs go and whether backups leave that region.
Who administers nodes and keys
Self-hosted operation puts node administration, the dashboard and API keys with the people you authorize, which is where access reviews usually start. Map each role to a named group, keep dashboard accounts separate from service API keys and assign an owner for key rotation. In a managed service, ask which provider staff can reach your nodes, dashboards and API keys, and whether you can scope and revoke keys yourself.
Identity and certificate setup
EMQX supports username and password, JWT, PSK and X.509 certificates over TLS, SSL and secure WebSocket connections, so the authentication method is a design decision in either model. Self-hosted, your team issues and rotates certificates and PSK material, and holds any JWT signing keys. In a managed service, confirm which methods the provider exposes, who issues certificates and how revocation is handled.
EMQX READMEAudit logs and change records
Assessment evidence depends on audit records for logins, configuration changes and API key use, kept for a period your policy sets. Self-hosted, you decide where those records are shipped, how long they are kept and who can alter them. In a managed service, confirm which records you can export, how long the provider retains them and whether they arrive in a format your SIEM can read.
Compliance evidence and attestations
DeployOpen prepares systems, controls and evidence for compliance assessments but does not issue audit reports or certifications. Independent auditors and certification bodies issue those documents, and each covers only the scope the assessor tested. For a managed service, request the provider's own attestations and data residency commitments, then check that their scope matches the regions and services you plan to use.
What the Business Source License means for self-hosted EMQX clusters
Self-hosting EMQX starts with a licensing decision, so run this check first. From version 5.9.0, EMQX merged its former Open Source and Enterprise editions into one offering under the Business Source License 1.1, which moved that line away from Apache 2.0. Under that license, a single node may run in production, provided it is not offered to third parties on a hosted or embedded basis. Educational and non-profit users may also run it in production without restriction for non-commercial purposes. Read the full terms in the EMQX license file before you size the platform, because the wording determines whether your product or customer setup falls inside the grant.
Each release converts to Apache 2.0 four years after it is published, so the publication date of the exact version you deploy matters. Check that date on the EMQX releases page and record it in your change log alongside the version you installed. Until the conversion date, the Business Source License terms govern that release. For example, in an illustrative case, a release published in a given year would convert four years later, so your upgrade plan should state which license terms apply to each version in production during the transition. Security and compliance reviewers will likely ask for this record, so keep it with the architecture documentation.
Clusters are where the license file becomes a planning item. From 5.9.0, deploying a cluster of more than one node requires loading a license file, so any high availability design with two or more nodes needs one in the rollout plan and in the runbook for node replacement. Ask EMQX in writing whether your intended use is permitted, including whether your product embeds the broker or offers MQTT connectivity to other organizations, because the grant turns on those facts and this page cannot settle them. Managed EMQX is the vendor's own hosted offering and is governed by its own terms, so that option moves the license question into a contract you negotiate with the vendor. Compare both sets of terms before you choose.
What your team runs in self-hosted EMQX versus managed EMQX
This table lists the operating tasks your team owns when it runs EMQX itself, and the tasks a managed service provider may take on instead. Read the managed column as a list of questions to confirm in the service terms, because provider scope varies. The main takeaway is that self-hosting places most routine tasks with your team, while a managed service covers only the tasks your contract names.
| Operating area | Self-hosted EMQX (your team) | Managed EMQX (provider under service terms) |
|---|---|---|
| Node sizing and cluster growth | Your team chooses node count and instance size, then adds nodes as connections grow. Cluster growth beyond one node needs a license file. | Provider sizes and scales the service under its terms. Confirm in writing the sizing, scale-up trigger and cluster limits. |
| Upgrades and patching | Your team tests each release and schedules upgrade windows. EMQX 6.3.2 was published October 16, 2026, per the EMQX GitHub releases page. | Provider applies upgrades under the service terms. Confirm in writing the notice period, maintenance windows and whether you can defer. |
| License file handling | Your team obtains, loads and renews the license file for any cluster of more than one node, from EMQX 5.9.0 onward. | Provider manages licensing under the service terms. Confirm in writing who holds, renews and audits the license. |
| TLS certificate rotation | Your team issues, installs and rotates listener certificates, then tests client reconnection and trust chains. | Provider rotates certificates under the service terms. Confirm in writing the rotation process, notice, and whether you can supply your own certificates. |
| Backup and recovery of configuration | Your team backs up cluster configuration, rules and authentication data, and rehearses restores before it needs them. | Provider runs backups under the service terms. Confirm in writing frequency, retention, restore testing, and whether you can export configuration. |
| Monitoring and alerting | Your team builds dashboards and alerts for connections, message throughput, node health and log forwarding into your SIEM. | Provider monitors the service under its terms. Confirm which metrics and alerts you receive, and whether they can reach your SIEM. |
| Network placement and firewall rules | Your team places nodes in your cloud accounts or data centers and owns firewall rules, load balancers and private links. | Provider sets network placement under the service terms. Confirm in writing the region, private connectivity options and who changes firewall rules. |
| Data integration connectors | Your team configures and maintains connectors such as Kafka, RabbitMQ, PostgreSQL and others, and rotates their credentials. | Connector setup falls to the provider under the service terms, if included. Confirm in writing which connectors are offered and who holds credentials. |
| Incident response and on-call | Your team runs the on-call rotation, triage and vendor escalation for broker outages and client-facing incidents. | Provider responds under the service terms. Confirm in writing response times, severity definitions and your escalation path. |
How device traffic and trust boundaries sit in each model
The diagram starts with devices opening TLS or WebSocket sessions to an EMQX listener. In the self-hosted model, the client's device gateway runs an authentication check before each session reaches the cluster, and the rule engine forwards matched messages to Kafka or PostgreSQL inside the client's network. In the managed model, the vendor operates the cluster and rule engine, so the path back into the client's systems crosses the trust boundary. Confirm with the vendor where authentication runs, where logs and message payloads are kept, and which downstream connections are permitted before you map this to your data handling rules.
Device traffic and forwarding in each model; managed side to be confirmed.
How to move an EMQX deployment between self-hosted and managed
This sequence moves an EMQX deployment from one operating model to the other with device access, configuration and retained data accounted for at each step. It starts with licensing and inventory, then tests a pilot group before any production devices move. The output is a tested cutover plan with a rollback path and a clear point at which the old cluster can be retired.
Confirm the license position and deployment use
Start by asking EMQX, in writing, how the managed and self-hosted models are licensed for your intended use. The Business Source License allows production use of a single node unless the software is offered to third parties on a hosted or embedded basis, and clusters of more than one node need a license file from version 5.9.0 onward. Get that position agreed with your legal team before other work begins. The output is a written license position that matches the planned topology.
Inventory authentication, gateways, rules and integrations
Your team, with the platform owner, lists everything the cluster does. Record each authentication method in use, such as username and password, JWT, PSK or X.509 certificates, plus the listeners over TLS, secure WebSocket, QUIC and any MQTT-SN, CoAP or LwM2M gateways. Then list every SQL rule and data integration target, such as Kafka, PostgreSQL, MongoDB or Redis, with its credentials and owner. Illustrative example: a rule forwarding telemetry topics to a Kafka topic must be recreated in the target before devices publish to it. The output is an inventory sheet that a reviewer can check line by line.
Export and review the configuration
Ask the vendor how configuration and retained data move between the self-hosted and managed models, including what can be exported, in what format, and what must be rebuilt by hand. Export the cluster configuration, then compare the export with the inventory from the previous step. Confirm how secrets, certificates and integration credentials are exported, and keep copies in your own secrets store. The output is a reviewed configuration baseline and a list of items that will be recreated manually.
Stand up the target and test a pilot group
Build the target environment in your chosen model, load the license file if the cluster has more than one node, and apply the reviewed configuration. Connect a small pilot group of devices that represent each authentication method and gateway type on the inventory. Test connection, subscription, QoS behavior, rule output and integration delivery, and record each result against the inventory. The output is a pilot test report that lists every failed check and its fix before production devices move.
Plan the endpoint, certificate and DNS cutover
Write a cutover runbook that covers broker hostnames, DNS records, listener certificates, and any CA or trust anchors embedded in devices. Confirm with the vendor and your device firmware owners whether devices can switch endpoints without a firmware update, since that decides whether a staged or a single-window change is possible. Define the rollback step for each item, such as reverting the DNS record and keeping the old certificate chain valid. The output is a signed runbook with owners and a go or no-go checklist.
Move devices in stages and confirm sessions
Move device groups in stages, starting with the pilot group, and watch connection counts, authentication failures and rule throughput at each stage. Confirm whether persistent sessions, retained messages and in-flight QoS 1 and QoS 2 traffic carry over, and plan for devices to reconnect if they do not. Illustrative example: a fleet that publishes every few seconds may show a short spike in reconnects during a switch, which the runbook should expect. The output is a log showing every device group, its cutover time and its health check result.
Decommission the old cluster after rollback
Keep the old cluster available as a fallback for the rollback window agreed in the runbook, and keep its configuration export and backups in storage your retention policy covers. Only when every device group is healthy on the new model, and no rollback has been triggered, shut down listeners and remove the old DNS and certificate entries. Confirm with the vendor how license obligations end for the old cluster and whether any retained data needs deletion evidence. The output is a decommission record that names the date, the owner and the archived artifacts.
Questions buyers ask about self-hosted EMQX cost, effort and timing
What drives the cost of running EMQX yourself?
Three cost groups drive it: infrastructure, the license for clusters, and staff time.
- Infrastructure: compute, storage, load balancers, backups and monitoring in your cloud account or data center. Setup is largely one-time, while hosting and capacity charges recur and grow with connection count and message volume.
- License: a single node may run in production under the Business Source License 1.1, provided you do not offer it to third parties on a hosted or embedded basis. From version 5.9.0, a cluster of more than one node requires a license file, so cluster design is a licensing decision as well as an engineering one.
- Staff time: upgrades, certificate rotation, monitoring, incident response and testing. This work recurs for as long as the deployment runs.
Have legal confirm how your hosting model fits the license before you size the cluster.
How much does managed EMQX cost, and where do I get the price?
Managed EMQX is priced by the vendor, so the figure comes from a written quote and the service terms that accompany it. Ask for a quote that states:
- The price basis, such as deployment size, connections, message volume or node count, and what triggers overage charges.
- Which EMQX version the service runs, and how upgrades and security patches are scheduled.
- The data region, backup and retention settings, and who can access tenant data.
- Support hours, response commitments and what they cover, written into the service terms.
- Exit terms: data export, notice period and any fees for leaving.
Compare the quote with the self-hosted cost over the same period, counting infrastructure, license obligations and staff time. Have procurement and legal review the terms before you sign.
How long does it take to migrate from self-hosted EMQX to managed?
Migration time depends mainly on configuration volume and the cutover plan, so agree a duration only after you inventory what needs to move.
- Configuration volume: user credentials, JWT and X.509 trust settings, authorization rules, SQL rules in the rule engine, and each data integration. EMQX lists integrations with more than 50 systems, including Kafka, PostgreSQL and Redis, and each one needs its own check.
- Device side: clients that pin certificates or hard-code broker addresses need firmware or DNS changes, and those often set the pace.
- Cutover plan: running both brokers in parallel, moving devices in waves by device group or topic, a rollback path, and a test window that includes a reconnect surge.
Ask the vendor and any implementation partner for a written inventory and migration plan first, then put the agreed timeline in the scope document.
What skills does a team need to run EMQX in production?
The team needs working skills in Linux, networking, TLS and MQTT, plus the discipline to test upgrades before they reach production.
- Linux: service management, file descriptor and kernel limits, OS patching, and log handling on each node.
- Networking: firewall and load balancer rules for MQTT listeners, secure WebSocket and dashboard access, DNS, and the traffic between cluster nodes.
- TLS: certificate issuance and rotation, certificate chains for X.509 client authentication, and cipher settings for TLS and secure WebSocket listeners.
- MQTT: QoS levels, persistent sessions, retained messages, MQTT 5.0 features, and topic design that keeps authorization rules manageable.
Check these skills against your own staff before you commit to self-hosting. A gap in any one of them is easiest to close before go-live, through training or outside help.
Can an in-house team deploy and run EMQX without outside help?
Yes, if the team already has the skills described above, enough on-call capacity, a staging environment, and a scope it can operate itself. A single-node production deployment can start simply, because the license allows production use of one node for non-hosted purposes. A multi-node cluster needs a license file from version 5.9.0 onward, so put that in the plan from the start. Keep a staging environment that matches production for every upgrade, and test backups and restores before go-live. Outside help is worth considering for a first cluster build, a multi-region design, hardening, compliance evidence, or a migration from a managed service. The decision depends on how many of those apply and how much time your staff can give the work.
When is an implementation partner worth hiring for EMQX?
Hire an implementation partner when the work exceeds your team's time or skills, or when the deployment must pass a security or compliance review that your staff cannot prepare for alone. DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including cloud accounts, data centers and air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ongoing support, upgrades and continuous testing are available as retainers. DeployOpen prepares systems and evidence for compliance assessments, but independent auditors issue the reports. DeployOpen does not publish a price list, so the quote follows from the written scope. Because EMQX is licensed under the Business Source License, confirm in writing whether EMQX is in scope and how license obligations are handled.
How DeployOpen scopes and supports self-hosted EMQX
DeployOpen plans, implements and supports self-hosted platforms inside the client's own cloud accounts, data centers or air-gapped networks. For EMQX, that means the self-hosted option is scoped as a defined body of work, with the operating tasks named before anything is built. Confirm cluster licensing and edition terms with EMQX directly, since DeployOpen is not a reseller of the vendor.
How we scope
- The written scope names the EMQX edition, node count, and hosting target before any work starts.
- Scope covers which MQTT listeners, authentication methods such as JWT or X.509, and TLS settings are in use.
- Fixed-scope engagements agree deliverables and timelines in writing before work begins, with optional retainers afterward.
How we build
- Deployment runs in your cloud accounts, data centers or air-gapped networks, with cluster layout set by data location rules.
- Downstream integrations, such as Kafka or PostgreSQL through the rule engine, are built and tested end to end.
- Authentication, TLS and certificate handling are configured and hardened before any device or application connects.
How we hand over
- Handover documents the cluster layout, license file location, configuration and the upgrade and backup procedures your team will run.
- Runbooks cover node failure, certificate rotation and patching windows, so operators know who acts and in what order.
- Access, audit logging and admin settings are reviewed with your security and compliance teams before go-live.
How we support
- Retainers cover upgrades, patching, continuous testing and ongoing support for the EMQX deployment after handover.
- Ask quotes to state which upgrade and patching tasks stay with your team and which sit in a retainer.
- Confirm EMQX's support window and release cadence for the version you choose, directly with the vendor.

