All Products
Search
Document Center

Elastic Compute Service:Modify the name, description, and tags of a security group

Last Updated:May 14, 2024

After you create a security group, you can modify the name, description, and tags of the security group based on your business requirements. This topic describes how to modify the name, description, and tags of a security group in the Elastic Compute Service (ECS) console.

Prerequisites

A security group is created. For more information, see Create a security group.

Procedure

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Network & Security > Security Groups.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. Modify the information of a security group.

    • Modify the name and description of a security group

      1. On the security group list page, find the security group that you want to modify, move the pointer over the name in the Security Group ID/Name column and the description in the Description column, and then click the image.png icon.

      2. In the dialog box that appears, modify the name or description of the security group.

        Note
        • Security group name: The new name must be 2 to 128 characters in length and cannot start with a special character or digit. The name can contain letters, digits, periods (.), underscores (_), hyphens (-), and colons (:).

        • Description: The new description must be 2 to 256 characters in length and cannot start with http:// or https://.

      3. Click Confirm.

    • Modify the tags of a security group

      Tags can be used to identify resources with the same characteristics for easy search and management, such as security groups that belong to the same organization or that serve the same purpose. For information about tags, see Overview of tags.

      1. On the security group list page, find the security group that you want to manage and modify the tags of the security group.

        • If no tags are added to the security group, move the pointer over the image.png icon in the Tag column and click Edit.

        • If tags are added to the security group, move the pointer over the image.png icon in the Tag column and click Edit.

      2. In the Configure Tags dialog box, select or create tags. Then, click OK.

        Note

        After tags are added to your security groups, you can filter the security groups by tag to perform different operations. For example, you can add ECS instances to security groups that have a specific set of tags and add rules to security groups that have a different set of tags.

References