Search code examples
azure-iot-hubazure-iot-edge

Azure IOT Edge - Large messages


What is the best practise for sending larger messages from an edge module, to Azure?, should you use file upload in IoT hub, or go directly to a storage on the side?

/Jonas


Solution

  • Fileupload directly via the SDK and IoT Hub is only available for IoT (non Edge) devices, as you already figured out.

    You can use the Blob Storage module and deploy it on the edge. https://learn.microsoft.com/en-us/azure/iot-edge/how-to-deploy-blob?view=iotedge-2020-11

    To upload files, you then add them to the local blob storage and the module will deal with sending it to the Azure Blob storage account.