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.
- 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 functionfor the Lambda life cycle:
- Furthermore, we define the subscription on AWS Greengrass. In this scenario, we add a thing, such as a computer, that will...