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

질문됨 일 년 전248회 조회
1개 답변
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
전문가
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠