arehmandev / etcd-cli53

CLI53 used with etcd discovery

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker container for Route53 synchronisation of etcd

Usage:

  • 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

Example format:

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

About

CLI53 used with etcd discovery


Languages

Language:Shell 100.0%