Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A utility that can update CNAME RR in route53 points to own public hostname in EC2
Tree: c86566b3a6

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
README.rst

README.rst

ec2-up2date-cname

ec2-up2date-cname is a utility that can update CNAME RR in route53 points to own public hostname in EC2.

Requirements

ec2-up2date-cname is written in Perl and aims to work with RHEL 5.x based distros.

Install

Some perl modules can be installed with yum.

# yum install perl-libwww-perl perl-Crypto-SSLeay perl-XML-Simple

Tie::IxHash, WebService::Amazon::Route53 can be installed manually.

Configuration

You have to create a dedicated IAM user that can access only Route53.

DO NOT PUT YOUR ACCESS KEY/SECRET KEY IN USER-DATA/INSTANCES.

ec2-up2date-cname retrieves hostname points to public hostname, EC2_ACCESS_KEY, EC2_SECRET_KEY from user-data. user-data must be passed with following format:

${HOSTNAME}
${EC2_ACCESS_KEY}
${EC2_SECRET_KEY}

ec2-up2date-cname uses a domain name in ${HOSTNAME} as zone-name in route53.

License

Author: Ken-ichi TANABE <nabeken@tknetworks.org>

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Something went wrong with that request. Please try again.