Amazon Elastic Compute Cloud
CLI Reference (API Version 2014-10-01)
Did this page help you?  Yes | No |  Tell us about it...
Next »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.

Welcome

This is the Amazon EC2 Command Line Reference. It provides descriptions, syntax, and usage examples for each of the commands for Amazon EC2 and Amazon Virtual Private Cloud (Amazon VPC). The commands wrap the Amazon EC2 API actions.

How Do I?Relevant Topics

Get set up to use the CLI tools

Setting Up the CLI Tools (Linux and Mac OS X)

Setting Up the CLI Tools (Windows)

Get set up to use the AMI tools

Setting Up the AMI Tools on Your Linux Instance

Get the alphabetical list of commands

Commands (CLI Tools)

Commands (AMI Tools)

Get the list of the common options for the commands

Common Options for CLI Tools

Common Options for AMI Tools

Get descriptions of the error codes

Error Codes (in the Amazon EC2 API Reference)

Get the list of regions and endpoints

Regions and Endpoints (in the AWS General Reference)

Alternative AWS Tools

If you prefer, you can use one of these AWS command line interfaces to manage your Amazon EC2 resources instead of using the Amazon EC2 CLI:

AWS Command Line Interface (AWS CLI)

Provides commands for a broad set of AWS products, and is supported on Windows, Mac, and Linux/Unix. To get started, see the AWS Command Line Interface User Guide. For more information about the AWS CLI commands for Amazon EC2, see ec2 in the AWS Command Line Interface Reference.

AWS Tools for Windows PowerShell

Provides commands for a broad set of AWS products for those who script in the PowerShell environment. To get started, see the AWS Tools for Windows PowerShell User Guide.