Book Image

Learning AWS IoT

By : Agus Kurniawan
Book Image

Learning AWS IoT

By: Agus Kurniawan

Overview of this book

The Internet of Things market increased a lot in the past few years and IoT development and its adoption have showed an upward trend. Analysis and predictions say that Enterprise IoT platforms are the future of IoT. AWS IoT is currently leading the market with its wide range of device support SDKs and versatile management console. This book initially introduces you to the IoT platforms, and how it makes our IoT development easy. It then covers the complete AWS IoT Suite and how it can be used to develop secure communication between internet-connected things such as sensors, actuators, embedded devices, smart applications, and so on. The book also covers the various modules of AWS: AWS Greengrass, AWS device SDKs, AWS IoT Platform, AWS Button, AWS Management consoles, AWS-related CLI, and API references, all with practical use cases. Near the end, the book supplies security-related best practices to make bi-directional communication more secure. When you've finished this book, you'll be up-and-running with the AWS IoT Suite, and building IoT projects.
Table of Contents (14 chapters)
Title Page
Packt Upsell

Deploying AWS Lambda with AWS Greengrass on Raspberry Pi 3

In general, we can deploy AWS Lambda with AWS Greengrass graphically and through command lines. In the previous section, we created the AWS Lambda function. In this section, will will deploy AWS Lambda with AWS Greengrass on Raspberry Pi 3.

You have learned how to deploy AWS Greengrass on Raspberry Pi in Chapter 3, Optimizing IoT Computing Using AWS Greengrass. Please follow the instructions in that chapter to deploy AWS Greengrass Core on Raspberry Pi.

To deploy the AWS Lambda function to AWS Greengrass Core, you should publish the AWS Lambda function and then deploy it into AWS Greengrass Group:

  1. From AWS Greengrass Group, you can add the existing Lambda function that we have already created. You just select your Lambda and its version and click on Next. Then, select on-demand function for the Lambda life cycle:
  1. Furthermore, we define the subscription on AWS Greengrass. In this scenario, we add a thing, such as a computer, that will...