Independent ActiveMQ handbook · archive of the 2004–2007 project site
Independent guide. Not the Apache ActiveMQ project site and not affiliated with the Apache Software Foundation. ActiveMQ and Apache are trademarks of the ASF. Official documentation: activemq.apache.org.

activemq.org › Handbook › Amazon MQ: what it is and how it compares with SQS

Handbook

Amazon MQ: what it is and how it compares with SQS

Checked against ActiveMQ Classic 6.4.0, 6.3.3 and 5.19.12 and Apache Artemis 2.57.0 on . Independent guide; sources are listed at the end. Official documentation: activemq.apache.org and artemis.apache.org.

Amazon MQ is AWS's managed message broker service for Apache ActiveMQ Classic and RabbitMQ. AWS sets up, operates and maintains the brokers, and your applications connect with standard messaging protocols, so existing ActiveMQ or RabbitMQ code can move without rewriting its messaging layer.

The ActiveMQ engines it runs are Apache ActiveMQ releases, and AWS's developer guide points to the Apache ActiveMQ documentation for broker features. Apache Artemis (formerly ActiveMQ Artemis) is not one of the two engines AWS names; see ActiveMQ Classic vs Artemis for how they differ.

What does Amazon MQ manage for you?

According to the Amazon MQ developer guide, the service takes over these jobs:

  • Maintenance and upgrades. AWS performs maintenance and engine version upgrades during a maintenance window you schedule.
  • Monitoring. Broker and queue metrics go to Amazon CloudWatch automatically, every minute.
  • Security. Messages are encrypted at rest and in transit, connections to the broker use SSL, access can be limited to a private endpoint in your VPC, and IAM controls which actions users can take on brokers.
  • Cross-region replication. For ActiveMQ, cross-region data replication copies messages asynchronously from a primary broker in one AWS Region to a replica broker in another, and an API call can swap their roles.

Broker configuration still uses ActiveMQ's Spring XML format, similar to activemq.xml, but with limits. Amazon MQ controls some elements itself, such as network transports and storage, and accepts only the options in its published XML schemas. Configuration changes are not applied at once: they take effect at the next maintenance window or when you reboot the broker.

Which ActiveMQ versions does Amazon MQ support?

The AWS page on managing ActiveMQ engine versions showed this table when checked on 6 December 2026:

Apache ActiveMQ versionEnd of support on Amazon MQ
ActiveMQ 5.19 (recommended)No date listed
ActiveMQ 5.18No date listed
ActiveMQ 5.17June 16, 2025
ActiveMQ 5.16November 15, 2024
ActiveMQ 5.15September 16, 2024

No 6.x engine appears in that table, while the newest upstream release on activemq.apache.org is 6.4.0 (27 October 2026). The upstream project lists 5.18.x as Inactive, meaning it gets no community updates; 5.19.x is the maintained 5.x series. If your applications need a 6.x broker, Amazon MQ did not offer one at the time of this check. The ActiveMQ version history page explains what changed in 6.x.

AWS's version rules, from the same page:

  • A change in the major number (5.17 to 6.0, in AWS's example) is a major upgrade; a change in the minor or patch number is a minor upgrade.
  • With automatic minor version upgrades turned on, AWS moves your broker to the newest supported patch version during the maintenance window.
  • If you create a broker without naming an engine version, Amazon MQ uses the latest one.
  • AWS gives at least 90 days' notice before a version reaches end of support. After that date it upgrades remaining brokers to the next supported version during their maintenance windows, within 45 days. New brokers cannot be created on a version within 30 days of its end-of-support date.

Adapted from the Amazon MQ developer guide, listing the supported ActiveMQ engine versions for one instance type with the AWS CLI (the guide's example uses activemq and mq.m5.large):

aws mq describe-broker-instance-options --engine-type activemq --host-instance-type mq.m5.large

Deployment options for ActiveMQ brokers

Amazon MQ offers two deployment modes for ActiveMQ:

  • Single-instance broker. One broker in one Availability Zone, with an Amazon EBS or Amazon EFS storage volume. AWS describes EFS as storing data redundantly across multiple Availability Zones, and EBS as block storage optimized for low latency and high throughput.
  • Active/standby broker. Two brokers in two Availability Zones, configured as a redundant pair and using Amazon EFS. Usually only one is active. If it fails or undergoes maintenance, the standby takes over after a short while; for a reboot you start, the failover takes a few seconds.

An active/standby broker has two web console URLs and two endpoints for each protocol, with -1 and -2 suffixes, and only one of each pair is active at a time. AWS advises configuring clients with ActiveMQ's failover transport so they can connect to either endpoint. The 2006 archive page /site/failover-transport-reference.html shows the transport's early history; use the current ActiveMQ documentation for syntax.

For RabbitMQ brokers, AWS's pricing page also lists a 3-node cluster, which uses three broker instances, and notes that RabbitMQ brokers all use Amazon EBS storage.

Protocols and ports

ActiveMQ brokers on Amazon MQ accept AMQP, MQTT, MQTT over WebSocket, OpenWire, STOMP and STOMP over WebSocket, with TLS. The example endpoints in the AWS developer guide use these ports:

EndpointScheme in the AWS examplePort
OpenWiressl://61617
AMQPamqp+ssl://5671
MQTTmqtt+ssl://8883
STOMPstomp+ssl://61614
WebSocketwss://61619
Web consoleHTTPS8162

Copy the endpoints shown for your own broker in the Amazon MQ console rather than reusing settings from a local broker. Self-hosted defaults are covered on ActiveMQ ports.

Amazon MQ vs SQS: which one should you use?

The Amazon SQS developer guide compares the AWS messaging services directly. In short, from AWS's own description:

  • Amazon SQS is a queue service for decoupling and scaling distributed systems. A message is typically processed by a single subscriber; for fan-out to many subscribers, AWS suggests combining SQS with Amazon SNS.
  • Amazon SNS pushes messages from publishers to multiple subscribers through topics, delivering to endpoints such as SQS, Lambda, HTTP, email and mobile notifications.
  • Amazon MQ fits teams migrating from traditional message brokers. It supports standard protocols such as AMQP and MQTT along with ActiveMQ and RabbitMQ, for compatibility with existing systems without major reconfiguration.

AWS's comparison chart:

Resource typeAmazon SNSAmazon SQSAmazon MQ
SynchronousNoNoYes
AsynchronousYesYesYes
QueuesNoYesYes
Publisher-subscriber messagingYesNoYes
Message brokersNoNoYes

AWS recommends SQS and SNS for new applications that benefit from nearly unlimited scalability and simple APIs, and says they are generally more cost-effective for high-volume use with pay-as-you-go pricing. It recommends Amazon MQ for migrating applications that rely on APIs such as JMS or on protocols such as AMQP, MQTT, OpenWire and STOMP.

In practice, Amazon MQ is the closer match when:

  • your code uses the JMS API or an ActiveMQ client library over OpenWire, STOMP, AMQP or MQTT;
  • you need both queues and publish-subscribe topics in one broker;
  • you are moving an existing ActiveMQ or RabbitMQ setup and want to keep its destinations and clients.

SQS is the closer match when you are building a new application on AWS APIs and only need queues, or queues plus SNS for fan-out. For the concepts behind queues and topics, see What is a message queue.

How Amazon MQ pricing works

The Amazon MQ pricing page describes a usage-based model with no minimum fees or upfront commitments. You pay for three things:

  1. Broker instance hours. Billed hourly at one-second resolution. The rate depends on the instance size and on the deployment mode: single-instance, active/standby, or a 3-node cluster for RabbitMQ (a 3-node cluster uses three broker instances).
  2. Storage. Charged on the average storage used per month, in GB-months. ActiveMQ brokers can use durability-optimized storage (Amazon EFS) or throughput-optimized storage (Amazon EBS).
  3. Data transfer. Standard AWS data transfer fees apply.

Rates vary by instance type; AWS's pricing page and pricing calculator have the current figures.

Amazon MQ or running ActiveMQ yourself?

Amazon MQ takes setup, maintenance, engine upgrades, metrics collection and, with active/standby, multi-zone failover off your list. In exchange, AWS decides which engine versions you can run, controls parts of the configuration such as transports and storage, and applies configuration changes on its schedule or on reboot.

Running ActiveMQ yourself keeps every choice open: any upstream version including 6.x, the full activemq.xml, or Apache Artemis instead. It also makes upgrades, monitoring and high availability your job. To compare, see How to install ActiveMQ and ActiveMQ in Docker; for paid help with a self-run broker, see ActiveMQ support options.

Frequently asked questions

What is Amazon MQ?

Amazon MQ is AWS's managed message broker service for Apache ActiveMQ Classic and RabbitMQ. AWS handles setup, operation and maintenance, and applications connect with standard messaging protocols.

What is the difference between Amazon MQ and SQS?

Amazon SQS is a queue service that AWS recommends, with SNS, for new applications needing nearly unlimited scalability and simple APIs. Amazon MQ runs a full message broker with queues and topics, and AWS recommends it for migrating applications that rely on JMS or protocols such as AMQP, MQTT, OpenWire and STOMP.

Which ActiveMQ versions does Amazon MQ support?

When checked on 6 December 2026, the AWS version management page listed ActiveMQ 5.19 (recommended) and 5.18 without an end-of-support date, while 5.17, 5.16 and 5.15 had end-of-support dates in 2024 and 2025. No 6.x version was listed.

Does Amazon MQ support ActiveMQ Artemis?

AWS describes Amazon MQ as a managed service for Apache ActiveMQ Classic and RabbitMQ, and Apache Artemis is not one of the engines it names. Running Artemis means hosting it yourself or finding another provider.

How is Amazon MQ priced?

You pay for broker instance hours, billed at one-second resolution and varying with instance size and deployment mode, plus average storage per GB-month and standard data transfer. AWS lists no minimum fee or upfront commitment.

Related guides

From the 2006 archive

The original ActiveMQ documentation on these topics, kept as it was published here in 2004–2007. It describes ActiveMQ 4.x and older.

Sources

  1. Amazon MQ Developer Guide: What is Amazon MQ? docs.aws.amazon.com
  2. Amazon MQ Developer Guide: Managing Amazon MQ for ActiveMQ engine versions docs.aws.amazon.com
  3. Amazon MQ Developer Guide: Deployment options for ActiveMQ brokers docs.aws.amazon.com
  4. Amazon MQ Developer Guide: Amazon MQ for ActiveMQ brokers docs.aws.amazon.com
  5. Amazon MQ Developer Guide: Amazon MQ for ActiveMQ broker configurations docs.aws.amazon.com
  6. Amazon SQS Developer Guide: Differences between Amazon SQS, Amazon MQ, and Amazon SNS docs.aws.amazon.com
  7. Amazon MQ pricing aws.amazon.com
  8. Apache ActiveMQ: Download ActiveMQ activemq.apache.org