AWS Route 53

From Indie IT Wiki
Jump to: navigation, search

Export Zone File As TXT

Install software...

wget -O cli53 https://github.com/barnybug/cli53/releases/download/0.8.12/cli53-linux-amd64
sudo mv cli53 /usr/local/bin/cli53
sudo chmod +x /usr/local/bin/cli53

List domain name zones...

cli53 list --profile default

Export domain name zone...

cli53 export --full --profile default domain.co.uk

Redirect Domain Using S3

Route 53 Hosted Zone -> A Record ALIAS -> S3 Bucket Endpoint -> Static Website Hosting -> Redirect Requests -> Domain

Make sure you create a bucket with the same subdomain as well.

e.g.

domain.co.uk -> bucket with exact same name
www.domain.co.uk -> bucket with exact same name

Thanks - http://www.holovaty.com/writing/aws-domain-redirection/