- Newest
- Most votes
- Most comments
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
Relevant content
- Accepted Answerasked 3 years ago
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 months ago