Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Adding Tags

Updated on 2024-06-21 GMT+08:00

Tags are used to identify cloud resources, such as ECSs, images, and disks. If you have multiple types of cloud resources which are associated with each other, you can add tags to the resources to classify and manage them easily. For more details, see Overview.

For details about how to use predefined tags, see Using Predefined Tags.

Adding Tags During ECS Creation

  1. Log in to the management console.
  2. Click in the upper left corner and select your region and project.
  3. Under Computing, choose Elastic Cloud Server.
  4. Click Create ECS.
  5. Configure parameters for the ECS.

    Select Configure now for Advanced Options. Then, add a tag key and tag value. For the tag key and tag value requirements, see Table 1.

    NOTE:

    For details about other parameters, see Creating an ECS.

    Figure 1 Adding tags

Adding Tags on the ECS Details Page

  1. Log in to the management console.
  2. Under Computing, choose Elastic Cloud Server.
  3. In the ECS list, click the name of the target ECS.

    The ECS details page is displayed.

  4. Click the Tags tab and then Add Tag. In the displayed dialog box, enter the tag key and tag value. For the tag key and tag value requirements, see Table 1.

    You can change the tag value after the tag is added.

    Figure 2 Adding tags on the Tags tab

Adding Tags on the TMS Console

NOTE:

This method is suitable for adding tags with the same tag key to multiple resources.

  1. Log in to the management console.
  2. Under Management & Deployment, choose Tag Management Service.
  3. On the displayed Resource Tags page, select the region where the resource is located, select ECS-ECS for Resource Type, and click Search.

    All ECSs matching the search criteria are displayed.

  4. In the Search Result area, click Create Key. In the displayed dialog box, enter a key (for example project) and click OK.

    After the tag is created, the tag key is added to the resource list. If the key is not displayed in the resource list, click and select the created key from the drop-down list.

    By default, the value of the tag key is Not tagged. You need to set a value for the tag of each resource to associate the tag with the resource.

    Figure 3 Resource list
  5. Click Edit to make the resource list editable.
  6. Locate the row containing the target ECS, click , and enter a value (for example A).

    After a value is set for a tag key, the number of tags is incremented by 1. Repeat the preceding steps to add tag values for other ECSs.

    Figure 4 Setting a tag value

Using Predefined Tags

If you want to add the same tag to multiple ECSs or other resources, you can create a predefined tag on the TMS console and then select the tag for the ECSs or resources. This frees you from having to repeatedly enter tag keys and values. To do so, perform the following operations:

  1. Log in to the management console.
  2. In the upper right corner of the page, click the username and select Tag Management from the drop-down list.
  3. Choose Predefined Tags in the left navigation pane and click Create Tag. In the displayed dialog box, enter a key (for example, project) and a value (for example, A).
  4. Choose Service List > Computing > Elastic Cloud Server, and select the predefined tag by following the procedure for adding a tag.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback