ENES

Amazon MQ

ActiveMQ or RabbitMQ message brokers, run for you by AWS.

Two apps exchange messages through a managed broker box that runs ActiveMQ or RabbitMQ

A message broker is a piece of software that sits between applications and passes messages from one to another. The order system drops a message saying "new order 512"; the billing and shipping systems pick it up when they are ready. If one of them is down for a minute, the message waits instead of getting lost. Apache ActiveMQ and RabbitMQ are two popular open source brokers, used in many companies for years.

Amazon MQ runs those same brokers for you. You choose ActiveMQ Classic or RabbitMQ, pick a size, and AWS handles the servers, patches, version upgrades, encryption and monitoring through CloudWatch. You can run a setup spread across availability zones, so a broker keeps working if one data center fails.

Its main use is moving existing applications to AWS without rewriting their messaging code, because Amazon MQ supports the standard APIs and protocols those apps already use, such as JMS, AMQP, MQTT or STOMP. For a new application built only for AWS, Amazon SQS and Amazon SNS are usually simpler and scale with less tuning.

Keep in mind

Go deeper

Related terms

More in AWS