English 中文(简体)
Managing Tags
  • 时间:2024-12-27

AWS ElastiCache - Managing Tags


Previous Page Next Page  

Tags in ElastiCache are also known as cost allocation tags. They are a key-value pair which are associated with one ElastiCache resource. Both the key and the value are case sensitive. You can use the key of a tag to define a category, and the value of the tag can be an item in that category. For example, you can categorise which ElastiCache cluster is used for production and which ones are used for development categories. It is recommended to use a consistent set of tag keys to make it easier to track costs associated with your resources.

Also, you can tag several resources with a specific apppcation name, and then organize your bilpng information to see the total cost of that apppcation across several services. When you add, pst, modify, copy, or remove a tag, the operation is appped only to the specified cluster.

Characteristics of Tags

    The tag key is the required name of the tag. The key s string value can be from 1 to 128 Unicode characters long and cannot be prefixed with aws:.

    The tag value is the optional value of the tag. The value s string value can be from 1 to 256 Unicode characters in length and cannot be prefixed with aws:.

    An ElastiCache resource can have a maximum of 50 tags.

    Values do not have to be unique in a tag set.

    Cost allocation tags are appped to ElastiCache resources which are specified in CLI and API operations as an ARN.

Managing Tags

Tags can be created by going to the ElastiCache dashboard, then choosing the specific cluster type. In our case we have chosen the Memcached cluster and use the button named Manage tags.

Manage Tags

Adding Tags

Cpcking on the Manage tags button shown in the step above, we get a screen where we can add tag keys and their values. The value field is optional. To delete a tag, simply use the cross symbol. Cpck the button Apply Changes to create the actual tag.

Manage Tags 2

Once the tags are appped, we can see them in the cluster details page as shown below.

Manage Tags 3 Advertisements