You can add tags to your existing resources to identify and categorize them. Tags enable you to make an inventory of your resources.

Working with tags in Load Balancing Unit (LBU) is the same as in Flexible Compute Unit (FCU). For more information, see Governance > Tagging Your Resources > About Tags.

This feature is not available from Cockpit. This documentation only describes the procedure using AWS CLI.

The following procedures are available:

Adding Tags

  • To add one or more tags, use the add-tags command following this syntax:

    Request sample
    $ aws elb add-tags \
        --profile YOUR_PROFILE \
        --load-balancer-names LOAD_BALANCER ANOTHER_LOAD_BALANCER \
        --tags Key=KEY1,Value=VALUE1 Key=KEY2,Value=VALUE2 \
        --endpoint https://lbu.eu-west-2.outscale.com

    This command contains the following attributes that you need to specify:

    • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.
    • load-balancer-names: The names of the load balancers for which you want to add tags.

    • tags: The tags you want to add to the specified load balancers. This attribute contains the following elements that you need to specify:
      • Key: The key of the tag.
      • (optional) Value: The value of the tag.

        The tag value must contain 255 characters maximum. However, there is no maximum length for the tag key.

    • endpoint: The endpoint corresponding to the Region you want to send the request to.
    The specified tags are added to the specified resources.


Removing Tags

  • To remove one or more tags, use the remove-tags command following this syntax:

    Request sample
    $ aws elb remove-tags \
        --profile YOUR_PROFILE \
        --load-balancer-names LOAD_BALANCER ANOTHER_LOAD_BALANCER \
        --tags KEY1 KEY2 \
        --endpoint https://lbu.eu-west-2.outscale.com

    This command contains the following attributes that you need to specify:

    • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.
    • load-balancer-names: The names of the load balancers for which you want to remove tags.

    • tags: The keys of the tags you want to remove from the specified load balancers.
    • endpoint: The endpoint corresponding to the Region you want to send the request to.
    The specified tags are removed from the specified resources.



AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.