Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for provisioning Greengrass devices for DockerApplicationDeployment connectors #731

Open
NickDarvey opened this issue Sep 27, 2020 · 0 comments

Comments

@NickDarvey
Copy link

Docker containers running as a Connector need to be configured as a Greengrass device in order to communicate with other Greengrass components or AWS IoT over MQTT topics.

Use case

I have a Docker container which does object recognition that I want to run on the edge. I want to be able to publish events straight onto a MQTT topic to AWS IoT without needing 'companion' Lambda function.
Right now I can deploy most of the things I need using GGP, however this scenario currently requires manual steps including provisioning certificates and keys.

Usage

I'd like to declare my Docker connector's MQTT comms in my .conf in a manner similar to a Lambda function, e.g. fromCloudSubscriptions, toCloudSubscriptions (or is it inputTopics, outputTopics?) and have GGP provision a device, generate a bootstrap setup that includes installing certificates and keys for the device to a known or configurable location, and provisions subscriptions based on my configuration.

(This is based on what I understand of GGP, which is limited. If a different model of usage would fit better with GGP's design, please feel free to revise.)

References

https://docs.aws.amazon.com/greengrass/latest/developerguide/docker-app-connector.html#docker-app-connector-mqtt-communication

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant