Amazon MQ Features

Managed Service

With Amazon MQ, you can use the AWS Management Console, the Command Line Interface (CLI), or simple API calls to launch a production-ready message broker in minutes. Amazon MQ manages administrative tasks such as hardware provisioning, broker setup, software upgrades, and failure detection and recovery.

High Availability and Message Durability

Amazon MQ runs on the same highly reliable infrastructure used by other Amazon Web Services. Amazon MQ stores your messages redundantly across multiple Availability Zones (AZs). Active/standby brokers are designed for high availability. In the event of a failure of the broker, or even a full AZ outage, Amazon MQ automatically fails over to the standby broker so you can continue sending and receiving messages.

Security

Amazon MQ provides encryption of your messages at rest and in transit. It’s easy to ensure that your messages are securely stored in an encrypted format. Connections to the broker use SSL, and access can be restricted to a private endpoint within your Amazon VPC, which allows you to isolate your broker in your own virtual network. You can configure security groups to control network access to your broker.

Amazon MQ is integrated with AWS Identity and Access Management (IAM) and provides you the ability to control the actions that your IAM users and groups can take on specific Amazon MQ brokers. Authentication from applications to the ActiveMQ broker itself is provided using username and password-based authentication.

Monitoring

Amazon MQ is integrated with Amazon CloudWatch so you can monitor metrics on your brokers, queues, and topics. For example, you can monitor the depth of your queues and generate alarms when messages aren’t getting through.

Pay-as-you-go Pricing

Amazon MQ provides cost-efficient and flexible capacity, and there is no minimum fee. You pay for the number of hours your broker instance runs and the storage you use monthly. It’s easy and inexpensive to create new brokers for additional capacity. For more details see Amazon MQ Pricing.

Broker Instance Types

Amazon MQ currently supports two broker instance types, mq.t2.micro and mq.m4.large, which provide varying combinations of CPU, memory, and network performance. The mq.t2.micro instances are designed for initial product evaluation and the mq.m4.large instances for production usage. Amazon MQ also supports both single-instance brokers, suitable for evaluation and testing, and active/standby brokers for high availability in production.

Get Started for Free

The AWS Free Tier includes up to 750 hours of a single-instance mq.t2.micro broker and up to 1GB of storage per month for one year.

Apache ActiveMQ Features

Open-Source Message Broker

ActiveMQ is an open-source project from the Apache Software Foundation, which has a proven history and a large community of contributors. ActiveMQ is a popular, flexible, and powerful enterprise-grade message broker supporting industry standards. 

Industry-standard APIs and Protocols

ActiveMQ supports a wide range of clients including Java Message Service (JMS) 1.1, .NET Message Service (NMS), and a range of other languages including Node.js, Go, Python, Ruby, and C++. ActiveMQ also supports wire-level protocols including AMQP, STOMP, OpenWire, WebSocket, and MQTT. This compatibility with industry standards facilitates migration from existing message brokers, enables interoperability between vendors, and helps you avoid vendor dependency.

Messaging Features

ActiveMQ provides all the standard JMS features including point-to-point (message queues), publish-subscribe (topics), request/reply, persistent and non-persistent modes, JMS transactions, and distributed (XA) transactions. In addition to basic queues and topics, ActiveMQ also supports more complex patterns such as composite destinations (producers can send the same message to multiple destinations, useful for real-time analytics) and virtual destinations (publishers broadcast messages via a topic to a pool of receivers subscribing through queues).

Reliable, Ordered Delivery of Messages

ActiveMQ is designed to ensure that messages are delivered to their intended recipients in the correct order. ActiveMQ preserves the order of messages sent by a single producer to all consumers on a topic. ActiveMQ also supports message groups, which enable multiple consumers on a queue to process messages within a group in first-in, first-out (FIFO) order. It provides many features to help you manage how messages are handled, such as store and forward delivery, message acknowledgments, and recovery of failed messages. ActiveMQ also supports message redelivery and dead letter queues (DLQ) when a message cannot be delivered to its destination.

Other ActiveMQ Features

For a full description of ActiveMQ’s features, please see the Apache ActiveMQ website.

FAQs

  • What is Amazon MQ?

    Amazon MQ is a managed message broker service for Apache ActiveMQ that makes it easy to set up and operate message brokers in the cloud. Amazon MQ manages the administration and maintenance of ActiveMQ, a popular open source message broker. The underlying infrastructure is automatically provisioned for high availability and message durability to support the reliability of your applications. With Amazon MQ, you get direct access to the ActiveMQ console and industry standard APIs and protocols for messaging, including JMS, NMS, AMQP, STOMP, MQTT, and WebSocket. You can easily move from any message broker that uses these standards to Amazon MQ because you don’t have to rewrite any messaging code in your applications.

  • Who should use Amazon MQ?

    Amazon MQ is suitable for enterprise IT pros, developers, and architects who are managing a message broker themselves–whether on-premises or in the cloud–and want to move to a fully managed cloud service without rewriting the messaging code in their applications.

  • What does Amazon MQ manage on my behalf?

    Amazon MQ manages the work involved in setting up a message broker, from provisioning the infrastructure capacity you request–including broker instances and storage–to installing the broker software. Once your broker is up and running, Amazon manages ongoing software upgrades, security updates, and fault detection and recovery. Amazon MQ stores messages redundantly across multiple Availability Zones (AZs) for message durability. With active/standby brokers, Amazon MQ automatically fails over to a standby instance in the event of a failure so you can continue sending and receiving messages.

  • When should I use Amazon MQ vs. Amazon SQS and SNS?

    Amazon MQ, Amazon SQS, and Amazon SNS are messaging services that are suitable for anyone from startups to enterprises. If you're using messaging with existing applications, and want to move your messaging to the cloud quickly and easily, we recommend you consider Amazon MQ. It supports industry-standard APIs and protocols so you can switch from any standards-based message broker to Amazon MQ without rewriting the messaging code in your applications. If you are building brand new applications in the cloud, we recommend you consider Amazon SQS and Amazon SNS. Amazon SQS and SNS are lightweight, fully managed message queue and topic services that scale almost infinitely and provide simple, easy-to-use APIs. You can use Amazon SQS and SNS to decouple and scale microservices, distributed systems, and serverless applications, and improve reliability.

  • When would I use Amazon MQ vs. managing ActiveMQ on Amazon EC2 myself?

    The choice depends on how closely you want to manage your message broker and underlying infrastructure. Amazon MQ provides a managed message broker service that takes care of operating ActiveMQ, including broker set up, monitoring, maintenance, and provisioning the underlying infrastructure for high availability and durability. You may want to consider Amazon MQ when you want to offload operational overhead and associated costs. If you want greater control in order to customize features and configurations or to use custom ActiveMQ plugins, you may want to consider installing and running ActiveMQ on Amazon EC2 directly.

  • How do I migrate if I'm using a different message broker instead of ActiveMQ?

    Amazon MQ provides compatibility with the most common messaging APIs, such as Java Message Service (JMS) and .NET Message Service (NMS), and protocols, including AMQP, STOMP, MQTT, and WebSocket. This makes it easy to switch from any standards-based message broker to Amazon MQ without rewriting the messaging code in your applications. In most cases, you can simply update the endpoints of your Amazon MQ broker to connect to your existing applications, and start sending messages.

  • How does Amazon MQ work with other AWS services?

    Any application that runs on an AWS compute service, such as Amazon EC2, Amazon ECS, or AWS Lambda, can use Amazon MQ. Amazon MQ is integrated with Amazon CloudWatch, allowing you to monitor metrics and generate alarms, and you can use Auto Scaling to scale the application fleet consuming messages from your broker. Amazon MQ also uses AWS Identity and Access Management (IAM) for authentication and authorization of the service API.

  • What kind of messaging durability does Amazon MQ provide?

    When the ActiveMQ broker is used in persistent mode, each message is redundantly stored across multiple Availability Zones (AZs). The message store can be accessed concurrently from all AZs in the region where it is located, which means that the message broker can fail over from one AZ to another AZ in the region without message loss.

  • How can I get started with Amazon MQ?

    Amazon MQ makes it easy to setup and operate message brokers in the cloud. With Amazon MQ, you can use the AWS Management Console, CLI, or API calls to launch a production-ready message broker in minutes. In most cases, you can simply update the endpoints of your Amazon MQ broker to connect to your existing applications and start sending messages.

  • How am I charged for Amazon MQ?

    With Amazon MQ, you pay only for what you use. You are charged for broker instance and storage usage, and standard data transfer fees. It’s easy to get started with Amazon MQ with our free tier for one year. See Amazon MQ Pricing for details.

Learn more about Amazon MQ pricing

Visit the pricing page
Ready to get started?
Sign up
Have more questions?
Contact us