Setting up AWS CLI

So far, we have only worked with the AWS web interface, clicking from page to page on the AWS website. Another way to interact with AWS services is via the command line in a terminal window, using the aws cli library. CLI stands for Command Line Interface. 

To install the aws cli library, open a terminal window. For a Python-based environment (Python 2 version 2.6.5+ or Python 3 version 3.3+), installing aws cli consists of running the following command in a terminal:

pip install awscli

Full instructions for installation in other environments are available at http://docs.aws.amazon.com/cli/latest/userguide/installing.html.  Once AWS-CLI is installed, run the following command to configure it:

aws configure

You will ...

Get Effective Amazon Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.