We will dynamically replace the ampersand * character with the tail of the host IP address. For our environment, hosts are commonly identified by their roles and the last /32 of the address within the current subnet.

The new hostname dev-web-62 is much more meaningful than the default hostname provided by EC2. You can use this same pattern to configure DNS for each instance, and update the tag Name for better readability in the AWS web console.