Experience AutoMQ
After completing the environment setup and related initialization, this document explains how to quickly create a Kafka instance and experience message sending and receiving.
This document specifically refers to the AutoMQ product service provider, AutoMQ service provider, and AutoMQ, all of which refer to AutoMQ (Hangzhou) Technology Co., Ltd.
Prerequisites
Before creating a Kafka instance, certain prerequisites must be met to ensure the environment installation is complete. If not, refer to the following steps:
Create an Instance
To experience AutoMQ, you need to create an instance corresponding to an open-source Apache Kafka cluster. Users can create instances via the environment console's front-end interface, while the console backend manages the creation of underlying cloud resources and completes the instance software deployment on behalf of the user.
The steps are as follows:
-
Visit the environment console address to enter the environment console.
-
In the environment console, click the left navigation bar and select "Instances List".
-
Click the "New Instance" button and choose parameters according to the following specifications.
Parameter | Value description |
---|---|
Instance Name |
|
Instance Remark |
|
Availability Zone Information |
|
Subnet Information |
|
Compute Specification |
|
Storage Specification |
|
- Click "Create Instance" and wait for the instance creation to complete.

Message Sending and Receiving Experience
Once the instance creation is complete, create a Topic to begin simple message sending and receiving. The steps are as follows:
-
Click on the Instance Details to enter the instance, then click on the Topics navigation bar on the left side.
-
Click on Create New Topic, fill in the relevant parameters, and create the topic.

-
Click on the topic name to enter the topic details, then click on the Produce Messages tab.
-
Fill in the test message content, click on Send, and complete the feature experience.
Next Steps
The current quick tutorial showcases only the basic operational steps from environment creation to instance creation. AutoMQ Kafka is fully compatible with Apache Kafka, so please refer to Apache Kafka documentation and relevant knowledge when using AutoMQ Kafka.
If there is no business need after the quick experience and testing ends, it is advisable to release the environment promptly to avoid unnecessary consumption of cloud resources that may incur costs.
Appendix: Accessing AutoMQ Across VPCs
By default, AutoMQ instances provide domain name resolution and private network addresses through PrivateDNS within the VPC and can only serve the current VPC. If your application needs to access AutoMQ across VPCs, you must configure the network yourself, meeting the following criteria:
-
Condition 1: VPC Interconnectivity: Users can connect the VPC where AutoMQ resides and the VPC where the application resides through VPC Peering or other methods to access AutoMQ instances. Please refer to the cloud vendor's VPC documentation for configuring VPC Peering.
-
Condition Two: Private Zone Associated with Multiple VPCs: AutoMQ uses Private Zone for domain name resolution by default, which is limited to the current VPC. If cross-VPC domain name resolution is needed, the Private Zone used by AutoMQ must be additionally associated with the application’s VPC.
Configuration Instructions for Private Zone Associated with Multiple VPCs
- AWS Route53
To configure the AWS Route53 product to achieve Zone association with multiple VPCs, follow these steps.
- Locate the Private Zone Id used by AutoMQ.
Copy the AutoMQ console instance access point address, remove the domain name prefix, and obtain the Private Zone. Go to the Route53 product console and search for the Zone.
Visit the Zone details page to view the copied Hosted Zone ID.

- Scenario 1: Edit Hosted Zone, add this account's VPC.

- Scenario 2: Use AWS CLI to add a cross-account VPC.
To add a cross-account VPC, you cannot complete this process through the console page; it must be done via AWS CLI or SDK.
Suppose AutoMQ is deployed in account A's vpc-a, and now you need to associate account B's vpc-b to use AutoMQ. The specific steps are as follows:
Log into AWS CLI using account A to create DNS association authorization.
aws route53 create-vpc-association-authorization --hosted-zone-id XXXXX --vpc VPCRegion=XXXX,VPCId=vpc-b
Parameter description:
-
hosted-zone-id: enter the Zone ID of the Zone used by AutoMQ in account A.
-
vpc: Provide the VPC information for account B, which must be encoded in the format "VPCRegion=XXXX,VPCId=XXXX".
After pressing enter, detailed information will be output. Type ":wq" to submit the command.
Log in to AWS CLI using account B, and create a DNS association request.
aws route53 associate-vpc-with-hosted-zone --hosted-zone-id XXXX --vpc VPCRegion=xxx,VPCId=vpc-b
Parameter description:
-
hosted-zone-id: Enter the Zone ID of the AutoMQ zone used by account A.
-
vpc: Fill in the VPC information for account B. It must be formatted as "VPCRegion=XXXX,VPCId=XXXX".
After pressing enter, detailed information will be displayed. Enter ":wq" to submit the command, and you can view the console login for account A to confirm the addition has been completed.
Adding a new VPC to the Route 53 Zone requires 3-5 minutes to take effect. Once effective, the application's VPC will be able to resolve the AutoMQ domain name.