Question regarding aws Iot greengrass

0

On the website of aws IoT Greengrass, I saw a picture illustrating the interaction between the device, core, and the cloud. Let's say we want to connect two functions in the device (a PC) and the cloud, is correct to install the core in the pc and deploy two components of the functions one on the cloud and one on the PC? However, I found that to create a component, it must first store in the cloud (s3). Therefore, I wonder how can the function in the PC can be connect to that in the cloud in order to communicate. If all of them should be store in the cloud, then what is the point of edge computing? Enter image description here

asked a year ago242 views
1 Answer
1

Hi,

you can use AWS IoT Greengrass to deploy and execute functions on devices at the edge (eg a PC). As depicted in the diagram, Greengrass is made of 2 parts: an edge software (Greengrass Core) and a cloud service. The edge software is responsible to securely download and execute your functions on the edge device. The functions and the configurations for the device are defined via the cloud service. The code and other artifacts for your functions (in Greengrass these are called components) is stored in Amazon S3 or in a container registry, like Amazon ECR or Github.

The Greengrass Core software uses X509 certificates to establish and authenticate and secure connection to the AWS cloud. The connection is used both for the control plane, such as controlling which functions should be running on the device, and for the data plane. You can use Greengrass to send MQTT messages to AWS IoT Core using the Greengrass SDK, or you can interact with any of the AWS services. For the latter, Greengrass takes care of obtaining temporary credentials that can be used for the communication, removing the need to store and manage long-lived credentials on the device.

You can follow the tutorial in the documentation or this workshop to know more.

Cheers,

Massimiliano

AWS
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions