Help Center> Virtual Private Cloud> FAQ> Security> What Should I Do Before Deleting a Security Group?

What Should I Do Before Deleting a Security Group?

  • Before deleting a security group, ensure that the security group is not used by any cloud resource, such as ECS, Relational Database Service (RDS), and Distributed Cache Service (DCS). If the security group is used by any cloud resource, release the corresponding cloud resource or change the security group used by the cloud resource, and then delete the security group.
  • If the security group to be deleted has been associated with rules of another security group (Source), delete or modify the associated security group rules, and then delete the security group.

The default security group cannot be deleted.