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
posta 4 anni fa249 visualizzazioni
1 Risposta
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
con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande