Tag limitations with public cloud providers
search cancel

Tag limitations with public cloud providers

book

Article ID: 282740

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

Tags are essentially pairs of user defined metadata made up of a name (key) and a value that are added to resources when they are created.

In AWS and Azure these are referred to as "Tags" whereas GCP refers to these as "Labels" apart from some network components where they are referenced as "Network Tags". 

Resolution

Tag limitations and restrictions

Platform Max Tag Key Length Max Tag Value Length Allowed Chars Case Sensitive Max Tags per resource Additional Notes
AWS 128 256 a-z, 0-9, + - =._:/@ Yes 50 Keys must be unique for each resource and have only one value
Azure 512 256 a-z, 0-9, _, -  No 50 Resources do not inherit tags hierarchically from respective resource group/subscriptions
GCP 63 63 a-z, 0-9, _, -  Yes 64 Keys must be unique for each resource and have only one value

AWS - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#tag-restrictions

Azure - https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/tag-resources#limitations

GCP - https://cloud.google.com/compute/docs/labeling-resources#restrictions