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
Log on to the Lindorm console.
In the upper-left corner of the page, select the region where the instance is deployed.
-
On the Instances page, click the
icon in the Tag column for the target instance, and then click Edit in the dialog box that appears. -
In the Configure Tags dialog box, enter a Tag Key and a Tag Value.
NoteIf tags already exist, you can select one to bind to the instance. For more information, see Bind tags.
-
Click OK.
NoteAfter 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
Log on to the Lindorm console.
In the upper-left corner of the page, select the region where the instance is deployed.
-
On the Instances page, click the
icon in the Tag column for the target instance, and then click Edit in the dialog box that appears. -
In the Configure Tags dialog box, select an existing Tag Key and Tag Value.
-
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
Log on to the Lindorm console.
In the upper-left corner of the page, select the region where the instance is deployed.
-
On the Instances page, click the
icon in the Tag column for the target instance, and then click Edit in the dialog box that appears. -
In the Configure Tags dialog box, click the
icon next to the tag that you want to remove. -
Click OK to untag the instance.
Delete a tag
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.
Log on to the Lindorm console.
In the upper-left corner of the page, select the region where the instance is deployed.
-
On the Instances page, click Filter by Tag, and then click Tag Management to go to the Tag page.
-
In the search box, enter a keyword from the tag key to find the tag.
-
In the Actions column for the target tag, click View Resources.
-
In the Actions column for the resource that you want to untag, click Remove from Resources.
-
Click Remove.
Filter instances by tag
After binding tags, you can filter the instance list to display only instances with a specific tag.
Procedure
Log on to the Lindorm console.
In the upper-left corner of the page, select the region where the instance is deployed.
-
On the Instances page, click Tag and select the tag key or tag value to filter by.
NoteTo clear a selected tag key or tag value, click it again.