[AWS] Amazon MQ

Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ that makes it easy to set up and operate message brokers in the cloud.

Amazon Message Queue

  • Amazon MQ supports industry-standard APIs and protocols for messaging, including JMS, NMS, AMQP, STOMP, MQTT, and WebSocket.
    • You can switch from any standards-based message broker to Amazon MQ without rewriting the messaging code in your applications.
  • MQ manages administrative tasks such as hardware provisioning, setup, patching, and failure recovery.

Amazon MQ can work in two modes.

  • Single-instance broker in a single AZ
  • Active/Standby broker in multi-AZs for high availability

Also there are 2 types of brokers.

  • Durability-optimized broker: backed by EFS to support high availability and message durability
  • Throughput-optimized broker: backed by EBS to support low latency and high throughput for high-volume applications

SQS vs. MQ

  • Use MQ if you are already using an industry-standard messaging service and want to migrate to AWS.
  • Use SQS and SNS if you are building a new message system. SQL is a lightweight, fully managed service that scales almost infinitely and provides simple, easy-to-use APIs.

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s