Updated on 2024-04-15 GMT+08:00

Changing the Security Group of an ECS

Scenarios

When creating an ECS, you must associate it with a security group. If no security group has been created yet, a default security group will be created and associated with the ECS. If the default security group cannot meet your service requirements, you can change the security group associated with the ECS.

You can also associate an ECS with a custom security group. If the custom security group cannot meet your requirements, you can change the custom security group.

Procedure

  1. Log in to the management console.
  2. Under Computing, 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.

  4. Select the target NIC and security groups.

    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.