elastic-nginx-cli is a simple cli for Elastic NGINX.
This allows you to add or remove EC2 instances from a Elastic NGINX managed upstream.
go get github.com/rochacon/elastic-nginx-cli
% elastic-nginx-cli -h
Usage: elastic-nginx-cli [InstanceId]...
-asg-arn="": Auto Scaling Group ARN
-event="launch": Auto Scaling Event (launch/terminate)
-host="127.0.0.1:5000": Elastic NGINX host (may include port, e.g. 127.0.0.1:5000)
-topic-arn="": Topic ARN