Hi @Galgani, Stefano Thank you for posting the question here.
if I have to update EFLOW virtual machine (OS patches), will I have to redeploy all custom modules
The EFLOW VM is managed with Microsoft Update to keep the components up to date automatically. Since the updates are handled by Microsoft Update, you would not have worry about redeploying your modules. Even if you perform an Offline manual update this should not have any impact on the custom modules.
if I have to update IoT edge Runtime internal components (IoT edge agent or IoT edge Hub), will I have to redeploy all custom modules
The IoT Edge update comprises of two component updates.
- Security subsystem
- IoT Edge Runtime (
edgeHub
andedgeAgent
)
For patch updates, such as, 1.4.9 to 1.4.10, you would not have to redeploy any modules as there won't be major architectural changes.
Your second scenario of mid or major updates, however, is different. Looking back at the guidelines to update from 1.1 to 1.4, the documentation suggests to Uninstall and Reinstall IoT Edge to perform the update. Please refer the section Major or minor releases for more information on this process. This approach would need you to redeploy your custom modules to the IoT Edge devices.
The document further states that we can use iotedge config import
to import an old configuration. If you follow this approach you can probably avoid redeploying modules. However, proper testing on your dev environments need to be done before you perform these updates on Prod instances.
If the response helped, please do click Accept Answer and Yes for the answer provided. Doing so would help other community members with similar issue identify the solution. I highly appreciate your contribution to the community.