Skip to Content
Practical Internet of Things with JavaScript
book

Practical Internet of Things with JavaScript

by Arvind Ravulavaru
December 2017
Intermediate to advanced
296 pages
5h 56m
English
Packt Publishing
Content preview from Practical Internet of Things with JavaScript

Setting up AWS credentials

Before we get started with development, we need to set up our local machine with the AWS CLI and AWS credentials.

First, we need to install the AWS CLI. Head over to https://aws.amazon.com/cli and follow the instructions on the page. To test the installation from the command prompt, run:

aws --version

You should see something like:

aws-cli/1.7.38 Python/2.7.9 Darwin/16.1.0

Once the setup is complete we need to configure the AWS credentials, so that as long as we are using this machine, we need not enter any credentials within the code.

Run the following:

aws configure

You should be presented with four questions; fill them with the appropriate information:

If you are facing issues when configuring AWS credentials, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Test-Driving JavaScript Applications

Test-Driving JavaScript Applications

Venkat Subramaniam
Web Caching and Replication

Web Caching and Replication

Michael Rabinovich, Oliver Spatscheck

Publisher Resources

ISBN: 9781788292948Supplemental Content