What Are Labels
Labels are identifiers for cloud resources that help you classify, search, and aggregate cloud resources with the same characteristics from different dimensions, making resource management easier.
Application Scenarios
- Find resources using labels Use labels to mark resources and quickly find resources bound with specific labels through the label console.
- Use labels for cost allocation Support downloading and exporting bills, which will display label fields. You can perform cost allocation operations based on these label fields.
Basic Concepts
Label key-value pair: A label consists of a key-value pair (Key:Value), including a label key (Key) and a label value (Value).
Supported Cloud Services
UCloud label service supports a series of core infrastructure services, such as cloud servers, cloud databases, load balancers, etc. On this basis, the label service is continuously expanding support for other cloud services. For more information, please refer to Supported Cloud Services
Usage Limits
Limitation Item | Specification |
---|---|
Maximum number of labels allowed to be bound to a single resource | 20 |
Number of labels allowed to be created in a single account | 1000 |
Length limit for a single label key | 1-127 characters |
Length limit for a single label value | 1-255 characters |
Character set for label keys and values | Supports Chinese, English, numbers, and common symbols |
Resource binding limit | The same label key on the same resource can only correspond to one label value. If you attempt to add an existing label key, the corresponding label value will be updated to the new value. For example: If a resource is first bound with city:shanghai, and then city:newyork is bound later, city:shanghai will be automatically unbound, and city:newyork will be bound. |