You can remove an ECS instance from one of its security groups as needed. If an instance is removed from a security group, it can no longer communicate with other instances in that group over the intranet. Therefore, we recommend that you conduct sufficient tests before the removal to ensure that your business runs normally after removal.

Prerequisites

The ECS instance has been added to two or more security groups.

Procedure

  1. Log on to the ECS console.
  2. In the left-side navigation pane, click Instances.
  3. Select a Region.
  4. On the Instances page, find the target instance, and then click Manage in the Actions column.
  5. In the left-side navigation pane, click Security Groups.
  6. Find the target security group, and then click Remove in the Actions column.
  7. Click OK.