Upgrade RabbitMQ instance type from mq.t3.micro to mq.m7g.medium#533
Open
jim-counter wants to merge 1 commit intomainfrom
Open
Upgrade RabbitMQ instance type from mq.t3.micro to mq.m7g.medium#533jim-counter wants to merge 1 commit intomainfrom
jim-counter wants to merge 1 commit intomainfrom
Conversation
mq.t3.micro is being retired by AWS. Upgrades to the Graviton3-based mq.m7g.medium which is the recommended replacement for RabbitMQ brokers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mq.t3.microtomq.m7g.mediumin response to an AWS retirement noticemq.m7g.mediumis a Graviton3-based instance type and AWS's recommended replacement for RabbitMQ brokersWhy this change is safe to apply
Data preservation
Amazon MQ for RabbitMQ uses EBS-backed storage. During an instance type change, AWS detaches the EBS volume from the old instance and reattaches it to the new one — durable queue definitions and persistent messages are preserved across the change. See AWS: Editing a broker and Amazon MQ storage.
Expected behaviour during apply
SINGLE_INSTANCEdeployment withapply_immediately = true, so the change takes effect immediately (no maintenance window delay)Application reconnection
The Auto Drive backend has a keepalive/reconnect mechanism (
keepAliveInterval) that will detect the dropped connection and re-establish it automatically, typically within 60 seconds.Queue declarations
Queues in the Auto Drive app are declared with
assertQueue()on each publish, so they are automatically re-created after the broker restarts. No manual intervention is required.References
Test plan
./resources/terraform/manage.sh auto-drive-production planand confirm only the broker instance type changes (1 resource, 0 destroy)🤖 Generated with Claude Code
Closes #531.