All Products
Search
Document Center

ApsaraDB for MongoDB:Remove a security group

Last Updated:Jul 17, 2026

Remove a security group from your ApsaraDB for MongoDB instance when the ECS instances in the group no longer require database access.

Procedure

  1. Go to the MongoDB Replica Set Instances or MongoDB Sharded Cluster Instances page. At the top of the page, select the resource group and region, and then click the target instance ID.

  2. In the navigation pane on the left, click Data Security > Whitelist Settings.

  3. Perform one of the following operations.

    • Remove one or more security groups

      1. In the upper-left corner of the security group list, click Add Security Group.

      2. In the Add Security Group panel, deselect the security groups you want to remove.

      3. Click OK.

    • Remove all security groups

      1. In the upper-left corner of the security group list, click Clear.

      2. In the Clear Security Group dialog box, read the message and click Confirm.