DRDS allows you to set an IP address whitelist. Only IP addresses in the whitelist can access the DRDS databases. This topic describes how to set an IP address whitelist.

Procedure

  1. Log on to the DRDS console.
  2. In the top navigation bar, select the region where the target instance is located.
  3. In the left-side navigation pane, click Instances.
  4. Find the target instance, and click the instance ID.
  5. In the left-side navigation pane, choose Configuration and Management > Databases.
  6. Find the target database, and click the database name.
  7. In the left-side navigation pane, choose Data Security > Whitelist Settings.
  8. Click Manually Modify. In the dialog box that appears, enter an IP address that is allowed to access the database.
    Modify
    Note
    • After a database is created, all IP addresses are allowed to access the database by default. To ensure data security, we recommend that you only add the public IP addresses or CIDR blocks of your web servers to the whitelist.
    • You can enter an IP address such as 192.168.0.1 or a CIDR block such as 192.168.0.0/24, 192.168.10.*, or 192.168.10.2-192.168.10.30.
    • You can add up to 300 IP addresses or CIDR blocks to each IP address whitelist.
    • Multiple IP addresses are separated with commas (,) such as 192.168.0.1,192.168.0.0/24.
  9. Click OK.