All Products
Search
Document Center

Resource Management:Create a preset tag

Last Updated:Mar 18, 2024

This topic describes how to create a preset tag.

Overview

What is a preset tag?

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 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.

Limits

  • Maximum number of preset 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 preset tag key: 1,000

Creation methods

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 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 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 Creation Method to Select Tag Template.

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

  6. In the Configure Tag Keys step of the Create Predefined Tags dialog box, specify a tag key and a tag value and click Create Predefined 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 Creation Method to Customize Predefined Tag and click Next.

  5. In the Configure Tag Keys step of the Create Predefined Tags dialog box, specify a tag key and a tag value and click Create Predefined 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 Creation Method to Import from Excel File.

  5. In the Import Predefined Tags section, click Click here to upload an .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 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.