This document discusses dynamically assigning hostnames to instances in an AWS auto-scaled environment. It outlines challenges in setting unique hostnames and tags for spawned instances. The author proposes an algorithm to sequentially number new instances based on the number of existing instances. A Python script would be called from CloudFormation templates to extract the next number in the sequence, set it as the hostname in a file and tag the instance. The script uses AWS APIs to get instances in the auto scaling group and set name tags. Questions from the audience are invited at the end.