Skip to content

Can't Downgrade ActiveMQ engine version on Amazon MQ

0

We are testing out a new version of ActiveMQ in a non-prod environment, but we've encountered some issues on the new version and would like to revert to the previous configuration. However, if we try to restore the old version through terraform or manually through the UI, we get the following error: Can't update broker from version [5.17.6] to version [5.15.16] using configuration for broker version [5.15.16].

Is it possible to downgrade the ActiveMQ engine version once it has been upgraded, even for engines that are going out of support?

1 Answer
0

It is possible to downgrade the ActiveMQ engine version on Amazon MQ, even if the current version is going out of support. However, you may encounter issues when trying to revert to an older version.

To downgrade the ActiveMQ engine version, you can use the
update-broker
CLI command and specify the following parameters:

aws mq update-broker --broker-id <broker-id> --engine-version <version-number>

Replace
<broker-id>
with the unique ID of your Amazon MQ broker, and
<version-number>
with the desired engine version you want to downgrade to.

If you want the changes to take effect immediately, you can use the
reboot-broker
CLI command to reboot your broker:

aws mq reboot-broker --broker-id <broker-id>

If you do not want to reboot your broker immediately, Amazon MQ will upgrade the broker during the next scheduled maintenance window.

Please note that the specific versions of ActiveMQ supported by Amazon MQ may change over time. You can use the
describe-broker-instance-options
CLI command to list all the supported minor and major engine versions:

aws mq describe-broker-instance-options

You can further filter the results by engine type and instance type using the
--engine-type
and
--host-instance-type
options.
AWS

answered 2 years ago

  • I get the same error when I try to downgrade through the cli.

    Error: An error occurred (BadRequestException) when calling the UpdateBroker operation: Can't update broker from version [5.17.6] to version [5.15.16] using configuration for broker version [5.15.16]

    Command: aws mq update-broker --broker-id <broker-id> --engine-version 5.15.16 --configuration Id=<configuration-id>,Revision=<revision-number>

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.