nav-img
Advanced

Deleting One or More Security Group Rules

Scenarios

If you no longer need one or more security group rules to control the traffic to and from the instances in a security group, you can delete them.

Notes and Constraints

Note that deleting a security group rule may interrupt your services or cause network security risks.

Security group rules are like a whitelist. If there are no rules that allow or deny specific traffic, the security group denies all traffic to or from the instances in it.

Deleting a Security Group Rule

  1. Log in to the management console.
  1. Click in the upper left corner and choose Network > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  2. In the navigation pane on the left, choose Access Control > Security Groups.

    The security group list is displayed.

  3. In the security group list, click the name of the security group.

    The security group details page is displayed.

  4. Click the Inbound Rules or Outbound Rules tab as required.

    The security group rule list is displayed.

  5. Locate the target rule and click Delete in the Operation column.

    A confirmation dialog box is displayed.

  6. Click OK.

Deleting Multiple Security Group Rules

  1. Log in to the management console.
  1. Click in the upper left corner and choose Network > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  2. In the navigation pane on the left, choose Access Control > Security Groups.

    The security group list is displayed.

  3. In the security group list, click the name of the security group.

    The security group details page is displayed.

  4. Click the Inbound Rules or Outbound Rules tab as required.

    The security group rule list is displayed.

  5. In the security group rule list, select the target security group rules and click Delete up above the upper left corner of the list.

    A confirmation dialog box is displayed.

  6. Click OK.