Open the server Apps tab
Select the tutorial-vps VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Add your server credentials to Server Compass
Choose from our template library
Fill in settings and click Deploy
Use the EMQX template in Server Compass to deploy a self-hosted MQTT broker on your VPS, then verify the EMQX dashboard in a browser.
Select the tutorial-vps VPS, open the Apps tab, and start a new app deployment. Keep sensitive server details hidden before capturing or sharing screenshots.

Click New App and choose the template deployment path so Server Compass can load the built-in catalog.

Use the template picker search to find EMQX in the Server Compass template catalog.

Choose the EMQX template. Server Compass fills the EMQX broker service, MQTT port, WebSocket port, dashboard port, and persistent data/log volumes.

Confirm the app name and compose services. In this run, the app was named emqx-demo, with MQTT on 1883, WebSocket on 8083, and the dashboard on 18083.

Review the generated compose settings, confirm the MQTT, WebSocket, and dashboard ports are available, and click Deploy Now.

Keep the deployment modal open while Server Compass uploads the compose file, pulls the EMQX image, starts the container, and verifies the stack.

After deployment finishes, return to the Apps tab and confirm the EMQX app is marked Running with its application URL available.

Open the dashboard URL in a browser. The EMQX dashboard login screen confirms the MQTT broker stack is reachable.

The EMQX dashboard loaded successfully in a browser and displayed the login screen.
It deploys the EMQX broker with persistent data and log volumes, MQTT access, WebSocket access, and the EMQX dashboard.
The tutorial verified the dashboard on host port 18083. MQTT used host port 1883, and WebSocket access used host port 8083.
A fresh EMQX deployment is considered reachable when the dashboard login screen loads. Users, ACLs, TLS, listeners, and integrations are environment-specific.
No. The deployment guide should live on the EMQX template detail page and be linked from the reusable template deployment docs page.
Want full control? Here's how to deploy EMQX yourself using Docker Compose.
Connect to your remote server using SSH. Make sure you have your server credentials ready.
# Log into your server
ssh root@<your-server-ip>
# If using key-based auth
ssh -i ~/.ssh/my-key root@<your-server-ip>First time? Docker not installed? Run: curl -fsSL https://get.docker.com | sh
Set up a directory to store your Docker configuration.
# Create and navigate to project directory
mkdir -p ~/apps/emqx
cd ~/apps/emqxAdd this configuration to your docker-compose.yml file:
services:
emqx:
image: emqx/emqx:latest
ports:
- "1883:1883"
- "8083:8083"
- "18083:18083"
volumes:
- emqx_data:/opt/emqx/data
- emqx_log:/opt/emqx/log
restart: unless-stopped
volumes:
emqx_data:
emqx_log:
PORTMQTT port(default: 1883)WS_PORTWebSocket port(default: 8083)DASHBOARD_PORTDashboard port(default: 18083)Execute the deployment and check the container status.
# Deploy the application
docker compose up -d
# Check container health
docker compose ps
# Monitor logs
docker compose logs -f --tail=100Enable network access by updating your firewall rules.
# Allow the application port through firewall
sudo ufw allow 1883/tcp
sudo ufw reload
# Access your app at:
# http://your-server-ip:1883Skip the terminal and deploy EMQX with a visual interface. Configure everything with clicks, not commands.
After deploying EMQX with Server Compass, complete these steps to finish setup
Access dashboard
Change admin password
Configure authentication
Need help? Check out our documentation for detailed guides.
Common questions about self-hosting EMQX
Simply download Server Compass, connect to your VPS, and select EMQX from the templates list. Fill in the required configuration and click Deploy. The entire process takes under 3 minutes.
EMQX requires a minimum of 512MB RAM. We recommend a VPS with at least 1024MB RAM for optimal performance. Any modern Linux server with Docker support will work.
Yes! Server Compass provides volume mapping that allows you to import existing data. You can also use standard EMQX backup and restore procedures.
Server Compass makes updates easy. Simply click the Update button in your deployment dashboard, and the latest EMQX image will be pulled and deployed with zero downtime.
EMQX is open-source software. You only pay for your VPS hosting (typically $5-20/month) and optionally Server Compass ($29 one-time). No subscription fees or per-seat pricing.

Open-source backend in a single file with realtime database, auth, and file storage

Open-source backend-as-a-service - self-hosted Firebase alternative

Open-source backend framework with dashboard

Full Supabase self-hosted with Kong, GoTrue Auth, Realtime, and Studio
Download Server Compass and deploy EMQX to your VPS in under 3 minutes. No Docker expertise required.
Download Server Compass