HOW TO SETUP AWS GREENGRASS ON QNAP NAS

QIoT technology to allow you to explore potential IoT business opportunities.
Smart home/Smart building/Smart City/
Post Reply
SunnyYou
New here
Posts: 9
Joined: Mon Jun 25, 2018 4:16 pm

HOW TO SETUP AWS GREENGRASS ON QNAP NAS

Post by SunnyYou » Tue Jul 03, 2018 9:43 am

In this tutorial, you will learn how to setup AWS Greengrass on QNAP NAS.

Install AWS Greengrass
Go to the QTS App Center, find “AWS Greengrass”, and click “install”.

aws-greengrass_01.jpg


Configuring AWS Greengrass on AWS IoT cloud

To configure AWS Greengrass on AWS IoT, refer to : https://docs.aws.amazon.com/greengrass/ ... onfig.html (*You do not need to download the “Greengrass Core software”, as it is included in the AWS Greengrass app)

aws-greengrass_02.jpg


Download AWS IoT root CA and rename it “root.ca.pem”
Upload Greengrass Core CA, Cert and Key to AWS Greengrass Core application
    1. Open AWS Greengrass on your QNAP NAS.
    2. In “Greengrass settings file“, choose “xxxxxx-setup.tar.gz” and click “Upload”.
    3. In “AWS IoT root CA” choose “root.ca.pem“, and click “Upload”.

aws-greengrass_03.jpg


    4. Click “Start”.
    5. 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/ ... dule4.html
* If the following message is displayed, the sample code is trying to connect through all the configured IP addresses on Greengrass Core

aws-greengrass_04.png


* If the following message is displayed, you may have entered the wrong command or certificate

aws-greengrass_05.png


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 the following pages:
https://docs.aws.amazon.com/greengrass/ ... le3-I.html
https://docs.aws.amazon.com/greengrass/ ... e3-II.html


To learn more about AWS Greengrass, refer to the following page:
https://aws.amazon.com/documentation/greengrass/

For more tutorial, please visit https://qiot.qnap.com/blog/en/ :)
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “QIoT”