Home > Operation and Maintenance > Linux Operation and Maintenance > How to delete the security group after there are no ECS instances in the security group

How to delete the security group after there are no ECS instances in the security group

坏嘻嘻
Release: 2018-09-18 16:14:08
Original
2555 people have browsed it

The content of this article is about how to delete the security group after there is no ECS instance in the security group. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

Delete Security Group

If your business no longer needs one or more security groups, you can delete the security group. After a security group is deleted, all security group rules in the group will be deleted at the same time.

Prerequisites

Deleting a security group must meet the following conditions:

There is no ECS instance in the security group. To remove an ECS instance from a security group, see Joining and Removing a Security Group.

The security group has not been added with security group rules by other security groups. You can directly delete the security group by following the steps described in this article. If the security group is authorized by other security groups, you will see an error message as shown in the figure below. Delete the corresponding authorization rule.

How to delete the security group after there are no ECS instances in the security group

Operation steps

Follow the following steps to delete the security group:

Log in to ECS Management console.

In the left navigation bar, select Network and Security > Security Group.

Select a region.

Select one or more security groups, and at the bottom of the list, click Delete.

In the Delete Security Group dialog box, after confirming the information, click OK.

Related API

Delete security group: DeleteSecurityGroup

Query the authorization between a security group and other security groups Relationship: DescribeSecurityGroupReferences

Move the ECS instance out of the security group: LeaveSecurityGroup

The above is the detailed content of How to delete the security group after there are no ECS instances in the security group. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template