Service resource labels
Most Yandex Cloud services support resource labeling.
A label is a key-value pair in <label_name>=<label_value>
format. You can use labels to break resources into logical groups.
Labels are subject to the following limitations:
- Maximum number of labels per resource: 64.
- The key:
- Must be from 1 to 63 characters long.
- May contain lowercase Latin letters, numbers, hyphens, and underscores.
- Use a letter for the first character.
- The value:
- May be up to 63 characters long.
- May contain lowercase Latin letters, numbers, hyphens, and underscores.
Label usage examples
-
Viewing service usage details by labels.
For example, you can view the DataSphere spending details.
-
Searching for resources belonging to the same project, owner, environment, etc.
For example, you can use the
project:app
label to find the Yandex Cloud resources used in theapp
project. -
Grouping resources by various criteria, such as project, team, environment, application, etc.
For example, you can use the
environment:production
andenvironment:test
labels to mark Yandex Cloud resources as belonging to the production and test environments. -
Automating actions with a resource group, such as launching, stopping, or deleting the labeled resources.
For example, you can manage a resource group using Yandex Cloud Functions.
Services that support labels
Note
Some service resources do not support labels, and some interfaces may not display them. For example, resource labels may not be visible in the management console interface or Cloud Center interface.
Infrastructure and network
- Yandex API Gateway
- Yandex Application Load Balancer
- Yandex Cloud DNS
- Yandex Cloud Logging
- Yandex Compute Cloud
- Yandex Load Testing
- Yandex Network Load Balancer
- Yandex Object Storage
- Yandex Virtual Private Cloud
Data platform
- Yandex Data Processing
- Yandex Data Transfer
- Yandex DataSphere
- Yandex Managed Service for Apache Airflow™
- Yandex Managed Service for Apache Kafka®
- Yandex Managed Service for ClickHouse®
- Yandex Managed Service for Elasticsearch
- Yandex Managed Service for Greenplum®
- Yandex Managed Service for MongoDB
- Yandex Managed Service for MySQL®
- Yandex Managed Service for OpenSearch
- Yandex Managed Service for PostgreSQL
- Yandex Managed Service for Redis
- Yandex Managed Service for YDB
- Yandex MetaData Hub (Yandex Connection Manager and Hive Metastore clusters)
Containers
Serverless computing
- Yandex Cloud Functions
- Yandex IoT Core
- Yandex Serverless Containers
- Yandex Serverless Integrations (EventRouter)
Security
- Yandex Audit Trails
- Yandex Certificate Manager
- Yandex Identity and Access Management
- Yandex Key Management Service
- Yandex Lockbox
Developer tools
Resource monitoring and management
See also
- Managing labels
- Managing labels in Yandex DataSphere communities
- Managing labels in Yandex DataSphere projects
Greenplum® and Greenplum Database® are registered trademarks or trademarks of VMware, Inc. in the United States and/or other countries.
ClickHouse® is a registered trademark of ClickHouse, Inc