AWS IoT Greengrass (WIP)
AWS IoT Greengrass integration with balenaOS. This project objective is to run Amazon's IoT Greengrass software on a docker container to enable running AWZ lambda functions on a balenaOS device.
Current status
This project is still a work in progress.
Currently this project is able to:
- Install AWS Greengrass pre-requisites
- Run AWS Greengrass daemon (able to sync over MQTT)
AWS daemon crashes when receiving a lambda deployment. Further work is required in order to have a working MVP integration.
Install instructions
- Configure AWS IoT as detailed on this developer guide. Only the steps related to AWS IoT dashboard work are required.
- Download your AWS IoT Core security resources as detailed here and store the
<ID-setup>.tar.gz
file on the downloads directory. - Edit
Dockerfile.template
file with the correct name for the security resources (i.e:RUN tar -xzvf downloads/35ac2e76c2-setup.tar.gz -C /greengrass
) - Run
balena push <YOUR_BALENA_APP>
(getting started with balena)