When an external device no longer needs to access an ApsaraDB for MongoDB instance, we recommend that you remove the IP address of the external device from the whitelist in a timely manner to ensure security of the instance. This topic describes how to delete an IP address whitelist.

Background information

Proper configuration of whitelists can enhance access security of ApsaraDB for MongoDB instances. We recommend that you maintain your whitelists on a regular basis.

Procedure

  1. Log on to the ApsaraDB for MongoDB console.
  2. In the left-side navigation pane, click Replica Set Instances or Sharded Cluster Instances based on the instance type.
  3. In the upper-left corner of the page, select the resource group and region to which the instance belongs.
  4. Click the ID of an instance, or click More icon in the Actions column corresponding to the instance and select Manage.
  5. In the left-side navigation pane of the instance details page, choose Data Security > Whitelist Settings.
  6. Perform the following operations based on your requirements.
    • Remove an IP address from a whitelist
      • By manually modifying the whitelist
        1. Click Modify in the Actions column corresponding to a whitelist.
        2. Click the IPv4 or IPv6 tab based on the IP address type.
        3. In the IP Whitelist field, delete the IP address.
        4. Click OK.
      • By Loading IP addresses of ECS instances
        1. Click Import ECS Intranet IP in the Actions column corresponding to a whitelist.
        2. In the right list of the IP Whitelist field, select the IP address.
        3. Click the Left arrow icon. The IP address is displayed in the left list of the IP Whitelist field.
        4. Click OK.
    • Delete a whitelist where all IP addresses are no longer used
      1. Click Delete Whitelist Group in the Actions column corresponding to a whitelist.
      2. In the Delete Whitelist Group message, click OK.