All Products
Search
Document Center

Resource Management:Create a predefined tag

Last Updated:May 23, 2024

This topic describes how to create a predefined tag.

Overview

What is a predefined tag?

A predefined tag is a tag that you create in advance and is available for resources in all Alibaba Cloud regions. You can create predefined tags in the stage of tag planning and add them to resources in the stage of tag implementation.

You can create predefined tags but do not add them to resources. A predefined tag that is not added to resources is invisible in the regions where the resources reside.

You can specify only a tag key when you create a predefined tag. You can specify a tag value for the predefined tag in subsequent operations.

Limits

  • Maximum number of predefined tags that can be created within a single Alibaba Cloud account: 1,000

  • Maximum number of tag values that can be specified for a single predefined tag key: 1,000

Creation methods

You can use one of the following methods to create a predefined tag:

  • Use a tag template to create a predefined tag

    The system presets the tag templates listed in the following table. This allows you to quickly plan a tag system. For more information, see Use a tag template to create a predefined tag.

    Tag type

    Description

    Tag key

    Environment tag

    Indicates the business environments to which resources belong, such as development environment, test environment, and production environment.

    Environment

    Organization tag

    Indicates the organization to which resources belong, such as company, department, team, and project.

    • Company

    • Department

    • Team

    • Project

    Role tag

    Indicates the roles of resource managers, such as network administrator, application administrator, and system administrator.

    Role

    Cost tag

    Indicates the attribution of internal financial costs, such as department, branch, and business unit. This type of tag is mainly used for internal settlement and cost accounting.

    BusinessUnit

    User tag

    Indicates the owners of resources. This type of tag is used when the resource applicant is not the resource user. An owner can be indicated by their name, employee ID, or email address.

    Owner

  • Customize a predefined tag

    For more information, see Customize a predefined tag.

  • Use an Excel file to create a predefined tag

    For more information, see Use an Excel file to create a predefined tag.

Use a tag template to create a predefined tag

  1. Log on to the Resource Management console.

  2. In the left-side navigation pane, choose Tag > Predefined Tags.

  3. On the Predefined Tags page, click Create Predefined Tag.

  4. In the Select Tag Template step of the Create Predefined Tag dialog box, set Creation Method to Select Tag Template.

  5. In the Tag Template section, select the desired tag template and click Next.

  6. In the Specify Tag Key and Tag Value step of the Create Predefined Tag dialog box, specify a tag key and a tag value and click Create Predefined Tag.

  7. In the message that appears, click Close.

Customize a predefined tag

  1. Log on to the Resource Management console.

  2. In the left-side navigation pane, choose Tag > Predefined Tags.

  3. On the Predefined Tags page, click Create Predefined Tag.

  4. In the Select Tag Template step of the Create Predefined Tag dialog box, set Creation Method to Customize Predefined Tag and click Next.

  5. In the Specify Tag Key and Tag Value step of the Create Predefined Tag dialog box, specify a tag key and a tag value and click Create Predefined Tag.

  6. In the message that appears, click Close.

Use an Excel file to create a predefined tag

  1. Log on to the Resource Management console.

  2. In the left-side navigation pane, choose Tag > Predefined Tags.

  3. On the Predefined Tags page, click Create Predefined Tag.

  4. In the Select Tag Template step of the Create Predefined Tag dialog box, set Creation Method to Import from Excel File.

  5. In the Import Predefined Tag section, click Upload .xlsx File, upload the Excel file in which a tag is created, and then click Next.

    Note

    You can click sample.xlsx to download the sample file and refer to the content in the sample file to create a tag in an Excel file. This improves tag creation efficiency and ensures tag validity.

  6. View or modify the imported tag key and tag value and click Create Predefined Tag.

  7. In the message that appears, click Close.

What to do next

After the predefined tag is created, you can add the tag to resources. For more information, see Add a predefined tag.