• Elastic Load Balancing

elb
  1. Help Center
  2. Elastic Load Balancing
  3. User Guide
  4. Management
  5. Tag

Tag

Scenarios

If you have a large number of cloud resources, including load balancers, you can tag your resources to quickly identify them. You can also query, modify, or delete these tags to help you manage your resources.

Currently, you can assign tags only to enhanced load balancers and their listeners.

Add a Tag to a Load Balancer

You can use either of the following methods to add a tag to a load balancer:

  • Add a tag when creating a load balancer.

    For details about the operations and parameters, see Creating an Enhanced Load Balancer.

  • Add a tag to an existing load balancer.
    1. Log in to the management console.
    2. In the upper left corner of the page, click and select the desired region and project.
    3. Under Network, click Elastic Load Balancing.
    4. Locate the target load balancer and click its name.
    5. Under Tags, click Add Tag.
    6. In the Add Tag dialog box, enter a tag key and value and click OK.
      NOTE:
      • A maximum of 10 tags can be added to a load balancer.
      • Each tag is a key-value pair, and the tag key is unique.

Add a Tag to a Listener

When creating a listener, you can use the tagging function in the advanced configuration.

To add a tag to an existing listener, perform the following steps:

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Under Network, click Elastic Load Balancing.
  4. Locate the target load balancer and click its name.
  5. Click Listeners, locate the target listener, and click its name.
  6. Under Tags, click Add Tag.
  7. In the Add Tag dialog box, enter a tag key and value and click OK.
    NOTE:
    • A maximum of 10 tags can be added to a listener.
    • Each tag is a key-value pair, and the tag key is unique.

Modify a Tag

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Under Network, click Elastic Load Balancing.
  4. Locate the target load balancer and click its name.
  5. Click Tags, select the tag to be edited, and click Edit in the Operation column. In the Edit Tag dialog box, change the tag value.
    NOTE:

    The tag key cannot be changed.

  6. Click OK.

The preceding steps describe how to modify a load balancer tag. The operations for modifying a listener tag are basically the same.

Delete a Tag

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Under Network, click Elastic Load Balancing.
  4. Locate the target load balancer and click its name.
  5. Click Tags, select the tag to be deleted, and click Delete in the Operation column.
  6. In the Delete Tag dialog box, click Yes.

The preceding steps describe how to delete a load balancer tag. The operations for deleting a listener tag are basically the same.