Helloo
I am new to AWS, I want to install AWS greengrass on my jetson nano. Please tell me the process. I read many links that increased my confusion
Hi garimakaushik134, here is a process to follow to install AWS Greengrass v1.9.1 on Jetson Nano:
- Setup your Jetson Nano Developer Kit with the SD card image.
- Run the following commands on your Nano to create greengrass user and group:
$ sudo adduser --system ggc_user $ sudo addgroup --system ggc_group
- Setup your AWS account and Greengrass group during this page: https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-config.html After downloading your unique security resource keys to your Jetson that were created in this step, proceed to #4 below.
- Download the AWS IoT Greengrass Core Software (v1.9.1) for ARMv8 (aarch64):
$ wget https://d1onfpft10uf5o.cloudfront.net/greengrass-core/downloads/1.9.1/greengrass-linux-aarch64-1.9.1.tar.gz
- Following this page (starting with step #4 from that page), extract Greengrass core and your unique security keys on your Nano:
$ sudo tar -xzvf greengrass-linux-aarch64-1.9.1.tar.gz -C / $ sudo tar -xzvf <hash>-setup.tar.gz -C /greengrass # these are the security keys downloaded above
- Download AWS ATS endpoint root certificate (CA):
$ cd /greengrass/certs/ $ sudo wget -O root.ca.pem https://www.amazontrust.com/repository/AmazonRootCA1.pem
- Start greengrass core on your Nano:
$ cd /greengrass/ggc/core/ $ sudo ./greengrassd start
You should get a message in your terminal “Greengrass sucessfully started with PID: xxx”
By default, you should be able to run Python-based Lamda functions. If you wanted to run Node.js or Java-based Lamda functions on your Nano, you would need to install those dependencies first.
I have gotten greengrass working on my Jetson nano. is there any documentation on how I might scale up. There must be a easier way that to create 50 groups with all the subscriptions and lambda functions, and install GGC 50 times on 50 Jetson nanos ?
As already asked, but not answered, how would we do this process efficiently across 100 Jetson IoT devices. This seems pretty labor intensive.
Thanks!