UltraDNS updater for EC2 instances
Description
This gem provides the capability to update your UltraDNS configured CNAME or A record to point to EC2 instance public hostnames or IP address respectively.
Installation
Requires
Ruby & Ruby developer packages needed for nokugiri dependencies (Ubuntu example)
sudo apt-get install ruby1.9.1-dev ruby1.9.1 ri1.9.1 rdoc1.9.1 irb1.9.1 libreadline-ruby1.9.1 libruby1.9.1 libopenssl-ruby
sudo apt-get install libxslt1-dev libxml2-devgem install ec2_ultradns_updater
Usage
- Configure an EC2 instance tag with the name 'Name' and the value of the CNAME to set for the instance
- Create a YAML configuration (see: config/sample.config.yaml)
- Run: ec2_ultradns_updater -c /etc/ec2_ultradns_updater_config.yaml
Optional
Output the name used as the CNAME like so: ec2_ultradns_updater -c /etc/ec2_ultradns_updater_config.yaml -o /tmp/hostname.fqdn