Exira.Route53Updater is a console application which updates a Route 53 record with the current EC2 hostname.
-
Create a
Hosted Zone
inRoute 53
and write down theHosted Zone ID
-
Create a
Record Set
of typeCNAME
with for examplewww
as name and aTTL
of60
-
Download the latest release from the GitHub releases page
-
Unzip on your
EC2 Instance
-
Edit
Updater.yaml
using:- AwsAccessKey:
YOUR AWS ACCESS KEY
, e.g.:AXIURT98PXVXJU7K...
- AwsSecretKey:
YOUR AWS SECRET KEY
, e.g.:1Y9poTREdb/8j1234Tr...
- Region:
YOUR AWS REGION
, e.g.:eu-central-1
- ZoneId:
YOUR ZONE ID
, e.g.:ZRTPOCDERLDCO
- DomainName:
YOUR DOMAIN
, e.g.:www.example.org.
(Pay attention to the trailing.
)
- AwsAccessKey:
-
Run
route-53-updater.exe
-
Your
Route 53
record should now be updated with the public hostname of your EC2 instance
git clone git@github.com:exira/route-53-updater.git -c core.autocrlf=input
Copyright © 2015 Cumps Consulting BVBA / Exira and contributors.
route-53-updater is licensed under BSD (3-Clause). Refer to LICENSE.txt for more information.