Overview
This AMI runs an MQTT message broker built on the open-source EMQX 5.8.9 community edition on Ubuntu 24.04 LTS. MQTT is a lightweight publish-subscribe protocol widely used for IoT devices, telemetry and messaging between services. The vendor image is pinned and baked into the AMI, so first start does not depend on a registry.
What Perimattic adds
Closed by default: the stock broker accepts anonymous connections and its dashboard ships a published default login. Here a 24-character administrator credential is generated on your server at first login and wired into the broker's authentication chain and the dashboard's login before the broker ever starts, so the MQTT port has never accepted an unauthenticated connection. Setup checks that an unauthenticated client, a wrong password and the dashboard's stock default login are all refused, and that the generated credential works, before the site is published.
The dashboard is not published through Apache in this build; reach it with an SSH tunnel (the exact command is printed at the end of setup). Only ports 22, 80, 443 and 1883 (the MQTT listener) are open. Pinned and patched: the application version is fixed, not latest, and Ubuntu 24.04 LTS is built through an automated EC2 Image Builder pipeline with security updates applied at build time.
Limits you should know
The MQTT listener is plain TCP, not TLS, so message content after the password handshake travels in the clear; restrict the security group to trusted networks or tunnel over SSH if that matters for your workload. This is a single-node broker with one administrator account, who has full access; additional users and topic rules can be created from the dashboard. The static HTTPS page on your domain only confirms the broker is running; it is not a management interface.
Licence and attribution
Built on the open-source EMQX community edition (Apache License 2.0). Not affiliated with, endorsed by, or sponsored by EMQ Technologies; EMQX is a trademark of its owner.
Getting Started Launch the AMI and open ports 22, 80, 443 and 1883 in the security group SSH in and answer the setup prompts (domain and admin email) Connect your MQTT client to your-domain port 1883 with the username and password printed at the end of setup Tunnel to port 18083 over SSH to reach the dashboard with the same credential
A domain name with an A record pointing at the instance is required, because the status page is served over HTTPS.
This AMI is built and supported by Perimattic.
Book a free setup consultation at https://cal.com/gaurav-pareek-perimattic/marketplace-setup-consultations or email us at aws-support@perimattic.com .
Support Managed and supported by Perimattic, a cloud infrastructure company with 13+ years of experience serving global clients. We offer free setup assistance, custom integrations, infrastructure consulting, and 24/7 support.
Highlights
- MQTT message broker built on EMQX 5.8.9 community edition (Apache-2.0), pinned and pre-installed.
- Secure first login: a generated 24-character credential is required by the broker and the dashboard before either ever starts; anonymous connections, wrong passwords and the dashboard's stock default login are all refused. HTTPS status page through Apache and Let's Encrypt.
- Built on patched Ubuntu 24.04 LTS and supported by Perimattic: free setup assistance at aws-support@perimattic.com.
Details
Features and programs
Financing for AWS Marketplace purchases
Pricing
- ...
Dimension | Cost/hour |
|---|---|
t3.medium Recommended | $0.03 |
t3.micro | $0.03 |
c3.2xlarge | $0.03 |
c3.4xlarge | $0.03 |
c3.8xlarge | $0.03 |
c3.large | $0.03 |
c3.xlarge | $0.03 |
c4.2xlarge | $0.03 |
c4.4xlarge | $0.03 |
c4.8xlarge | $0.03 |
Vendor refund policy
For any questions or concerns, please contact: Perimattic.com Email: aws-support@perimattic.com
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
64-bit (x86) Amazon Machine Image (AMI)
Amazon Machine Image (AMI)
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Initial release.
- Application: MQTT Message Broker 5.8.9 (container image pinned, baked into the AMI).
- Base: Ubuntu 24.04 LTS, fully patched at build time, built by an automated EC2 Image Builder pipeline.
- TLS: Apache reverse proxy with a Let's Encrypt certificate requested by certbot at first login.
- Credentials are generated on the instance at first login; none are present in the image.
- The broker and dashboard credential is generated at first login (24 characters) and wired into the authentication chain before the broker starts; anonymous connections and the dashboard's stock default login are refused, and setup verifies this before the site is published.
- EMQX 5.8.9 community edition (Apache-2.0, unmodified vendor image) runs with a generated administrator credential; the dashboard is reachable only over an SSH tunnel, never through Apache.
- The MQTT listener (port 1883) is plain TCP, not TLS; restrict the security group or tunnel over SSH if that matters for your workload.
Additional details
Usage instructions
-
Launch an Instance
From AWS Marketplace, click Continue to Subscribe and then Continue to Configuration to launch the AMI.
-
Choose the Recommended Instance Type
t3.small (2 GB of memory) is the recommended size: the broker used about 220 MB at idle in our tests. Choose t3.medium or larger for a high volume of concurrent devices or messages.
-
Configure Security Group
Allow inbound traffic on the following ports:
- 22 (SSH) - terminal access for setup
- 80 (HTTP) - needed to validate your domain for the TLS certificate
- 443 (HTTPS) - access to MQTT Message Broker
- 1883 - the MQTT broker, authenticated as described above
-
Point a domain at the instance
Create a DNS A record (for example mqtt.example.com) pointing to the instance's public IP before you log in.
-
Connect to the Instance
ssh -i <your-key.pem> ubuntu@<public-ip>
-
First-Login Setup
The first SSH login runs a guided setup:
- Prompts for your domain and admin email and checks the DNS A record
- Generates a random 24-character broker credential on your server and wires it into the authentication chain and the dashboard's default login
- Starts the broker, then checks that an unauthenticated client, a wrong password and the dashboard's stock default login are refused, and that the generated credential works
- Configures Apache as an HTTPS reverse proxy for a static status page and requests a Let's Encrypt certificate
- Prints the broker address and credential; they are also stored in /opt/app/access.txt (root only)
If a step fails, fix the problem shown and log in again: the setup resumes where it stopped.
-
Access MQTT Message Broker
Connect your MQTT client to <your-domain>:1883 with the username and password printed at the end of setup (view it again with: sudo cat /opt/app/access.txt). The same file has the SSH tunnel command for reaching the dashboard at port 18083 from your computer.
-
Credentials
Generated on your server, never shared between customers. View them again with:
sudo cat /opt/app/access.txt
-
Manage the Services
cd /opt/app sudo docker compose ps sudo docker compose restart
Retained messages and broker metadata are stored in /opt/app/data; back it up or snapshot the volume before upgrades. The dashboard is reachable only over an SSH tunnel to port 18083.
Thank you for subscribing.
Need Support or Customization? Perimattic's team can help with setup issues, custom features and integrations:
Email us: aws-support@perimattic.com WhatsApp: +91-92142 66896 Learn more: <www.perimattic.com >
We offer free setup assistance, custom development and integrations, and infrastructure consulting.
Resources
Vendor resources
Support
Vendor support
Support by Perimattic
Perimattic provides 24/7 support for all AWS Marketplace products. Our team has 13+ years of cloud infrastructure expertise serving global clients.
Contact Channels: Email: aws-support@perimattic.com WhatsApp: +91-92142 66896 Website: <www.perimattic.com >
What We Help With: Initial setup and configuration assistance (free) Troubleshooting connectivity, performance, and backup issues Custom development and integrations Infrastructure consulting and architecture review Migration planning from other solutions Automation solutions and scaling guidance
Instance Sizing Guidance: t2.medium or t3.medium: Development environments, small applications m5.large: Production workloads with moderate traffic m5.xlarge: High-traffic production deployments and larger datasets
For workload-specific sizing recommendations, contact our team for a free consultation.
Refunds and Issues: If you experience any issues or need to request a refund, contact us at aws-support@perimattic.com and we will respond promptly.
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.