Self-hosted app·Dashboards, analytics and smart home
EMQX hosting on a Swiss VPS.
EMQX hosting on a 4 vCPU / 4 GB VPS in ALP1, Swiss Alps: Docker deploy of EMQX 6.3, ports to open, the single-node license rule, from $12.99/month.
- MQTT
- Docker
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port15 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/06
Short answer.
You can run EMQX on our Cloud VPS Standard plan in ALP1, our site in the Swiss Alps: 4 vCPU, 4 GB of RAM, 160 GB NVMe and 15 TB of monthly transfer for $12.99 a month, installed on Debian 13 with the official Docker image. The deciding factor is the license rather than the hardware. Since version 5.9, EMQX ships under the Business Source License 1.1, which allows one node in production at no cost and requires a commercial license from EMQ as soon as you join two or more nodes into a cluster. On our platform that means one broker per server, scaled up rather than out, so pick a plan with headroom. Close behind comes the dashboard on port 18083, which belongs behind an SSH tunnel and nowhere else.
02/06
What EMQX is and who runs it.
EMQX is an MQTT broker built on Erlang/OTP by EMQ Technologies. It accepts MQTT over TCP, TLS, WebSocket and QUIC, and next to message routing it carries a SQL-style rule engine and, by EMQ's count, more than 50 built-in data integrations, so one process can take telemetry from devices, filter it and write it to Kafka or PostgreSQL. The people who self-host it usually operate a device fleet of their own, electricity meters or vehicles for instance, and want the broker and the plumbing under their own control instead of paying per message to a cloud IoT service.
The current release is 6.3.2, published on 16 October 2026; the 6.3 line, released on 3 September 2026, is EMQ's long-term support branch. The old split between an Apache-licensed open-source edition and a closed enterprise edition is gone. Since 5.9.0 there is one product with every feature included, under BSL 1.1, and each version converts to Apache 2.0 four years after its release. The Docker Official Image called emqx is no longer published for these versions; EMQX's own documentation now uses emqx/emqx-enterprise, and so do we below.
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/06
Requirements and sizing.
EMQ publishes no fixed minimum for the host, and for good reason: memory follows concurrent connections, subscriptions, messages queued for offline sessions and retained messages, while CPU follows message rate and TLS. The one vendor figure worth quoting is that the ESSENTIAL feature set introduced in 6.3 (core MQTT, authentication and authorization, without the dashboard or rule engine) boots idle in under 100 MB.
CPU matters most at the worst possible moment. After a broker restart every device reconnects at once, and each reconnection costs a TLS handshake; on two vCPUs a few thousand clients coming back together will queue, while four absorb the burst far better. EMQX 6.3 sizes its Erlang schedulers to the CPUs it is given, so extra cores are used without tuning. Disk is rarely the constraint: /opt/emqx/data holds the internal database, retained messages and runtime configuration, and only grows seriously if you enable durable sessions with deep backlogs.
| Plan | vCPU / RAM / NVMe | Transfer included | Price/month | Where it fits for EMQX |
|---|---|---|---|---|
| Starter | 2 / 2 GB / 80 GB | 10 TB | $6.99 | Staging, lab work, the ESSENTIAL feature set |
| Standard | 4 / 4 GB / 160 GB | 15 TB | $12.99 | A single production node: our recommendation |
| Pro | 6 / 8 GB / 320 GB | 20 TB | $22.99 | Heavy rule-engine use, many offline sessions with queues |
| Power | 12 / 16 GB / 640 GB | 40 TB | $42.99 | Large fleets on one node, 2 Gbps port |
Because the free license stops at one node, the growth path beyond Power is a dedicated server such as Rigi (EPYC 4244P, 6 cores/12 threads, 32 GB, $64.99/month), which also replaces the metered VPS allowance with a 10 Gbps port and unmetered traffic under fair use.
VPS transfer is metered: each plan includes the monthly volume shown in the table. MQTT is frugal, but fan-out multiplies it. A theoretical example: 5,000 devices each publishing a 200-byte payload every 10 seconds produce 500 messages per second. At roughly 300 bytes per message on the wire once topic, TLS and TCP overhead are added, that is about 150 KB/s, or 389 GB over a 30-day month. Delivering every message once to a backend subscriber doubles it to just under 0.8 TB, about 5 % of the Standard allowance. Ten subscribers per message is a different calculation, and worth doing before you order.
The ports EMQX opens, and what to do with each:
| Port | Purpose | Our advice |
|---|---|---|
| 8883 | MQTT over TLS | Publish to the internet |
| 8084 | MQTT over secure WebSocket | Publish only if browsers or web apps connect |
| 1883 | Plain MQTT | Bind to 127.0.0.1; credentials cross it in clear text |
| 8083 | MQTT over unencrypted WebSocket | Do not publish |
| 18083 | Dashboard and REST API over HTTP | Bind to 127.0.0.1 and reach it through SSH |
| 4370, 5369 | Erlang distribution and cluster RPC (5369 is the Docker value) | Never publish; EMQX listens on them even without a cluster |
04/06
How to deploy it with us.
Order the Standard VPS with Debian 13 from the deploy link above; an email address is enough to open an account, as our no-KYC hosting page explains. EMQX also ships native packages for Debian 11 to 13, but we prefer the container because the version pin, the environment and the mounts then live in one file you can read. Install Docker Engine and the Compose plugin from Docker's Debian repository, then prepare a working directory. The container runs as UID 1000, so on a VPS where you work as root the bind-mounted directories need that owner, or the node cannot write its database:
mkdir -p /srv/emqx/{data,log,certs} && cd /srv/emqx
chown 1000:1000 data log certs
printf 'EMQX_COOKIE=%s\n' "$(openssl rand -hex 32)" > .env && chmod 600 .envThe Compose file pins the version and gives the node a stable name. EMQX stores its database in a directory named after the node, so a name that changes between restarts loses data. It also starts with the hardened security profile, which EMQ recommends for new deployments and plans to make the default in 7.0; that profile refuses to start with the stock Erlang cookie, hence the random one in .env.
# /srv/emqx/compose.yaml
services:
emqx:
image: emqx/emqx-enterprise:6.3.2
container_name: emqx
hostname: node1.emqx.internal
restart: unless-stopped
environment:
EMQX_NODE_NAME: emqx@node1.emqx.internal
EMQX_NODE__COOKIE: ${EMQX_COOKIE:?missing in .env}
EMQX_SECURITY_PROFILE: hardened
EMQX_LISTENERS__SSL__DEFAULT__SSL_OPTIONS__CERTFILE: /opt/emqx/etc/le/fullchain.pem
EMQX_LISTENERS__SSL__DEFAULT__SSL_OPTIONS__KEYFILE: /opt/emqx/etc/le/privkey.pem
EMQX_LISTENERS__WSS__DEFAULT__SSL_OPTIONS__CERTFILE: /opt/emqx/etc/le/fullchain.pem
EMQX_LISTENERS__WSS__DEFAULT__SSL_OPTIONS__KEYFILE: /opt/emqx/etc/le/privkey.pem
ports:
- "8883:8883"
- "8084:8084"
- "127.0.0.1:1883:1883"
- "127.0.0.1:18083:18083"
volumes:
- ./data:/opt/emqx/data
- ./log:/opt/emqx/log
- ./certs:/opt/emqx/etc/le:roPoint the DNS name your devices will use at the VPS and obtain a certificate before the first start, since the TLS listeners refer to it. Certbot keeps its private key owned by root with mode 0600, behind symlinks, and neither survives a bind mount into a container running as UID 1000. Copying the files in a deploy hook solves both. The restart in the hook disconnects every client once per renewal, roughly every two months; if that bothers you, EMQX 6.3 also offers an ACME plugin that renews inside the broker.
certbot certonly --standalone -d mqtt.example.org \
--deploy-hook 'install -o 1000 -g 1000 -m 0600 "$RENEWED_LINEAGE"/fullchain.pem "$RENEWED_LINEAGE"/privkey.pem /srv/emqx/certs/ && { docker restart emqx || true; }'
docker compose up -dUnder the hardened profile the dashboard refuses the default admin/public login, so set a real password first, then open a tunnel from your workstation and browse to http://localhost:18083:
docker exec emqx emqx ctl admins passwd admin '<long passphrase>'
ssh -N -L 18083:127.0.0.1:18083 root@<your-vps-ip>The loopback bindings in the Compose file are the real access control here. The official image binds every listener to all interfaces inside the container, under either profile, so publishing is what decides exposure; and Docker forwards published ports through its own iptables rules before ufw's input rules see the traffic, so a host firewall rule for 18083 would not stop a port published on all addresses.
The hardened profile also closes MQTT by default: clients are refused until an authenticator exists, and the default file authorization ends in deny. In the dashboard, under Access Control, add a password-based authenticator backed by the built-in database, create one credential per device, and edit the File authorization source so that each device reaches only its own topics, for example with {allow, all, all, ["devices/${username}/#"]}. above the final rule. Key the rule on ${username} rather than ${clientid}: the client ID is whatever a device claims, the username is what it proved. Test from any machine with the Mosquitto clients installed:
mosquitto_pub -h mqtt.example.org -p 8883 --capath /etc/ssl/certs \
-i sensor-01 -u sensor-01 -P '<device password>' \
-t devices/sensor-01/up -m '{"t":21.4}'For backups, docker exec emqx emqx ctl data export writes an archive of the configuration and built-in database to /opt/emqx/data/backup; ship it off the server with rclone or restic to an object storage bucket through the S3 API. A backup exported from a node on the legacy profile is refused by a hardened node by default, which matters if you are migrating from an older broker.
Pin the image tag and read EMQ's incompatible-changes page before every bump. Version 6.3 is a good example of why: its MQTT parser is strict by default and rejects packets that earlier releases accepted, such as an MQTT 3.1.1 CONNECT carrying a password without a username, or invalid UTF-8 in a string field, both of which old firmware does send. Setting mqtt.strict_mode = false restores the lenient behaviour while you fix the devices. The image itself has been built on Docker's hardened Debian 13 base since 6.3.1 and contains no apt, so any extra tooling goes into a custom image, never into a running container.
05/06
Cost.
| Item | Per month |
|---|---|
| Cloud VPS Standard (4 vCPU, 4 GB, 160 GB NVMe, 15 TB transfer, 1 Gbps) | $12.99 |
| Daily backups (+20 %) | $2.60 |
| Object storage, 250 GB, for EMQX exports | $1.99 |
| Example total (theoretical) | $17.58 |
EMQX itself costs nothing on a single node under its Community License; a commercial license, for clustering or for reselling EMQX as a service, is priced by EMQ and not by us. Yearly billing takes roughly 25 % off the VPS, which puts Standard alone at $116.99 a year. An extra IPv4 address is $2 a month and priority support $10 a month. Payment is in crypto only (Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins), with prices and balances in US dollars. Top-ups run from $25 to $5,000, with a bonus of 5 % from $50, 10 % from $100, 15 % from $250 and 20 % from $500, and the unused paid part of a top-up is refundable within 14 days. Every plan and option is listed on the pricing page.
06/06
Limits and acceptable use.
Two sets of rules apply to an EMQX server here, and only one of them is ours. EMQ's license lets you run any number of independent single-node instances in production, provided you do not offer EMQX itself as a hosted service to third parties or embed it in a product you sell. A multi-tenant broker for paying customers, or a two-node cluster for failover, needs a commercial license from EMQ, and the 15-day trial license (10,000 concurrent sessions) is explicitly excluded from production use. We do not police EMQ's terms; you carry them.
Our own rules concern what the broker is used for. An internet-facing MQTT broker is a familiar command-and-control channel for compromised IoT devices. Using EMQX on our network to steer devices you are not authorized to operate, botnets included, is not allowed under our acceptable use policy, and neither is using it to drive denial-of-service traffic. Keeping the broker closed is your obligation as the customer: authentication on every listener, the dashboard off the public interface, and the image kept current. Scanners index MQTT ports continuously, and a broker that accepts any client becomes a relay for whoever finds it first.
If your devices report anything tied to a person, a vehicle's position or a household's consumption for instance, that telemetry is personal data, and as the controller you answer for it under the revised Swiss Federal Act on Data Protection, in force since 1 September 2023. For fleets in the EU, the European Commission confirmed on 15 January 2024 that Switzerland's adequacy decision remains in force, so personal data can flow from the EU to a server in ALP1 without additional safeguards.
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can I run an EMQX cluster across several of your servers?
Technically yes. EMQX nodes talk over Erlang distribution and a separate RPC channel, which you would protect with TLS and with firewall rules limited to the peer addresses. Legally, a production cluster of two or more nodes requires a commercial license from EMQ. Without one, the honest options are a larger single node or several independent single nodes, each serving its own part of the fleet.
Should I run Mosquitto instead?
For a few hundred devices and no rule engine, often yes. Eclipse Mosquitto is a small single-process broker under the EPL-2.0 and EDL-1.0 licenses, fits comfortably on Starter and carries no node-count condition. EMQX earns its larger footprint when you want the rule engine, the built-in data integrations, the dashboard and pluggable authentication backends in one process.
Is plain MQTT on port 1883 acceptable if devices use passwords?
No. On 1883 the username and password travel in clear text, and so does every payload. Keep 1883 on loopback for local services and give devices 8883, or 8084 for browsers. Hardware too constrained for TLS is better served by a gateway on its local network than by an exposed plain-text port.
Which image and version should I pin?
emqx/emqx-enterprise:6.3.2 as of 4 November 2026, the latest release of the 6.3 long-term support line. Pin the exact tag rather than latest, read the release notes before each change, and test a new tag against a few real devices first, since the strict parser in 6.3 can reject clients that 6.2 accepted.
Where does the broker's data sit, and which law applies?
On your VPS in ALP1, in the Swiss Alps, operated by Hosta AG, société anonyme suisse (IDE CHE-107.875.655), Käppeligasse 1, 4125 Riehen, Switzerland. Swiss law governs us as the operator, and our offshore hosting page sets out the jurisdiction in more detail. As of 31 October 2026, the US Department of Justice lists CLOUD Act executive agreements with the United Kingdom and Australia only, none with Switzerland. That is a narrower statement than "outside US jurisdiction", and the narrower one is the only one we make. For anything not covered here, open a support ticket from the client panel.
Sources
Every fact on this page, with its source
Accessed 4 Nov 2026 unless noted.
Swiss law and authorities
- Revised FADP in force since 1 September 2023Fedlex, RS 235.1
EU and other countries
- Switzerland's adequacy confirmed by the European Commission on 15 January 2024European Commission, adequacy decisions
- CLOUD Act executive agreements limited to the United Kingdom and Australiajustice.gov · verified 31 Oct 2026
Industry, providers and software
- Native packages for Debian 11, 12 and 13EMQX docs, Install EMQX on Debian
Other references
- EMQX 6.3.2 released on 16 October 2026; release history of the 6.x and 5.x linesEMQX Enterprise release notes
- 6.3 as a long-term support release, ESSENTIAL feature set under 100 MB idle, more than 50 data integrations, hardened profile planned as the 7.0 default, CPU-aware scheduler defaultsemqx.com
- BSL 1.1 from 5.9.0, free single-node production use, unlimited independent single nodes, clustering under commercial license, conversion to Apache 2.0 after four yearsEMQX Licensing FAQ
- Free-use conditions (no hosted service, no embedding in a product sold)emqx.com
- Community License limited to one node; trial license 15 days, 10,000 concurrent sessions, not for productionEMQX docs, Work with License
- emqx/emqx-enterprise:6.3.2 image, stable node name, UID 1000 for mounted directories, hardened Debian 13 base without package manager since 6.3.1, default listener address in DockerEMQX docs, Install EMQX using Docker
- Hardened profile: cookie check, mandatory authentication, deny-by-default file authorization, default dashboard password refused, backup profile checkEMQX docs, Security Profiles
- Default ports, including 4370 and 5370 (5369 in Docker) opened even without a clusterEMQX docs, Installation and Deployment
- Strict MQTT parsing by default in 6.3 and mqtt.strict_modedocs.emqx.com
- Docker Official Image emqx no longer published for 5.9.0 and laterDocker Hub, emqx official image notice
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
