Tag a Network Load Balancer
Tags help you to categorize your Network Load Balancers in different ways. For example, you can tag a resource by purpose, owner, or environment.
You can add multiple tags to each Network Load Balancer. If you add a tag with a key that is already associated with the Network Load Balancer, it updates the value of that tag.
When you are finished with a tag, you can remove it from your Network Load Balancer.
Restrictions
-
Maximum number of tags per resource—50
-
Maximum key length—127 Unicode characters
-
Maximum value length—255 Unicode characters
-
Tag keys and values are case-sensitive. Allowed characters are letters, spaces, and numbers representable in UTF-8, plus the following special characters: + - = . _ : / @. Do not use leading or trailing spaces.
-
Do not use the
aws:
prefix in your tag names or values because it is reserved for AWS use. You can't edit or delete tag names or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
To update the tags for a Network Load Balancer using the console
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
. -
In the navigation pane, choose Load Balancers.
-
Select the name of the Network Load Balancer to open its details page.
-
On the Tags tab, choose Manage tags.
-
To add a tag, choose Add tag and enter the tag key and tag value. Allowed characters are letters, spaces, numbers (in UTF-8), and the following special characters: + - = . _ : / @. Do not use leading or trailing spaces. Tag values are case-sensitive.
-
To update a tag, enter new values in Key and Value.
-
To delete a tag, choose the Remove button next to the tag.
-
When you have finished, choose Save changes.
To update the tags for a Network Load Balancer using the AWS CLI
Use the add-tags and remove-tags commands.