EMQX is the most scalable and popular open-source MQTT broker with a high performance that connects 100M+ IoT devices in 1 cluster at 1ms latency. Move and process millions of MQTT messages per second.
The EMQX v5.0 has been verified in test scenarios to scale to 100 million concurrent device connections, which is a critically important milestone for IoT designers. It also comes with plenty of exciting new features and huge performance improvements, including a more powerful rule engine (https://www.emqx.com/en/solutions/iot-rule-engine), enhanced security management, Mria database extension, and much more to enhance the scalability of IoT applications.
During the last several years, EMQX has gained popularity among IoT companies and is used by more than 20,000 global users from over 50 countries, with more than 100 million IoT device connections supported worldwide.
For more information, please visit the EMQX homepage (https://www.emqx.io/).
Installation
sudo snap install emqx
Quick Start
# Start emqx
sudo emqx start
# Check Status
sudo emqx.ctl status
# Stop emqx
sudo emqx stop
To view the dashboard after running, use your browser to open: http://localhost:18083
Configuration
By default, the configuration file for EMQX is stored in the /snap/emqx/current/emqx/snap_data
directory.
ubuntu@test:~$ ls -l /snap/emqx/current/emqx/snap_data
total 0
drwxr-xr-x 5 root root 103 Sep 15 17:35 data
drwxr-xr-x 5 root root 144 Sep 15 17:35 etc
If the default configuration file does not meet your actual needs, you can copy the default configuration file to the user configuration directory and modify it. The file in the user configuration directory will overwrite the default configuration file.
# Go to the default configuration directory
cd /snap/emqx/current/emqx/snap_data
# Copy the default configuration file to the user configuration directory and modify it
sudo cp -r -n ./* /var/snap/emqx/common/
FAQ
Visiting EMQX FAQ (https://www.emqx.io/docs/en/v4.4/faq/faq.html) to get the help of common problems.
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Snap can be installed from the command line. Open the Konsole terminal and enter the following:
sudo apt update
sudo apt install snapd
To install EMQX, simply use the following command:
sudo snap install emqx
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.
Get to know Canonical, the company behind the products.
The world's favourite Linux OS for servers, desktops and IoT.
One subscription for security maintenance, support, FIPS and other compliance certifications.
The app store for Linux: secure packages and ultra-reliable updates.
A pure-container hypervisor. Run system containers and VMs at scale.
Build a bare metal cloud with super fast server provisioning.
Upgrades, maintenance, support, and fully managed options for long-term, low-cost infra.
Software-defined storage that lowers your total cost of ownership.
App portability for K8s on VMware, Amazon, Azure, Google, Oracle, IBM and bare metal.
Deploy, integrate and manage applications at any scale, on any infrastructure.
Stream Android applications to any device.
The software collaboration platform behind Ubuntu.
Optimised Ubuntu for public clouds.
Spin up Ubuntu VMs on Windows, Mac and Linux.
Control and customise your cloud instances.
Systems management and security patching for Ubuntu.
Simplify and standardise complex network configuration.
AI and MLOps at any scale, on any cloud.
Deploy a fully functional cloud in minutes.