Skip to content

yazgoo/ec2l

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ec2l

Build Status Test Coverage Code Climate Inline docs Gem Version

Ec2l aims to provide an efficient ruby developer oriented UI to EC2.

Installation

Add this line to your application's Gemfile:

gem 'ec2l'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ec2l

Usage

You can call public client methods directly from the ec2l command line, though a better way is to use the shell, which relies on pry:

$ ec2l shell
...
[2] pry(#<Ec2l::Client>)> h # print help
Usage: action parameters...
available actions:
[
    [0]            associate(address, id) Ec2l::Client
    [1]                  ins()            Ec2l::Client
...
[2] pry(#<Ec2l::Client>)> show-doc ins # print documentation on ins method
...
Public: return virtual machines instances with few details

Examples

  ins[0]
      => {:instanceId=>"i-deadbeef", :instanceState=>
                      {"code"=>"16", "name"=>"running"},
           :ipAddress=>"10.1.1.2", :tagSet=>{:k=>"v"}}

Returns an array with instanceId, ipAddress, tagSet, instanceState in a hash
[7] pry(#<Ec2l::Client>)> ins # launch ins method

Contributing

  1. Fork it ( https://github.com/[my-github-username]/ec2l/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

ec2 client tools

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages