We would like to have an application (preferably in Windows) query all running EC2 instances of a specific ami and return either the hostname or external ip. The returned information must be used as a hostname/ip variable that will be populated in xml files that have similar info.
These files must be created dynamically once a new instance is launched and should be deleted when that instance is terminated. The initial set of xml will need to take in about 5 more variables that need to be manually added. Each new instance that is launched will basically have a duplicate of the initial set with the exception of the hostname/ipaddress which makes it unique.
Please only reply if you have experience working with AWS and specifically EC2.