Video coming soon…

📡 Setup EMQX — High-Performance, Scalable MQTT Broker

Deploy EMQX on Ubuntu with Docker — a massively scalable MQTT broker for IoT messaging, with a rich management dashboard, handling everything from a home lab to millions of devices, MQTT on port 1885.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

Automated install script — deploys EMQX with MQTT on port 1885, secure MQTT on 8883, and the dashboard on 18083. Default dashboard login is admin / public — change it on first sign-in.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/iot/emqx/emqx-ubuntu.sh
chmod +x emqx-ubuntu.sh
sudo bash emqx-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/iot/emqx/emqx-ubuntu.sh

2 Make it Executable

chmod +x emqx-ubuntu.sh

3 Run the Installer

The script installs Docker if needed and starts EMQX, exposing MQTT on port 1885, secure MQTT (TLS) on 8883, and the management dashboard on 18083. Its data and logs are kept in mounted volumes.

sudo bash emqx-ubuntu.sh

4 Open the Dashboard and Change the Password

Open the EMQX dashboard, log in with the default admin / public credentials, and change the password immediately:

http://<your-server-ip>:18083

Ports Used

PortPurpose
1885MQTT (host → container 1883)
8883Secure MQTT over TLS
18083Management dashboard — default login admin / public, change it

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions