close
How to setup AWS Greengrass on QNAP NAS?
In this tutorial, you will learn how to setup AWS Greengrass on QNAP NAS.
Install AWS Greengrass
Go to QTS App Center, find "AWS Greengrass" and click "install"
Configuring AWS Greengrass on AWS IoT cloud
To configure AWS Greengrass on AWS IoT, refer to :
https://docs.aws.amazon.com/greengrass/latest/developerguide/gg-config.html
(* You do not need to download "Greengrass Core software", as it is included in the AWS Greengrass App)
Download AWS IoT root CA and rename it to "root.ca.pem"
Upload Greengrass Core CA, Cert and Key to AWS Greengrass Core application
Open AWS Greengrass on your QNAP NAS
In "Greengrass settings file", choose "xxxxxx-setup.tar.gz" and click "Upload"
In "AWS IoT root CA", choose "root.ca.pem" and click "Upload"
Click "Start"
Go to "Status". The status should display "Greengrass successfully started"
Test function 1. Create two Devices (one is a Publisher and the other one is a Subscriber)
Follow the steps of "Module 4: Interacting with Devices in an AWS Greengrass Group", on the following page :
https://docs.aws.amazon.com/greengrass/latest/developerguide/module4.html
(*If following message is displayed, the sample code is trying to connect through all the IP address on Greengrass Core)
(*If following message is displayed, you may have entered the wrong command or certificate)
Test function 2. AWS Lambda running on Greengrass Core
Follow the steps of "Module 3 (Part 1 & Part 2) AWS Lambda on AWS Greengrass", on following page:
https://docs.aws.amazon.com/greengrass/latest/developerguide/module3-I.html
https://docs.aws.amazon.com/greengrass/latest/developerguide/module3-II.html
Support model:
ARM-based NAS requires at least 1 GB RAM and QTS 4.3.4 or later:
x31P: TS-431P, TS-231P, TS-131P
x31P2: TS-231P2, TS-431P2
x86-based NAS (Intel and AMD processor) requires at least 1 GB RAM and QTS 4.3.0 or later
To learn more about AWS Greengrass, refer to the following page:
https://aws.amazon.com/documentation/greengrass/
文章標籤
全站熱搜
留言列表