This tool updates Route53 RecordSets based on local information.
Just issue java -jar route53-updater --domain <val> --host <val>
on the console and it will create or update a CNAME for host.domain.
which aliases to the public DNS name of the current instance. This is retrieved via instance metadata. Credentials to update Route53 are obtained using IAM profiles.
For further options run java -jar route53-updater
without arguments.
On Linux bases systems you can call
wget https://github.com/taimos/route53-updater/releases/download/v1.6/route53-updater.jar
You can also run the update using Docker. Just run the taimos/route53-updater
image with the desired arguments:
e.g. docker run --rm -ti taimos/route53-updater:latest --domain <val> --host <val>