AWS Command Line Interface (Developer Preview)

The AWS Command Line Interface (CLI) is a unified tool to manage your AWS services. With just one tool to download and configure, you will be able to control multiple AWS services from the command line and automate them through scripts. The preview release supports 10 services, with upcoming support for others.

Since this is a Developer Preview, we are also looking for feedback from the community to help shape the CLI design. To provide feedback directly to the product team, please submit ideas and issues to our GitHub project.

Downloads

Requires Python 2.6 or higher.

Install using pip

pip install awscli

or using easy_install.

easy_install awscli

It is also pre-installed on the latest Amazon Linux AMI.


Usage

  1. The AWS Command Line Interface User Guide walks you through installing and configuring the tool. After that, you can begin making calls to your AWS services from the command line.
  2. $ aws ec2 describe-instances
    …
    
    $ aws ec2 start-instances --instance-ids i-1348636c
    …
    
    $ aws sns publish --topic-arn arn:aws:sns:us-east-1:546419318123:OperationsError --message "Script Failure"
    …
    
    $ aws sqs receive-message --queue-url https://queue.amazonaws.com/546419318123/Test
    …
  3. You can get help on the command line to see the supported services,
  4. $ aws help
  5. the operations for a service,
  6. $ aws autoscaling help
  7. and the parameters for a service operation.
  8. $ aws autoscaling create-auto-scaling-group help

Supported Services


Additional Resources