All Products
Search
Document Center

PolarDB:Whitelist configuration

Last Updated:Aug 25, 2023

PolarDB-X 1.0 allows you to configure an IP address whitelist. Only IP addresses in the whitelist can access the PolarDB-X 1.0 databases. This topic describes how to configure an IP address whitelist.

Procedure

  1. Log on to the PolarDB for Xscale 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 instance that you want to manage and click the ID of the instance.
  5. In the left-side navigation pane, choose Configuration and Management > Whitelist Settings.
  6. Select the IP address whitelist that you want to manage and then click Edit. In the dialog box that appears, enter an IP address that is allowed to access the instance.
    Warning
    • You can enter an IP address such as 192.168.0.1. You can also enter 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.
    • Separate multiple IP addresses and CIDR blocks with commas (,). For example, you can enter 192.168.0.1,192.168.0.0/24.
    • The IP address 0.0.0.0 is not supported.
    • If you use *.*.*.* in an IP address whitelist of the instance or leave the whitelist empty, any IP address can access the instance.
  7. Click OK.