Updated on 2024-08-07 GMT+08:00

Changing Security Groups That Are Associated with a Network Interface

Scenarios

You can change the security groups that are associated with a network interface on either the network interface list page or the network interface details page.

Procedure

Changing the security group associated with a network interface on the network interface list page

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  4. In the navigation pane on the left, choose Virtual Private Cloud > Network Interfaces.
  5. In the network interface list, locate the row that contains the target network interface, and choose More > Change Security Group in the Operation column.
  6. On the Change Security Group page, select the security groups to be associated and click OK.

Changing the security group associated with a network interface on the network interface details page

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click in the upper left corner and choose Networking > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  4. In the navigation pane on the left, choose Virtual Private Cloud > Network Interfaces.
  5. Click the private IP address of the target network interface.
  6. Click the Associated Security Groups tab. Then, click Change Security Group.
  7. On the Change Security Group page, select the security groups to be associated and click OK.

Other Operations

On the Associated Security Groups tab, locate the target security group and click Manage Rule to manage security group rules. For details about how to configure security group rules, see Adding a Security Group Rule.