Updated on 2025-03-14 GMT+08:00

Changing a Security Group

Scenarios

To change the security group associated with an ECS network interface, perform the operations described in this section.

Constraints

  • Changing the security group will overwrite the original security group settings.
  • Using multiple security groups may deteriorate ECS network performance. You are advised to select no more than five security groups.

Procedure

  1. Log in to the management console.
  2. Under Computing, click Elastic Cloud Server.
  3. In the ECS list, choose More > Manage Network > Change Security Group in the Operation column.

    The Change Security Group dialog box is displayed.

    Figure 1 Change Security Group
  4. Select the target NIC and security groups.

    You can select multiple security groups. In such a case, the rules of all the selected security groups will apply to the ECS.

    To create a security group, click Create Security Group.

    Using multiple security groups may deteriorate ECS network performance. You are suggested to select no more than five security groups.

  5. Click OK.