Amazon MQ | General Flashcards

1
Q

What is Amazon MQ?

General

Amazon MQ | Application Integration

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Who should use Amazon MQ?

General

Amazon MQ | Application Integration

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does Amazon MQ manage on my behalf?

General

Amazon MQ | Application Integration

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

General

Amazon MQ | Application Integration

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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 MIt 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.

General

Amazon MQ | Application Integration

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

General

Amazon MQ | Application Integration

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

General

Amazon MQ | Application Integration

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does Amazon MQ work with other AWS services?

General

Amazon MQ | Application Integration

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Any application that runs on an AWS compute service, such as Amazon EC2, Amazon ECS, or AWS Lambda, can use Amazon MAmazon 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.

General

Amazon MQ | Application Integration

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What kind of messaging durability does Amazon MQ provide?

General

Amazon MQ | Application Integration

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How can I get started with Amazon MQ?

General

Amazon MQ | Application Integration

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly