服务 · Application Integration
Amazon MQ
Managed ActiveMQ and RabbitMQ brokers, for applications that already use JMS, AMQP or MQTT and cannot be rewritten.
本课尚未翻译,暂以英文显示。
Protocols
- SQS and SNS
- AWS API and SDKs
- Amazon MQ
- JMS, AMQP, MQTT, OpenWire, STOMP
Servers
- SQS and SNS
- Serverless
- Amazon MQ
- Broker instances you size
Scaling
- SQS and SNS
- Automatic
- Amazon MQ
- Larger broker or more nodes
Pick it when
- SQS and SNS
- New application
- Amazon MQ
- Existing application, no rewrite
| Compare | SQS and SNS | Amazon MQ |
|---|---|---|
| Protocols | AWS API and SDKs | JMS, AMQP, MQTT, OpenWire, STOMP |
| Servers | Serverless | Broker instances you size |
| Scaling | Automatic | Larger broker or more nodes |
| Pick it when | New application | Existing application, no rewrite |
1 / 2
Protocols
- SQS and SNS
- AWS API and SDKs
- Amazon MQ
- JMS, AMQP, MQTT, OpenWire, STOMP
Servers
- SQS and SNS
- Serverless
- Amazon MQ
- Broker instances you size
Scaling
- SQS and SNS
- Automatic
- Amazon MQ
- Larger broker or more nodes
| Compare | SQS and SNS | Amazon MQ |
|---|---|---|
| Protocols | AWS API and SDKs | JMS, AMQP, MQTT, OpenWire, STOMP |
| Servers | Serverless | Broker instances you size |
| Scaling | Automatic | Larger broker or more nodes |
2 / 2
Pick it when
- SQS and SNS
- New application
- Amazon MQ
- Existing application, no rewrite
| Compare | SQS and SNS | Amazon MQ |
|---|---|---|
| Pick it when | New application | Existing application, no rewrite |
是什么
Amazon MQ is a managed message broker service for Apache ActiveMQ and RabbitMQ. A broker is a server that routes messages between applications. Many older applications talk to a broker through standard protocols such as JMS, AMQP, MQTT, OpenWire and STOMP. Moving them to Amazon MQ keeps their code and setup. You do not rewrite them for a new API.
是什么
AWS runs the brokers: it provisions the hardware, patches the software and handles backups. For high availability, ActiveMQ uses an active/standby pair in two Availability Zones, with shared storage on Amazon EFS. RabbitMQ uses a cluster of three nodes across three AZs. A single-instance broker has no standby and suits development and testing. Brokers run in your VPC, and security groups control access.
Pick Amazon MQ to migrate with no code change, or when you need broker features such as JMS. For new applications built on AWS, pick Amazon SQS and Amazon SNS: they are serverless, scale without sizing, and cost less to run.
要记住
- Managed Apache ActiveMQ and RabbitMQ.
- Standard protocols: JMS, AMQP, MQTT, OpenWire, STOMP. SQS and SNS use AWS APIs only.
- Multi-AZ: an ActiveMQ active/standby pair, or a three-node RabbitMQ cluster.
- It runs in your VPC on broker instances you size. It is not serverless.
要记住
- Best for lift and shift of existing messaging. New designs use SQS or SNS.
考试中
- “Migrate an on-premises application that uses JMS or AMQP with no code changes” points to Amazon MQ.
- “A new cloud-native application needs a simple queue” points to SQS, not Amazon MQ.
- “A highly available message broker” points to a Multi-AZ deployment (active/standby or cluster).
别和这些弄混
Amazon Simple Queue Service (Amazon SQS)The settings that decide behavior: visibility timeout, long polling, delay, retention, DLQs, and scaling on queue depth.
Amazon Simple Notification Service (Amazon SNS)Filter policies, FIFO topics, fan-out to SQS, retries and DLQs, and when to pick SNS, SQS or EventBridge.
Amazon KinesisReal-time streams that you size in shards. Partition keys decide order and balance.
本任务内容 · 2.1
- Microservices and stateless design
- Multi-tier architectures
- Event-driven and loose coupling patterns
- Serverless application patterns
- AWS Amplify and AWS Device Farm
- Horizontal vs vertical scaling
- Caching strategies
Load Balancing
API Gateway
- When and how to containerize
SQS
SNS
EventBridge
Step Functions
MQ
Secrets Manager
- Choosing purpose-built services
- Choosing object, file or block
Lambda
- Read replicas
ElastiCache
CloudFront
Global Accelerator
Transfer Family
S3
EFS
EBS
Fargate
ECS
EKS