Updated on 2024-10-18 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. Click . Under Compute, click Elastic Cloud Server.
  3. In the ECS list, locate the row that contains the target ECS. Click More in the Operation column and select Manage Network > Change Security Group.

    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.