Skip to main content

๐Ÿงต 05. Amazon MQ

Amazon MQ is a managed message broker service for Apache ActiveMQ (and RabbitMQ).
It provides open-standard protocols for messaging โ€” ideal when migrating traditional applications to AWS.


๐Ÿงฉ Concept Overviewโ€‹

While SQS and SNS are cloud-native, fully managed AWS messaging services,
some legacy or enterprise systems use open messaging protocols such as:

  • MQTT
  • AMQP
  • STOMP
  • OpenWire
  • WSS

Instead of rewriting these applications to use AWS-specific APIs (SQS/SNS),
you can migrate them to AWS using Amazon MQ with minimal code change.


โš™๏ธ How It Worksโ€‹

ComponentDescription
BrokerManaged Apache ActiveMQ or RabbitMQ instance running inside AWS.
Producers & ConsumersUse standard protocols (AMQP, MQTT, etc.) to send and receive messages.
Queues & TopicsSupports both models โ€” queues (like SQS) and topics (like SNS).

โœ… Great for lift-and-shift migrations.
โœ… No need to refactor existing apps that already use messaging.
โŒ Not serverless โ€” runs on a dedicated EC2-like broker instance.