Project

ec2ex

0.0
No commit activity in last 3 years
No release in over 3 years
ec2 expand command line
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.10.1
~> 10.3.2
~> 2.4
~> 0.24.1
~> 0.8

Runtime

 Project Readme

ec2ex Build Status

Examples

Search Instance

$ ec2ex -s 'stgweb01'

Copy Instance

$ ec2ex copy -n "stgembulk01" -t Name:stgembulk02 --public_ip_address auto --instance_count 3

Copy Spot Instance

$ ec2ex spot -n "web01" --price 0.5 --private_ip_address 10.0.0.100 -t Name:web02

Deployment Instance

$ ec2ex run_spot -n "stgembulk01" --price 0.5

Connect ELB Instance

$ ec2ex connect_elb -n "web01" -l elbname

Disconnect ELB Instance

$ ec2ex disconnect_elb -n "web02" -l elbname

Terminate Instance

$ ec2ex terminate -n web01

Renew Instance

$ ec2ex renew -n "presto01" --private-ip-address 10.0.81.201 -p '{iam_instance_profile: { name: "iap-role"} }'

Create AMI with tag

$ ec2 create_image -n "presto01"

Installation

Add this line to your application's Gemfile:

gem 'ec2ex', github: 'ipros-team/ec2ex'

And then execute:

$ bundle

Or install it yourself as:

$ gem specific_install -l https://github.com/ipros-team/ec2ex

Contributing

  1. Fork it
  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 new Pull Request

Information

Copyright

Copyright (c) 2014 Hiroshi Toyama

See LICENSE.txt for details.