The instance tag function enables you to quickly filter your desired instances. You can distinguish instances by tags or search for instances by tags. Firstly, create a tag. The tag creation function may differ depending on resource pools.
For type Ⅰ resource pool, create a tag in the following steps:
Open the instance list page in the DDS console.
Click Management Center -> Instance Management on the left to go to the instance list page.
In the "Tag" operation column on the instance list page, click the Tag icon and Edit button in turns. The Edit Tag pop-up window is displayed.
In the Edit Tag pop-up window, you can select an existing tag key value or enter a non-existent tag key value and click OK. The tag key value will be automatically added and bound.
For type Ⅱ resource pool, create a tag in the following steps:
Open the instance list page in the DDS console.
Click System Management -> Tag Management on the left to go to the Tag Management page.
On the Tag Management page, click Create Tag. The Create Tag pop-up window is displayed.
In the Create Tag pop-up window, click Create in the Tag Key operation column and then enter the tag key. In the Tag Value operation column, enter the tag value and then click OK. The tag is created.
To create tags in batches, click Add Tag Key in the Create Tag pop-up window and repeat Step 4.
Naming conventions of tag "key" and "value":
Parameter | Rule | Example |
Tag Key | A tag key name must not contain any characters other than letters, numbers, hyphens (-), and underscores (_) and must not exceed 16 characters. | label_1 |
Tag Value | A tag key value cannot contain any characters other than letters, numbers, hyphens (-), and underscores (_) and must not exceed 16 characters. | dds_1 |
Description
A tag is composed of "key" and "value", and one "key" in each tag can only correspond to one "value".