Katman MQTT Client
Loading account

Cloud MQTT Brokers Compared: EMQX, HiveMQ, AWS and Azure

Compare managed cloud MQTT brokers by pricing, setup and project fit. Choose an endpoint and plan a practical evaluation with the Katman MQTT client.

By Katman

A small device prototype and a factory connecting thousands of machines can use the same MQTT protocol while needing very different cloud services. The useful questions are who manages the broker, how clients authenticate, and what happens to the bill as connections and message traffic grow.

The broker runs in the cloud. The Katman MQTT client gives you a separate workspace for inspecting messages while you evaluate a connection. This guide compares four managed services: EMQX Cloud, HiveMQ Cloud, AWS IoT Core and Azure Event Grid's MQTT broker.

Provider information was checked on 18 November 2026. This is a comparison of documented plans and capabilities; no performance ranking or hosted-service benchmark is claimed.

Which cloud MQTT broker fits your project?

Service A useful starting point for What to check first
EMQX Cloud A managed prototype with usage-based billing, or a dedicated MQTT deployment Session minutes, traffic allowance and the selected plan's limits
HiveMQ Cloud Teams evaluating dedicated managed MQTT and defined support options The runtime charge, message charge and support tier
AWS IoT Core Device applications already using AWS services Device authentication, IoT policies and the total cost of connected services
Azure Event Grid MQTT Applications using Azure identities, topic permissions and event routing Namespace capacity, permissions and operation charges

These are starting points for a shortlist. Your region, network requirements and message pattern should decide which service stays on it.

EMQX Cloud: start with usage, then check the deployment plan

EMQX Cloud offers Serverless, Dedicated Flex and bring-your-own-cloud plans. For a small managed project, Serverless is worth evaluating before reserving dedicated capacity.

Its current monthly free allowance includes 1 million session minutes, 1 GB of public network traffic and 1 million rule-action executions. Paid usage above those allowances is metered separately. Dedicated Flex uses a different model based on reserved capacity and public outbound traffic.

A connection allowance is easy to underestimate: 50 clients connected throughout a 30-day month consume 2.16 million connection minutes. A project can exceed the session allowance even when its messages are small. Also check whether your spend-limit setting suspends the service or allows billing to continue.

Source: EMQX Cloud, Product Plans and Pricing and Billing.

HiveMQ Cloud: evaluate Starter and Enterprise

HiveMQ Cloud's current managed options include Starter and Enterprise. Starter advertises pricing from $0.34 per hour plus $0.80 per million messages; Enterprise uses a capacity-based quote. Compare the support, availability and networking features of the actual tier you intend to buy.

An important change affects older comparisons: HiveMQ Cloud Serverless is closed to new deployments and retires on 31 December 2026. Existing Serverless Free and Pay As You Go clusters are affected. After that date, clients can no longer connect to those clusters, and migration is not automatic.

For a new cloud project, evaluate the current managed plans rather than building around the former Serverless free offer.

Sources: HiveMQ, Platform Pricing and HiveMQ Cloud Serverless End of Life.

AWS IoT Core: consider the surrounding device application

AWS IoT Core is a candidate when your devices already feed an AWS application. Alongside MQTT messaging, it provides device-oriented services such as a registry, Device Shadows and a rules engine for processing and routing data.

Plan authentication and topic permissions early. One documented connection path uses MQTT over TLS on port 8883 with an X.509 client certificate and an AWS IoT policy. Other authentication paths have their own requirements.

AWS supports MQTT 3.1.1 and MQTT 5 with documented differences from the standards. It supports QoS 0 and 1, but not QoS 2. Include those differences in your evaluation before moving an existing workload.

Sources: AWS IoT Core, MQTT, Device communication protocols and Pricing.

Azure Event Grid: check the namespace and topic permissions

For this comparison, the Azure option is the MQTT broker in an Event Grid namespace, in the Standard tier. It supports MQTT 3.1.1 and MQTT 5 over TLS, including secure WebSocket connections.

Its access model groups clients and topics, with permissions controlling who can publish or subscribe. That deserves a small proof of concept if your application already uses Azure identities and event-routing services. The documented broker supports QoS 0 and 1.

Pricing combines namespace throughput units with operations. The published monthly free allowance for MQTT operations does not mean namespace capacity is free. Estimate both parts in the region you will use.

Sources: Microsoft, MQTT (PubSub) Broker, MQTT features supported, Access control for MQTT clients and Event Grid pricing.

Compare the same workload, not just “per million messages”

The services meter different things:

Service or plan Main billing inputs to model
EMQX Serverless Session minutes, inbound/outbound public traffic and rule actions
HiveMQ Cloud Starter Broker runtime and message volume
AWS IoT Core Connectivity, messages and the additional features you use
Azure Event Grid namespace Throughput-unit hours and operations

For example, suppose 100 sensors each publish once per minute for 30 days. That is 4.32 million publications. If three separate subscribers receive every publication, the broker also makes 12.96 million deliveries.

Those are workload counts, not a provider's final billable units. Payload size also matters: AWS meters MQTT messages in 5 KB increments, while Azure's pricing page specifies 64 KB units for operations. Add connection time, data transfer, rules and downstream storage to the estimate. Use current regional prices for the final calculation.

Evaluate the shortlist with the Katman MQTT client

Before committing to a service, try the same small workflow on each candidate:

  1. Configure two separate client identities with the intended TLS authentication.
  2. Publish and receive a known message on an allowed topic.
  3. Confirm that a client cannot publish or subscribe to a forbidden topic.
  4. Test the reconnect, retained-message and offline-session behavior your application needs.
  5. If you use MQTT 5 request/response, verify that the reply carries the expected correlation data.

Use the Katman MQTT client for the message-inspection part of that evaluation. Keep the topic and payload consistent between candidates; the Publish Templates guide explains how to prepare reusable test messages. For command/reply workflows, follow the Request Response guide.

Choose the cloud MQTT broker that fits your device permissions, operating needs and measured workload. A successful connection is the beginning of that check; the behavior after reconnects and during normal message traffic matters too.