Configure an IP whitelist template

更新时间:
复制 MD 格式

An IP whitelist template lets you manage access rules for multiple Tair (Redis OSS-compatible) instances from one place. Create a template, associate it with instances, and all updates propagate automatically.

Constraint Detail
Region Templates can only be associated with instances in the same region
Multiple templates An instance can be associated with multiple IP whitelist templates
Association effect Template IP addresses are appended to the instance whitelist without affecting existing entries
Disassociation effect Template IP addresses are removed from the instance whitelist and can no longer connect

Create an IP whitelist template

  1. Log on to the console.

  2. In the upper-left corner, select a region.

  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 panel that appears, configure the parameters described in the following table.

    Important

    Disassociating a template from an instance removes the template's IP addresses from that instance's whitelist. Those IP addresses can no longer connect to the instance.

    Parameter Description
    IP Whitelist Template Name A name to identify the template.
    IP Addresses in Whitelist IP addresses or CIDR blocks to allow. Separate entries with commas (,). Maximum: 1,000 entries.
    Associate Instance Select instances from the Available Instances section. To remove an instance, click it in the Selected Instances section.
  6. Click OK.

  7. In the confirmation dialog box, click OK.

Modify an IP whitelist template

  1. Log on to the Tair (Redis OSS-compatible) console.

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

  3. Find the template and click Modify in the Actions column.

  4. Update the parameters as needed and click OK.

Delete an IP whitelist template

Deleting a template removes its IP addresses from all associated instances. To retain the IP addresses, disassociate the template from all instances before deleting it on the Whitelist Setting tab.

  1. Log on to the Tair (Redis OSS-compatible) console.

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

  3. Find the template and click Delete in the Actions column.

  4. In the message that appears, click Delete.

References

Configure whitelists