Scenarios
If your security group rule is no longer required, you can delete it.
Notes and Constraints
Security group rules use whitelists. Deleting a security group rule may result in ECS access failures. Security group rules work as follows:
- Inbound rule: If an inbound request matches the source in an inbound security group rule with Action set to Allow, the request is allowed.
- Outbound rule: If the destination of an outbound security group rule with Action set to Allow is 0.0.0.0/0, all outbound requests are allowed.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Click
in the upper left corner and choose Network > Virtual Private Cloud.The Virtual Private Cloud page is displayed.
- In the navigation pane on the left, choose Access Control > Security Groups.
The security group list is displayed.
- In the security group list, click the name of the security group.
The security group details page is displayed.
- Click the Inbound Rules or Outbound Rules tab as required.
The security group rule list is displayed.
- In the security group rule list:
- To delete a single security group rule, locate the row that contains the rule and click Delete in the Operation column.
- To delete multiple security group rules, select multiple security group rules and click Delete in the upper left corner of the rule list.
- Click Yes.