What Is a Tag?
Tags are used to identify cloud resources, such as instances, images, and disks. If you have several types of cloud resources that are relevant under your account, you can use tags to classify these cloud resources (by usage, owner, environment, or others).
In this example, you assign two tags to each cloud resource. Each tag contains a key and a value that you define. The key of one tag is Owner, and the key of another tag is Usage. Each tag has a value.
You can quickly search for and filter specific cloud resources based on the tags added to them. For example, you can define a set of tags for cloud resources in an account to track the owner and usage of each cloud resource, making resource management easier.
What Is a Cost Tag?
You can activate tags in Cost Center to help classify and track your Huawei Cloud costs. Once activated, such tags are referred to as cost tags. Only activated tags can be used to organize your resource costs and for cost analysis. For details about how to activate tags, see Activating Cost Tags.
There are two types of tags:
- Expenditure tags: You add such tags when creating resources. They will appear on the Cost Tags page 24 hours after their associated resources have generated expenditures.
- Predefined tags: You create such tags on the TMS console. They appear on the Cost Tags page immediately after being created.
When to Use Cost Tags
You can use cost tags to summarize or filter cost data on the Cost Analysis page or track the cost and usage of a specific resource on the Budgets page.
Preparations for Using Cost Tags
Before using cost tags, you need to plan how they will be used based on your services. After you activate the tags, Cost Center starts applying them to any newly generated cost data.
Constrains on Using Cost Tags
For details about the cloud services that support tag management, see TMS and Other Services.
Tags will be applied to cost data 24 hours after they were activated. The following is an example scenario.
- You activate the cost tag groupA.
- You attach the cost tag groupA when placing an order.
- You can query the cost data by groupA in Cost Center 24 hours after the order is placed.
Adding a Tag
To learn how to add tags (for ECS for example), see Adding Tags. You can also use Tag Management Service (TMS) to add tags to cloud resources. For details, see Adding Tags to Cloud Resources.
Was this page helpful?Provide feedback
For any further questions, feel free to contact us through the chatbot.Chatbot