You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AWS Shortcuts (awss) allows listing, starting, stopping and connecting to instances by Name or ID. Future versions will also allow referencing instances with any ``Tag`` : ``Value`` combination.
14
-
15
-
Note: This utility requires Python 2.7 or newer. There is a similar utility written in Bash called `aws-quick-cli <https://github.com/robertpeteuil/aws-quick-cli>`_.
12
+
AWS Shortcuts (awss) allows listing, starting, stopping and connecting to instances by name, instance-id, and supports wilcards. The ``awss list`` command displays every tag & value for each instances along with their status and core info. In the near future you will also be able to use any combination of ``Tag`` : ``Value`` combinations when specifying instances.
16
13
17
14
18
15
Overview
19
16
--------
20
17
21
18
``awss`` has the following sub-commands: ``list``, ``start``, ``stop``, and ``ssh``.
22
19
23
-
- SSH to an Instance: ``awss ssh NAME`` or ``aws ssh -i ID``
20
+
- SSH to an Instance: ``awss ssh NAME`` or ``awss ssh -i ID``
- typing ``awss stop`` without a name or ID will display all running instances
69
79
70
-
The ``start``, ``stop``, and ``ssh`` commands verify that their action will apply to only one instance
80
+
- this allows the user to select from the list if they can't remember the name.
81
+
- this can be combined with wilcards, for example ``awss stop U*`` to display
82
+
a list of instances starting with "U" to select from.
71
83
72
-
- This check is performed by looking for other instances that match:
84
+
- start instance by name or instance-id
85
+
- command specific help ``awss stop -h``
73
86
74
-
- the instance-specification given (name or ID)
75
-
- the running-state appropriate for the command
87
+
Target Instance Determination
88
+
-----------------------------
76
89
77
-
- If multiple instances match these conditions, they are listed and the user selects the intended target.
90
+
The ``start``, ``stop``, and ``ssh`` commands check if multiple instances match the parameters.
91
+
If so, the the matching instances are listed, and the user selects the intended target.
78
92
79
-
The **running-state** appropriate for each command is as follows:
93
+
Example screenshot of selecting instance from list:
80
94
81
-
- The ``ssh`` command looks for **running** instances (it cannot connect to stopped instanced)
82
-
- The ``stop`` command looks for **running** instances (it cannot stop instances that are already stopped)
83
-
- The ``start`` command looks for **stopped** instances (it cannot start instances that are already started)
84
-
- The ``list`` command looks at all instances, unless optional parameters have been specified to narrow its search to **running**, **stopped** or specific instances.
0 commit comments