Skip to Content
Learning AWS IoT
book

Learning AWS IoT

by Agus Kurniawan
January 2018
Intermediate to advanced
278 pages
5h 13m
English
Packt Publishing
Content preview from Learning AWS IoT

Creating AWS Lambda 

AWS Lambda is an AWS service to help you to build applications for a specific purpose. In this section, we will develop an AWS Lambda application. I will show how to develop AWS Lambda using Node.js.

Firstly, Node.js has to be installed on Raspberry Pi. Then, install AWS Greengrass Core SDK for Node.js. Based on the documentation, we should copy and paste node as nodejs6.10. You can do this with the following command:

$ sudo cp /usr/bin/node /usr/bin/nodejs6.10

Prepare the Lambda program sample from AWS Greengrass Core. You can find it at <greengrass_core_sdk_js>/samples/HELLOWORLD. Inside this folder, create the node_modules ...

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

Learn AWS Serverless Computing

Learn AWS Serverless Computing

Scott Patterson

Publisher Resources

ISBN: 9781788396110Supplemental Content