What is Amazon MQ?
Amazon MQ is a fully managed message broker service supporting Apache ActiveMQ and RabbitMQ. The service enables migrating existing messaging applications to the cloud without changing application code, as it uses industry-standard APIs and protocols.
Message brokers decouple application components and enable asynchronous communication. Amazon MQ handles infrastructure management: provisioning, patching, failover, and backup.
Core Features
- Managed ActiveMQ and RabbitMQ: Fully managed brokers without infrastructure management
- Multi-Protocol Support: AMQP, MQTT, OpenWire, STOMP, and WebSocket
- High Availability: Active/standby deployment across multiple Availability Zones
- Persistent Storage: Message persistence with Amazon EFS or EBS
- Security: VPC integration, encryption, and IAM authentication
Typical Use Cases
Legacy Migration: Companies with existing ActiveMQ or RabbitMQ installations can migrate them 1:1 to Amazon MQ. Clients connect with the same protocols and APIs, only the broker endpoint changes.
IoT Messaging: With MQTT support, Amazon MQ is suitable for IoT scenarios where devices send messages to backend systems. Persistent storage ensures no messages are lost.
Microservices Communication: Amazon MQ decouples microservices and enables reliable asynchronous communication. Producers and consumers can scale independently.
Benefits
- No code changes when migrating from ActiveMQ or RabbitMQ
- Reduced operational overhead through full management
- Enterprise features like high availability and encryption
- Integration with AWS services like CloudWatch and IAM
Integration with innFactory
As an AWS Reseller, innFactory supports you with Amazon MQ: We help with migrating existing message brokers, designing messaging architectures, and optimizing performance and costs.
Typical Use Cases
Frequently Asked Questions
What is Amazon MQ?
Amazon MQ is a fully managed message broker service for Apache ActiveMQ and RabbitMQ. It enables migrating existing messaging applications to the cloud without code changes, as it supports industry-standard APIs and protocols.
When should I use Amazon MQ instead of Amazon SQS?
Use Amazon MQ when migrating existing applications with ActiveMQ or RabbitMQ without code changes, or when you need protocols like AMQP, MQTT, or STOMP. For new cloud-native applications, Amazon SQS is often the better choice due to simpler management and better scaling.
Which protocols are supported?
Amazon MQ supports AMQP 1.0, MQTT, OpenWire, STOMP, and WebSocket. This protocol variety enables integration of various clients and legacy systems.
How is high availability achieved?
Amazon MQ offers active/standby deployments across multiple Availability Zones. In case of failure, automatic failover to the standby broker occurs with message data replication.