Skip to content

Instantly share code, notes, and snippets.

@rjhintz
Last active May 23, 2016 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rjhintz/44dfd1092332444eb8151382819d4418 to your computer and use it in GitHub Desktop.
Save rjhintz/44dfd1092332444eb8151382819d4418 to your computer and use it in GitHub Desktop.
IaaS Resource Naming (AWS)

IaaS Resource Naming

Resource Naming Pattern

Resource naming pattern (some or all):

  • pub(lic) | priv(ate) - (optional, except for subnets and explictly public facing resources)
  • team (required)
    • dev
    • prod
    • test
    • XXX
  • project (required)
  • sub-project (optional)

Ordered as shown to allow easy inspection of pub/priv and type (dev, prod) when viewing in console.

AWS

Constraints

  • Maximum number of tags per resource—10
  • Maximum key length—127 Unicode characters in UTF-8
  • Maximum value length—255 Unicode characters in UTF-8
  • Tag keys and values are case sensitive.

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.

If your tagging schema will be used across multiple services and resources, remember that other services may have restrictions on allowed characters.

Generally allowed characters are: letters, spaces, and numbers representable in UTF-8, plus the following special characters: + - = . _ : / @.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment