O'Reilly logo

Effective Amazon Machine Learning by Alexis Perrier

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required