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

Background information

  • Many Alibaba Cloud services support tags. For more information, see Alibaba Cloud services that support tags.
  • A maximum of 20 tags can be added to a resource. If the number of tags that are added to a resource exceeds the upper limit, you must remove some of the tags from the resource before you add new tags.
  • You can use one of the following methods to add a tag to a resource:
    • Perform operations in a console: You can add tags to resources on the Tags page of the Resource Management console or in the consoles of Alibaba Cloud services.
      • This topic describes how to add a tag to a resource on the Tags page of the Resource Management console.
      • For more information about how to add a tag in the console of an Alibaba Cloud service, see the Reference column in Alibaba Cloud services that support tags.
    • Use an API operation: You can call the TagResources operation of the Tag service or the tag adding operation of an Alibaba Cloud service to add a tag to a resource.
    • Use Operation Orchestration Service (OSS): You can use OSS to add tags to multiple resources at a time. For more information, see Use OOS to add 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 panel, 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 a fuzzy search by prefix and add 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 add 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 resource to which you want to add the tag and click OK.
  8. Click Close.

Result

On the Tags page, click the Refresh icon.

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