← Back to list

EMQ + EMQ-AM = ❤

EMQ is the most popular MQTT broker written in Erlang. EMQ has a dashboard for backend management like enabling plugin or disable plugin…

Sakib Sami in Coders Garage · 2017-12-02 18:02 · 24 claps · 1.6 min read
#docker #mqtt #emqtt #golang #iot
Open on Medium ↗
Wiki topics: BIZ · Business Strategy 🌐 · Web Development ☁️ · DevOps & Cloud 📟 · Gadgets & IoT 🎬 · Film & Television

EMQ + EMQ-AM = ❤

EMQ is the most popular MQTT broker written in Erlang. EMQ has a dashboard for backend management like enabling plugin or disable plugin, change plugin configuration etc.

But it hasn’t a full featured ACL management. So I decide to develop one. And as per that I have developed a Golang based RESTful web service to manage Authentication & Authorisation named EMQ-AM.

EMQ-AM works with EMQ’s emq-http-auth plugin.

How To :

Install EMQ-AM.

  1. Install binary and Change configuration. See This

or

  1. Install docker image. See This
docker run -v i_am_here:/etc/config -p 8090:8090 sakibsami/emq-am:latest 

i_am_here is your current path having configuration. Application look at /etc/config/ /app/etc/ /etc/ for configuration.

Setup EMQ broker and then login to dashboard. From there navigate to plugins. You will find there emq_auth_http.

Click on Config.

Change

auth.http.acl_req to {{your_host}}/acl

auth.http.auth_req to {{your_host}}/auth

Click Confirm to save.

Now use EMQ-AM’s RESTful API to create user and to do other stuffs.

Check EMQ-AM’s README for documentation.

I am planing to make a Dashboard, so anyone can use the service from UI either in React or Angular. If you are interested feel free to ping root[at]sakib[dot].ninja . Also feel free to contribute to EMQ-AM project, create issue if you want any feature or improvement.

Project Repository :

EMQ : https://github.com/emqtt/emqttd

EMQ-AM : https://github.com/s4kibs4mi/emq-am


메타데이터
post_id
99652f2e1002
slug
emq-emq-am-99652f2e1002
url
https://medium.com/codersgarage/emq-emq-am-99652f2e1002
canonical_url
https://medium.com/codersgarage/emq-emq-am-99652f2e1002
author_url
https://medium.com/@sakibsami
status
ok
fetched_at
2026-07-30 08:21:23