I want to implement an automatic way of updating Route53 DNS based on EC2 tags of the instances.
Imagine that I can have a tag name named dns_name which is supposed to document the expected dns name of the machine.
If I shutdown the machine, upgrade it and start it again, I do want to get the DNS updated without having to change anything.
I don't want to install a DNS update service on the machine as this would require me to put AWS credentials on all the VMs, and to deploy this to them.
It seems much easier to use AWS EC2 tags to declare the expected names. A cron job could easily check for changes and update the DNS.
Did anyone implement this?