Skip to content

Delete a security group

View as Markdown

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.

  • The group is not the default. If its Default column marks it, first set another group as default.
  • Nothing is attached to the group. Select it in Network > Security 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.

A deleted group cannot be brought back, so note its rules first if you want to reuse them.

  1. Open Network > Security Group.
  2. Open the group’s Actions menu and choose Delete.
  3. 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.