Start a conversation

Rightsize Amazon MQ Instances

Opportunity Name:
Rightsize Amazon MQ Instances

AWS Resource Type:
Amazon MQ (ActiveMQ and RabbitMQ)

Opportunity Description

Many Amazon MQ brokers are over-provisioned due to peak load assumptions or conservative capacity planning. This results in high ongoing costs without corresponding resource utilization. This CloudFix Finder identifies underutilized Amazon MQ brokers and recommends resizing them to smaller or newer-generation instance types that offer equivalent performance at a lower cost.

This opportunity covers both ActiveMQ and RabbitMQ engines, analyzing CPU and memory utilization using CloudWatch metrics to determine if resources are consistently underused. Based on this, it proposes a right-sized instance that meets performance requirements with a built-in safety margin.

Criteria for Identifying the Opportunity

The Finder analyzes the following:

  • Broker engine is ActiveMQ or RabbitMQ

  • P95 CPU utilization is below a configurable threshold (default: 20%)

  • P95 memory utilization is below a configurable threshold (default: 40%)

  • At least 30 days of metric data is analyzed

  • A lower-cost instance meets the peak observed resource needs plus a 20-30% safety buffer

  • Minimum estimated annual savings threshold is met (default: $50)

Metrics used:

  • ActiveMQ: CPUUtilization, MemoryUsage

  • RabbitMQ: SystemCpuUtilization, RabbitMQMemUsed vs. RabbitMQMemLimit

Potential Savings (if known)

Annual savings vary by current vs. target instance type, but can be 20–40% or more depending on instance generation differences. Example: Rightsizing from mq.m5.large to mq.m6g.medium could save ~28% annually.

What Happens When the Fixer Is Executed?

Note: This is a Finder-only opportunity. No automated fix is performed.

Instead, CloudFix generates a detailed recommendation, including:

  • Broker ID

  • Current and recommended instance types

  • CPU and memory specs

  • Hourly and annual costs

  • Estimated annual savings

  • Considerations such as required broker restart

Users can manually apply the recommendation using the AWS Console or CLI.

Is It Possible to Roll Back Once CloudFix Implements the Fixer?

Not applicable – this is a Finder-only recommendation. CloudFix does not apply changes automatically.

Can CloudFix Implement the Fix Automatically Once I Accept the Recommendation?

No. You must manually resize the Amazon MQ broker through AWS after reviewing the recommendation.

Does This Fix Require Downtime?

Yes. Changing the instance type requires a 5–10 minute broker restart, but all messages and configurations are preserved.

Additional Resources

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Bill Gleeson

  2. Posted

Comments