Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install ec2-cli-tools

How to install ec2-cli-tools

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install ec2-cli-tools
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.2
1.4Never BuiltWhy not?
1.2 Available View build log
1 Available View build log
Windows (64-bit)
1.2
1.4Never BuiltWhy not?
1.2 Available View build log
1 Available View build log
Mac OS X (10.5+)
1.3
1.4Never BuiltWhy not?
1.3 Available View build log
1.2 Available View build log
1 Available View build log
Linux (32-bit)
1.3
1.4Never BuiltWhy not?
1.3 Available View build log
1.2 Available View build log
1 Available View build log
Linux (64-bit)
1.4 Available View build log
1.3 Available View build log
1.2 Available View build log
1 Available View build log
 
Links
License
MIT
Dependencies
Lastest release
version 1.4 on Jan 9th, 2014

System Message: WARNING/2 (<string>, line 2)

Title underline too short.

EC2-CLI-Tools
=======

Helpful CLI utilities to filter and connect to EC2 instances.

ec2who:

% ec2who nginx2
# or
% ec2who 10.13.12.205
# or
% ec2who ec2-204-236-192-148
nginx2  i-d5236fbd      us-east-1c      10.13.12.205  ec2-204-236-192-148.compute-1.amazonaws.com

% ec2who "nginx*"
nginx1  i-d5236fbd      us-east-1c      10.13.12.205  ec2-204-236-192-148.compute-1.amazonaws.com
nginx2  i-d5237fbd      us-east-1c      10.13.12.206  ec2-204-236-192-149.compute-1.amazonaws.com
nginx3  i-d5238fbd      us-east-1c      10.13.12.207  ec2-204-236-192-150.compute-1.amazonaws.com

% ec2who "10.*.207"
nginx3  i-d5238fbd      us-east-1c      10.13.12.207  ec2-204-236-192-150.compute-1.amazonaws.com

ec2ssh and ec2host:

% ec2ssh nginx2
# equivalent to
# ssh ubuntu@ec2-123-45-67-89.compute-1.amazonaws.com

% ec2ssh root@appserver
% ec2ssh deploy@nginx2 sudo restart nginx

# accompanying ec2host script

# w/o arg: prints all active instances
% ec2host
django1 ec2-123-45-67-89.compute-1.amazonaws.com
django2 ec2-132-45-67-89.compute-1.amazonaws.com
django3 ec2-231-45-67-89.compute-1.amazonaws.com

# w/ arg: prints host name of matching instance
% ec2host django2
django2 ec2-132-45-67-89.compute-1.amazonaws.com

ec2getsnaps:

::
% ec2getsnaps db1 2012-01-28T02:04:18+0000 db1-xlog 100%

ec2sshproxy:

:: ~/.ssh/config

Host *.ec2

System Message: WARNING/2 (<string>, line 63); backlink

Inline emphasis start-string without end-string.

User ubuntu ProxyCmd ec2sshproxy %h %p

% ssh my-server-tag.ec2

Changelog

  • 1.0 - initial release, addition of ec2who and migration of deprecated ec2ssh project
  • 1.4 - added ec2sshproxy

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.