Giter VIP home page Giter VIP logo

elb_tool's Introduction

Basic python cli script for adding nodes to Amazon ELB.

== help == 

$ elb_tool -h

usage: elb_tool.py [-h] -e ELB_NAME -i INSTANCE_NAME [-k AWS_KEY]
                   [-s AWS_SECRET] -a {check,add,remove} [--debug] [-n]

elb_tool

optional arguments:
  -h, --help            show this help message and exit
  -e ELB_NAME, --elb ELB_NAME
                        The ELB name. You must create this ELB somewhere else.
  -i INSTANCE_NAME, --instance INSTANCE_NAME
                        The EC2 instance ID that you wish to work with.
  -k AWS_KEY, --key AWS_KEY
                        Your EC2 Access Key - This can also be set via
                        environment varible called: EC2_ACCESS_KEY
  -s AWS_SECRET, --secret AWS_SECRET
                        Your EC2 Secret Key - This can also be set via
                        environment variable called: EC2_SECRET_KEY
  -a {check,add,remove}, --action {check,add,remove}
                        Pick a single action. 'check' will search the ELB for
                        the Instance ID that you specify.
  --debug
  -n, --noop            If you set this, we will not actually interact with
                        the AWS API, mostly useful for testing.

== examples == 

$ export EC2_ACCESS_KEY='asdfasdfasdf'
$ export EC2_SECRET_KEY='asdfasdfasdf'
$ elb_tool -e dev -i i-FFF00012 -a check

or 

$ elb_tool -e dev -i i-FFF00012 -a add -k asdfasdf -s asdfasdf

== .deb file ==
To build a deb file for this module, run "debuild -us -uc", and to update the
debian changelog run "dch -i".

elb_tool's People

Contributors

robbyt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.