This topic describes how to create a preset tag.

Overview

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

You can create preset tags but do not add them to resources. A preset 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 preset tag. You can specify a tag value for the preset tag in subsequent operations.

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

  • Use a tag template to create a preset tag

    The system presets the tag templates shown in the following table. This allows you to quickly plan a tag system. For more information, see Use a tag template to create a preset 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 the 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 preset tag

    For more information, see Customize a preset tag.

  • Use an Excel file to create a preset tag

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

Use a tag template to create a preset 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 Tags.
  4. In the Select tag template step of the Create Predefined Tags dialog box, set Tag Type to Template Tag.
  5. In the Tag Template section, select the desired tag template and click Next.
  6. In the Configure tags step of the Create Predefined Tags dialog box, specify a tag key and a tag value and click Create Preset Tags.
  7. In the message that appears, click Close.

Customize a preset 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 Tags.
  4. In the Select tag template step of the Create Predefined Tags dialog box, set Tag Type to Custom Tags and click Next.
  5. In the Configure tags step of the Create Predefined Tags dialog box, specify a tag key and a tag value and click Create Preset Tags.
  6. In the message that appears, click Close.

Use an Excel file to create a preset 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 Tags.
  4. In the Select tag template step of the Create Predefined Tags dialog box, set Tag Type to Import predefined tags from Excel file.
  5. In the Import predefined tags section, click Click and upload Excel file (.xlsx), 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 Preset Tags.
  7. In the message that appears, click Close.

What to do next

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