Skip to content

Dynamically sync Route53 DNS entries for Zookeeper servers in an Exhibitor cluster

Notifications You must be signed in to change notification settings

benley/exhibitor2dns

Repository files navigation

exhibitor2dns

https://travis-ci.org/benley/exhibitor2dns.svg?branch=master

Exhibitor2dns will keep a round-robin A record in sync with the state of a Zookeeper ensemble managed by the excellent Exhibitor supervisor from Netflix. This is particularly useful if your Zookeeper nodes are in an autoscaling group, or any other setup where you don't have fixed IP addresses for your Zookeeper servers.

Usage:

exhibitor2dns --zone=yourzone.example.com \
              --exhibitor_url=http://your-exhibitor-endpoint.example.com/ \
              --rr=zookeeper

exhibitor2dns uses Boto to interact with Route53, so you have various options for providing aws credentials. You can set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY envivonment variables, or if exhibitor2dns is running on an ec2 instance it will try to use the instance's IAM role if there is one available. See the Boto documentation for more details.

About

Dynamically sync Route53 DNS entries for Zookeeper servers in an Exhibitor cluster

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages