Updated on 2026-11-09 GMT+08:00

Modifying Host IP Addresses

Scenarios

You can change the host IP addresses that are allowed to access your instance as needed.

Constraints

  • This operation is not allowed for instances that are being restored.
  • Databases and accounts created using methods other than the RDS console or APIs are also displayed in the RDS console. If the names of the created databases or accounts do not meet the database naming rule or account naming rule, for example, the names containing Chinese characters or unsupported special characters, the databases or accounts cannot be managed on the RDS console or through APIs.
  • If the name of any database or account on the source database does not meet the database naming rule or account naming rule, the database or account cannot be managed on the RDS console or through APIs after being migrated to the destination RDS for MySQL instance.

Procedure

  1. Log in to the RDS console.
  2. Click in the upper left corner and select a region.
  3. On the Instances page, click the target instance name to go to the Summary page.
  4. In the navigation pane on the left, choose Databases and Accounts and then click the Accounts tab.
  5. Locate the target account and choose More > Modify Host IP Address in the Operation column.

    Figure 1 Modifying the host IP address
    • To enable all IP addresses to access your instance, enter % for Host IP Address.
    • If you enter 10.10.10.%, all IP addresses in the subnet 10.10.10.X are allowed to access your RDS for MySQL instance.
    • To specify multiple IP addresses, separate them with commas (,), for example, 192.168.0.1,172.16.213.9 (no spaces before or after the comma).

  6. Click OK.
  7. If you have enabled operation protection, click Send Code in the displayed Identity Verification dialog box and enter the obtained verification code. Then, click OK.

    Two-factor authentication improves the security of your account. For details about how to enable operation protection, see Identity and Access Management User Guide.