Commits

Pior Bastida  committed 1281dce

added ec2ssh reference/example in README.rst

  • Participants
  • Parent commits 3c77ca7

Comments (0)

Files changed (1)

 
 At the moment awstools supports:
 
-- `CloudFormation <http://aws.amazon.com/cloudformation>`_ smart management
+- `CloudFormation <http://aws.amazon.com/cloudformation>`_
 
   - **ApplicationSettings** (awstools.applications)
     Describe your application by declaring a set of *Pool* per *Environment*
   - **cfn**: List, Create, Update, Delete, Inspect
     Manage your AWS resources based on ApplicationSettings and cloudformation templates
 
+- `EC2 <http://aws.amazon.com/ec2>`_
+
+  - **ec2ssh**:
+    Connect to one or multiple instances in a handy way
+
 
 Installation
 ============
 Examples
 ========
 
+Command ec2ssh
+--------------
+
+::
+
+    $ ec2ssh MyInstanceByTagName
+    Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-virtual x86_64)
+
+    ubuntu@tb-java-stage:~$ 
+
+
+    $ ec2ssh MyInstanceByTagName uptime
+     19:14:03 up 182 days,  4:49,  0 users,  load average: 0.08, 0.06, 0.05
+
+
+    $ ec2ssh App-Role-* uptime
+    ----- Command: uptime
+    ----- Instances(2): App-Role-development,App-Role-production
+    Confirm? (Y/n)
+    ----- i-a0b24444: ec2-12-12-12-12.compute-1.amazonaws.com  10.101.101.101
+     19:21:32 up 52 days,  3:51,  0 users,  load average: 0.00, 0.01, 0.05
+    ----- i-ce786666: ec2-23-23-23-23.compute-1.amazonaws.com  10.201.201.201
+     19:21:32 up 182 days,  4:56,  0 users,  load average: 0.08, 0.04, 0.05
+    ----- DONE
+
+
+    $ ec2ssh i-a0b24444 uptime
+     19:24:28 up 52 days,  3:54,  0 users,  load average: 0.00, 0.01, 0.05
+
+
+    $ ec2ssh 10.101.101.101 uptime
+     19:25:18 up 52 days,  3:55,  0 users,  load average: 0.00, 0.01, 0.05
+
+
+    $ ec2ssh App1-*,App2-*,App3-Role-test uptime
+
+
 Configuration
 -------------