Persistent or local Greengrass group deployment in Docker container

0

When I deploy a Greengrass group on a GGC running in a Docker container, as far as I can tell the group exists as long as the GGC image is running, and if the GGC image is restarted the group is not present and requires redeployment. I have thus far been redeploying from the AWS IoT console, but my use scenario has the core device powered on and off with relative frequency, with no guarantee of Internet connection.

I would like to find a way to have the group details and associated functions persistent between sessions, or be saved and redeployed locally.

ole-OG
gefragt vor 4 Jahren249 Aufrufe
1 Antwort
0

I solved this by using the -v tag when running docker run to bind-mount a copied greengrass/ggc/deployment folder to /greengrass/ggc/deployment, which contained the group, lambda, and mlmodel folders.

ole-OG
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen