Introduction
The Amazon EC2 command line tools provide a command line interface to the web service API. This section describes each tool and its command line arguments in detail.
Command line options and arguments are based on the GNU getopt conventions. Parameters are invoked using flags, which typically come in short and long form. In their short form, flags use a single character preceded by a dash. In their long form, flags use a more expressive name preceded by two dashes.
Note | |
---|---|
Some common options apply to all command line tools. These are described in Common Options. and are not included in the description of the specific tools. |
Errors
Any service errors encountered by the command line tools are passed straight through from the API. For more information about these errors, see API Error Codes.
Common Options
Most command line tools described in this section accept the set of optional parameters described in the following table.
Option | Description |
---|---|
|
Default: The Example: |
|
The private key to use when constructing requests to Amazon EC2. Default: The value of the Example: |
|
The X.509 certificate to use when constructing requests to Amazon EC2. Default: The value of the Example: |
|
Displays verbose output by showing the SOAP request and response on the command line. This is particularly useful if you are building tools to talk directly to our SOAP API. |
|
Shows empty columns as |
|
Prints internal debugging information. This is useful to assist us when troubleshooting problems. |
|
Displays help. |
|
If Example: |