Documentation Index
Fetch the complete documentation index at: https://docs.automq.com/llms.txt
Use this file to discover all available pages before exploring further.
Background
The AutoMQ Console (versions prior to 8.0) was distributed through cloud provider marketplaces and installed via AMI images. Starting from version 8.0, the AutoMQ Console is distributed and installed via Docker images. New users and new environments are recommended to follow the Install BYOC Console documentation for installation. This document describes how to smoothly upgrade existing BYOC environments from earlier versions to version 8.x.Constraints
- Cloud Provider: Currently, only AWS environments support the upgrade to version 8.x. Support for other cloud providers is in progress. If you have requirements for other clouds, please contact us by referring to the “Contact Us” documentation.
- No AWS Managed Service for Prometheus: Confirm that your current environment is not using the AWS Managed Service for Prometheus. If it is, please contact AutoMQ technical personnel to discuss an appropriate solution.
Upgrade Steps
The overall process is divided into the following steps: Register an AutoMQ account, confirm deployment information, obtain the upgrade command, stop the old console, configure IAM permissions, and execute the upgrade.1. Register an Organization and Account
Go to the AutoMQ official website to register an organization and account. The registration URL is: https://console.automq.cloud/.2. Confirm Deployment Information
Confirm the deployment information of your current BYOC console and send it to AutoMQ technical personnel. This information is used to migrate environment metadata and generate the installation command. The information to be collected includes:- Environment ID
- Deployment Region
- Deployment Version
- Installation ID
- OpsBucket
3. Obtain the Upgrade Command
AutoMQ technical personnel will generate the environment’s metadata and an upgrade installation command based on the information from Step 2, which will be used for the subsequent upgrade.4. Stop the Old Console
Log in to the EC2 instance where the AutoMQ console is located and stop the current console application. The command to stop the service is as follows:5. Modify EC2 Metadata Access Limit (Optional)
The AutoMQ 8.x console is deployed using Docker containers. Programs inside the container need to access the EC2 instance metadata service, and by default, the installation command uses Host network mode. If you prefer to use Bridge or other network modes, you must set the EC2 instance metadata response hop limit (HttpPutResponseHopLimit) to 2. The procedure is as follows:
- Log in to the AWS EC2 Console.
- In the instances list, select the EC2 instance hosting the AutoMQ console.
- Select Actions > Instance Settings > Modify instance metadata options.
- In the dialog box, change the value of Metadata response hop limit from
1to2. - Click Save.
6. Create and Configure IAM Role
Go to the AWS IAM console (https://us-east-1.console.aws.amazon.com/iam/home?region=us-east-1#/roles) to create a new IAM Role for the AutoMQ console and grant the necessary cloud resource operation permissions. Starting from version 8.x, the AutoMQ console requires permissions to create IAM Roles for the data plane clusters. This means the console will manage the IAM permissions and roles required for each data plane cluster to operate. The procedure is as follows: Go to the IAM console to create a custom IAM Policy, then create an IAM Role, select EC2 as the service type, and attach the newly created IAM Policy. Next, go to the EC2 console to modify the EC2 instance where the console is located and change its attached IAM Role.- Example AWS Policy