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.
To delete a security group rule, see Deleting a Security Group Rule.
To delete multiple security group rules at a time:
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. Direction Action Type Protocol & Port Source or Destination Inbound Allow IPv4 All Source: current security group Inbound Allow IPv6 All Source: current security group Outbound Allow IPv4 All Destination: 0.0.0.0/0 Outbound Allow IPv6 All Destination: ::/0
in the upper left corner and choose Network > Virtual Private Cloud.The Virtual Private Cloud page is displayed.
The security group list is displayed.
The security group details page is displayed.
The security group rule list is displayed.
A confirmation dialog box is displayed.
in the upper left corner and choose Network > Virtual Private Cloud.The Virtual Private Cloud page is displayed.
The security group list is displayed.
The security group details page is displayed.
The security group rule list is displayed.
A confirmation dialog box is displayed.
in the upper left corner and choose Network > Virtual Private Cloud.The Virtual Private Cloud page is displayed.
The security group list is displayed.
The security group details page is displayed.
The security group rule list is displayed.
The Batch Select dialog box is displayed.
After the Excel file is ready, take step 8. The system then automatically selects the target rules based on the imported file.
The system starts to match the rules in the Excel file with the existing rules and displays the matching result. The matching items of a security group rule include the priority, action, type, protocol & port, source, and destination.
The security group rule list page is displayed and the target rules are selected automatically.
A confirmation dialog box is displayed.