Help Center> Virtual Private Cloud> FAQs> Security> Why Can't I Delete a Security Group?
Updated on 2023-09-01 GMT+08:00

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.

    If you want to know the instances associated with a security group, refer to How Do I Know the Instances Associated with a Security Group?

  • 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.

Security FAQs

more