This topic describes how to search for security groups by security group name, security group ID, or virtual private cloud (VPC) ID in the Elastic Compute Service (ECS) console.
Procedure
Log on to the ECS console.
In the left-side navigation pane, choose .
In the top navigation bar, select the region and resource group to which the resource belongs.
On the Security group page, enter a security group name, security group ID, or VPC ID in the Intelligent Match field and click the icon.
NoteYou can select Security Group Name or Security Group ID to perform an exact search. You can also select VPC ID and enter a VPC ID to query all security groups in a specific VPC.
References
You can call an API operation to query security groups. For more information, see DescribeSecurityGroups.
You can add cloud resources such as ECS instances and elastic network interfaces (ENIs) to a security group. For more information, see Manage resources associated with security groups.