Deleting a security group removes it and its rules from your account. A group can be deleted once nothing is using it: it is detached from every resource, and it is not the default.
Delete the group
Section titled “Delete the group”A deleted group cannot be brought back, so note its rules first if you want to reuse them.
- Open Network > Security Group. If the group’s Default column marks it, first set another group as default.
- Select the group and check the Associated Nodes, Associated Scaler, Associated Kubernetes, and Associated Load Balancer tabs. Detach anything listed there; for a node, see Detach a security group from a node.
- Open the group’s Actions menu and choose Delete.
- In Delete Security Group?, check the name and click Delete.
The group leaves the list.
Your account now holds only the groups you use. If the delete is refused, Troubleshooting Security Group explains both messages.
Was this page helpful?