Manage tags

更新时间:
复制 MD 格式

Tags let you categorize and filter Lindorm instances. You can create, bind, unbind, and delete tags, and filter the instance list by tag.

Create a tag

When you have a large number of Lindorm instances, you can use tags to categorize and filter instances. For example, you can add test environment and production environment instances with env:test and env:prod tags. You can then quickly filter out all instances in a specific environment based on tags. You can also add tags to instances based on business scenarios, such as business:recommend and business:search. Important Lindorm instance tags are different from ECS instance tags. Lindorm instance tags are only used in the Lindorm console to group and filter instances. This feature is currently free. Note When creating an instance, you can directly bind tags to the instance.

Limitations

  • A tag is a key-value pair. For a specific Lindorm instance, each tag key must be unique, but tag values do not need to be.

  • You can bind up to 20 tags to each instance.

Procedure

  1. Log on to the Lindorm console.

  2. In the upper-left corner of the page, select the region where the instance is deployed.

  3. On the Instances page, click the Actions icon in the Tag column for the target instance, and then click Edit in the dialog box that appears.

  4. In the Configure Tags dialog box, enter a Tag Key and a Tag Value.

    Note

    If tags already exist, you can select one to bind to the instance. For more information, see Bind tags.

  5. Click OK.

    Note

    After you create a tag, you can bind it to other instances.

Bind tags

Bind existing tags to your Lindorm instances for easier categorization. Each instance supports up to 20 tags.

Procedure

  1. Log on to the Lindorm console.

  2. In the upper-left corner of the page, select the region where the instance is deployed.

  3. On the Instances page, click the Actions icon in the Tag column for the target instance, and then click Edit in the dialog box that appears.

  4. In the Configure Tags dialog box, select an existing Tag Key and Tag Value.

  5. Click OK.

Untag or delete a tag

Remove a tag from an instance when it is no longer needed.

Precautions

  • A tag is automatically deleted within 24 hours after it is unbound from all associated instances.

  • You can remove a maximum of 20 tags from an instance at a time.

  • Untagging an instance does not affect its operations.

Untag an instance

  1. Log on to the Lindorm console.

  2. In the upper-left corner of the page, select the region where the instance is deployed.

  3. On the Instances page, click the image icon in the Tag column for the target instance, and then click Edit in the dialog box that appears.

  4. In the Configure Tags dialog box, click the image icon next to the tag that you want to remove.

  5. Click OK to untag the instance.

Delete a tag

Important

You cannot delete tags manually. To delete a tag, you must first remove it from all associated instances. The system then automatically deletes the tag within 24 hours.

  1. Log on to the Lindorm console.

  2. In the upper-left corner of the page, select the region where the instance is deployed.

  3. On the Instances page, click Filter by Tag, and then click Tag Management to go to the Tag page.

  4. In the search box, enter a keyword from the tag key to find the tag.

  5. In the Actions column for the target tag, click View Resources.

  6. In the Actions column for the resource that you want to untag, click Remove from Resources.

  7. Click Remove.

Filter instances by tag

After binding tags, you can filter the instance list to display only instances with a specific tag.

Procedure

  1. Log on to the Lindorm console.

  2. In the upper-left corner of the page, select the region where the instance is deployed.

  3. On the Instances page, click Tag and select the tag key or tag value to filter by.

    Note

    To clear a selected tag key or tag value, click it again.