All Products
Search
Document Center

PolarDB:Configure a global IP whitelist template

Last Updated:Mar 28, 2026

Global IP whitelist templates let you manage access control for multiple PolarDB for PostgreSQL (Compatible with Oracle) clusters from a single configuration. Instead of updating each cluster's whitelist separately, update the template once and the change takes effect across all associated clusters immediately.

Limits

LimitDetails
Region scopeA cluster can only be associated with IP whitelist templates in the same region
IP address capacityOne IP whitelist template supports up to 1,000 IP addresses
Cluster-to-templateOne cluster can be associated with multiple IP whitelist templates
Template-to-clusterOne IP whitelist template can be associated with multiple clusters

Create an IP whitelist template

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where the cluster is deployed.

  3. In the left-side navigation pane, click IP Whitelist Templates.

  4. In the upper-left corner of the page, click Create IP Whitelist Template.

  5. In the Create IP Whitelist Template dialog box, set IP Whitelist Template Name and IP Addresses in Whitelist. The template name must meet the following requirements:

    • Contains only lowercase letters, digits, and underscores (_)

    • Starts with a letter and ends with a letter or a digit

    • Is 2–120 characters long

  6. Click OK.

Modify an IP whitelist template

Warning

Changes to an IP whitelist template take effect immediately across all associated clusters. Review your changes before confirming.

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where the cluster is deployed.

  3. In the left-side navigation pane, click IP Whitelist Templates.

  4. Find the template to modify and click Modify in the Actions column.

  5. In the Modify IP Whitelist Template panel, add or remove IP addresses, then click OK.

  6. In the confirmation dialog box, click OK.

Delete an IP whitelist template

Warning

Before deleting a template, disassociate it from all clusters. Deleting an associated template removes the whitelist configurations from all associated clusters, which will cause database connection errors.

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where the cluster is deployed.

  3. In the left-side navigation pane, click IP Whitelist Templates.

  4. Find the template to delete and click Delete in the Actions column.

  5. In the confirmation dialog box, click Delete.

Associate an IP whitelist template with a cluster

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where the cluster is deployed.

  3. Find the cluster and click its ID.

  4. In the left-side navigation pane, choose Settings and Management > Whitelists.

  5. On the Whitelists page, click Associate IP Whitelist Template.

  6. In the Associate IP Whitelist Template panel, select a template from the drop-down list and click OK.

Disassociate an IP whitelist template from a cluster

  1. Log on to the PolarDB console.

  2. In the upper-left corner, select the region where the cluster is deployed.

  3. Find the cluster and click its ID.

  4. In the left-side navigation pane, choose Settings and Management > Whitelists.

  5. On the Whitelists page, find the template to disassociate and click Disassociate.

  6. In the confirmation dialog box, click OK.