Deploy web app to aws greengrass Iot

0

I am going to deploy a image classification react web app to aws Iot greengrass. I would like to perform a two step operation using different version of mobilenet. The first operation, which is already in the web app, will be placed on edge and the second operation, which receives result from the web app then further operate and return the final result to the web app, will be place on the cloud. Here is the questions.

  1. How to achieve this design?
  2. Should I place the greengrass Iot core to the server where my web app located?
  3. Do I need to use device SDK on the cloud or on edge?
  4. To connect to the cloud, should I place the second step to the s3 bucket in order to configure it as a greengrass component?
  5. How to connect the web app to greengrass?
  6. How do I perform the communication between the two operation? Should I use MQTT?
  7. What is the difference between aws greengrass core device on the left and aws Iot core on the right?Enter image description here Thank you for taking the time to read this.
已提問 1 年前檢視次數 318 次
1 個回答
1

Assuming that the app in the greengrass will be developed using a custom component [1]. You have two ways to handle your scenario

  1. Publish/subscribe local messages [2]
  2. Publish/subscribe AWS IoT Core MQTT messages [3]

The AWS IoT Core MQTT messaging IPC service lets you send and receive MQTT messages to and from AWS IoT Core. Components can publish messages to AWS IoT Core and subscribe to topics to act on MQTT messages from other sources.

References

  1. https://docs.aws.amazon.com/greengrass/v2/developerguide/develop-greengrass-components.html
  2. https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-publish-subscribe.html
  3. https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-iot-core-mqtt.html
profile pictureAWS
專家
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南