Why Can't I Delete a Security Group?
- The default security group is named default and cannot be deleted.
Figure 1 Default security group
- If you want to delete a security group that is associated with instances, such as cloud servers, containers, and databases, you need to remove the instances from the security group first.
- A security group cannot be deleted if it is used as the source or destination of a rule in another security group.
You need to delete or modify the rule first and delete the security group.
For example, if the source of a rule in security group sg-B is set to sg-A, you need to delete or modify the rule in sg-B before deleting sg-A.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.