This topic describes how to create and bind a tag to a cloud resource. If multiple resources that are associated with each other exist under your account, you can bind tags to these resources. This allows you to categorize the resources and manage them in a centralized manner.

Background information

  • For more information about the Alibaba Cloud services that support tags, see Alibaba Cloud services that support tags.
  • A maximum of 20 tags can be bound to each cloud resource. If the number of tags that are bound to a resource exceeds the upper limit, you must unbind some of the tags before you bind new tags.
  • You can use one of the following methods to create and bind a tag to a cloud resource:
    • Perform operations in a console: You can create and bind a tag to a cloud resource on the Tags page of the Resource Management console or in the consoles of Alibaba Cloud services. This topic describes only how to create and bind a tag to a cloud resource on the Tags page of the Resource Management console. For more information about how to create and bind a tag in the consoles of Alibaba Cloud services, see the documentation of each Alibaba Cloud service.
    • Use API operations: You can call the TagResources operation of the Tag service or the tag creation and binding operation of an Alibaba Cloud service to create and bind a tag to a cloud resource. For more information about the TagResources operation of the Tag service, see TagResources. For more information about the tag creation and binding operation of an Alibaba Cloud service, see the documentation of the service.
    • Use Operation Orchestration Service (OSS): You can use OSS to bind tags to multiple resources at a time. For more information, see Use OOS to bind tags to multiple resources.

Procedure

  1. Log on to the Resource Management console. The Tags page appears.
  2. In the Region section, select a region.
  3. Set Tag Type to All Custom Tags.
  4. Click Create/Bind Tags.
  5. In the Create/Bind Tags pane, create a tag or select an existing tag.
    • Tag Key: required. You can select an existing tag key or enter a new tag key. You can perform fuzzy search by prefix and bind a maximum of 10 tag keys at a time.

      Each tag key can contain a maximum of 128 characters and cannot contain http:// or https://. It cannot start with aliyun or acs:.

    • Tag Value: optional. You can select an existing tag value or enter a new tag value.

      Each tag value can contain a maximum of 128 characters and cannot contain http:// or https://. It cannot start with aliyun or acs:.

    Note If you want to bind a tag, select an existing tag value. If you want to create a tag, enter a new tag value.
  6. Click Next.
  7. Select the cloud resource to which you want to bind the tag and click OK.
  8. Click Close.

Result

On the Tags page, click the Refresh icon icon.

Find the created or bound tag and click the tag value in the Tag Value column to view the resources to which the tag is bound.