Skip to content

Exposing EC2 Instance Tags

By default, EC2 tags are not accessible through the Instance Metadata Service (IMDS) and subsequently by dns53. Granting access to EC2 instance tags can be carried out manually1 or with the following custom command:

dns53 imds --instance-metadata-tags on

Cleaning Tag Names

All tags accessible through IMDS will subsequently be "cleaned" and made available for crafting custom domain names. A Pascal Case naming convention is applied to all tags when stored within an internal map alongside their originally named counterpart, and both are accessible through templating.


  1. Access to EC2 instance tags can be granted directly through the AWS Console or by using the CLI as documented here