Updated on 2025-09-18 GMT+08:00

Tags

This section describes how to add tags to existing file systems. You can also add tags when creating file systems.

Tags are used to identify and classify file systems.

Constraints

  • A tag consists of a tag key and a tag value.
    • A tag key can contain a maximum of 128 characters. It can contain letters, digits, and spaces representable in UTF-8 and special characters (_.:=+-@). It cannot start or end with a space and cannot be left empty. Tag keys starting with _sys_ are system tags, and you cannot start a tag key with _sys_.
    • A tag value can contain a maximum of 255 characters. It can contain letters, digits, and spaces representable in UTF-8 and special characters (_.:=+-@) and can be left empty. It cannot start or end with a space.
    • Generally, tags appear on the "Cost Center" > "Cost Tags" page 24 hours after their associated resources have generated expenditures. If there are no tags to activate, consider removing the colons (:) from tags. Cost tags cannot contain colons (:).
  • You can add a maximum of 20 tags to a file system.
  • Tag keys of the same file system must be unique.
  • Once created, tag keys of a file system cannot be edited. You can only edit the tag values. You can delete tags.

Application Scenarios

Tags help you to identify your cloud resources. When you have many cloud resources of the same type, you can use tags to classify them by dimension (for example, by purpose, owner, or environment) for usage or cost analysis.

In SFS, you can use tags to identify and classify SFS file systems.

If you add tags to a file system, the bills generated for this file system will contain these tags. You can classify bills by tag for cost analysis.

Procedure

  1. Log in to the SFS console.
  2. Choose General Purpose File System > File Systems. In the file system list, find the general purpose file system you want to add tags and click its name to go to its details page.
  3. In the navigation pane on the left, choose Tags, as shown in Figure 1.

    Figure 1 Tags page

  4. Click Edit Tag. The Edit Tag page is displayed.

    Figure 2 Edit Tag

  5. Add tag keys and values and click OK.

    • Key: mandatory
    • Value: optional

    Return to the tag list. You can see the tags you have just added. You can edit or delete the tags if needed.