Updated on 2024-01-26 GMT+08:00

Tags

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 OBS, you can use tags to identify and classify OBS buckets.

If you add tags to a bucket, service detail records (SDRs) generated for it will be labeled with these tags. You can classify SDRs by tag for cost analysis. For example, if you have an application that uploads its running data to a bucket, you can tag the bucket with the application name. In this manner, the costs can be analyzed using tags in SDRs.

Constraints

  • A tag is structured as a key-value pair that is case sensitive.
  • A bucket can have a maximum of 10 tags. Each tag has only one key and one value.
  • Each key must be unique among all tags of a bucket, whereas the tag values can be repetitive or left blank.
  • It takes approximately three minutes for an added tag to take effect.

How to Use

You can configure tags using OBS Console.

Tool

Reference

OBS Console

Configuring Tags for a Bucket