Preparing runtime libraries on AWS Greengrass Core

The first task to ensure our AWS Lambda runs well on AWS Greengrass Core is to prepare all requirement modules/libraries. In general, we can define three modules/libraries that should be installed on the AWS Greengrass Core machine. These modules/libraries are as follows:

  • AWS IoT SDK
  • AWS Greengrass SDK
  • External modules/libraries

AWS IoT SDK and AWS Greengrass SDK should be installed on your AWS Greengrass Core machine. You can select a runtime platform, such as Python, Node.js, or Java. Currently, AWS IoT supports Python, Node.js, and Java. You can download these libraries on AWS IoT Console:

You can install the SDKs shown in the preceding screenshot. You can follow the installation guide on the web. Finally, if you use external libraries on AWS Lambda, you should install them on the AWS Greengrass Core machine too. If you have built your own libraries for Python or Node.js, then you can deploy them into Raspberry Pi.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.123.73