Skip to content
This repository has been archived by the owner on May 14, 2023. It is now read-only.
/ devops-r53 Public archive

Create a DNS record which resolves with an IP address for each instance in an ASG.

Notifications You must be signed in to change notification settings

amaysim-au/devops-r53

Repository files navigation

amaysim-au/devops-r53

Create a DNS record which resolves with an IP address for each instance in an ASG.

Credit

Largely taken from https://objectpartners.com/2015/07/07/aws-tricks-updating-route53-dns-for-autoscalinggroup-using-lambda/

How to Use

Tag your ASG with DomainMeta: $HostedZoneId:$RecordName e.g. DomainMeta: Z6SABCDEFGHIJ:myservice.foobar.com., then configure the Autoscaling Group Lifecycle Hooks to send a message to the SNS topic created by this service.

Pre-requisites

  • Docker
  • Docker Compose
  • Make

Checkout

git clone https://github.com/amaysim-au/devops-r53.git
cd ./devops-r53

Configure

Generate a new .env file.

make .env

Deploy

make build
make deploy

Remove

make remove

About

Create a DNS record which resolves with an IP address for each instance in an ASG.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •