- This container is made to autodetect the autoscaling group, region and IPs of the autoscaling group of a 3/5/7 node etcd cluster
- It is run within the instances and used to update internal Route53 records for DNS based etcd discovery
- On startup of the new instance in the cluster, autoscaling group IPs are submitted to Route53 via zonefile generate and cli53
- Note: IAM role requirements:
- Readonly AutoScalingGroup permissions
- Modifiable Route53 records permissions
- EC2 readonly permissions
- This is primarily my PoC to be used with tack - https://github.com/kz8s/tack/blob/master/modules/route53/route53.tf
docker run arehmandev/etcdcli53 TLDNAME
e.g:
docker run arehmandev/etcdcli53 abs.com
Tested and working as of 15/1/17
Note:
Example iampolicy.json for EC2 instances and terraform scripts for Route53 zone setup.
https://github.com/arehmandev/Prototype-X (under development)
## References https://github.com/barnybug/cli53