If you select Public IP as the connection type when you create a data source, you must first add the IP address of the compatibility assessment service to the allowlist of the Aurora MySQL database instance (cloud vendor is Amazon Cloud) or the RDS MySQL database instance (cloud vendor is Huawei Cloud) to make sure that the compatibility assessment service can access the database instance. This topic describes how to add an IP address to the allowlist of a MySQL database instance.
Amazon Cloud
On the Basic Information page, select Public IP for Connection Type and copy the IP address of the compatibility assessment service displayed on the page.
Note
The IP address will be displayed on the page only after you select a region.

Go to the Security Groups page.
Log on to the Amazon Relational Database Service (RDS) console and go to the Databases page.
Select the target database instance.
On the Connectivity & security tab, click the link under VPC security groups in the Security section.

On the Security Groups page, click the Inbound rules tab and then click Edit inbound rules in the upper-right corner.

On the Edit inbound rules page, click Add rule and configure the parameters.

Parameter Description Type The rule type. Select Custom TCP. Protocol The protocol type, which is TCP by default. Port range Enter 3306. Source Enter the IP address copied on the data source creation page. Description -optional The description of the rule to be added. Click Save rules.
Huawei Cloud
On the Create Online Assessment page, select Connection Type as Public IP, then copy the compatibility assessment IP address displayed on the page.
Note
The IP address will be displayed on the page only after you select a region.

Log in to the Instance Management page of your cloud database RDS.
Click the name of the target instance to enter the Basic Information page of the instance.
In the left navigation pane, click Connection Management.
In the Security Group Rules area, click Add Inbound Rule and configure the parameters.
On the security group rules page, click Add Rule under the Inbound Rules tab, and configure the parameters as follows: | Parameter | Description | |--------------|------------------------------------------| | Protocol Port| Enter port 3306. | | Type | The type of IP address. Select IPv4. | | Source Address| Enter the IP address copied from the Create Data Migration Task page. | | Description | Provide a description for the rule being added. |
Click OK.