Azure blob file upload
We are planning to upgrade an existing production application from V1 to V2. In addition to streaming data (as messages to Azure IotHub), we also upload hourly aggregated data to Azure blob store. Can you share approximate time-lines when V2 can have support for Azure blob upload?
AFAIK, Azure Blob Storage module is asynchronous rather than synchronous API. So, I think both of Blob module and upload API solves different use cases even though there are much common scenario.
In my case, some urgent file upload request is invoked from user via cloud side API, which calls the direct method for a module, then the cloud API waits for upload completion and returns response to the caller. It is useful for trouble shooting or proof-of-concept work.
I believe the Azure Blob Storage module for IoT Edge should resolve this request. Please leave feedback as to why it does not or I'll close this request as completed.
Does the blob storage module not work for your scenario?
Michael Giba commented
Any updates on this?
Arpita Duppala commented
Auto tiering is now available with "Azure Blob Storage on IoT Edge" : https://blogs.technet.microsoft.com/filecab/2019/03/07/azure-blob-storage-on-iot-edge-now-includes-auto-tiering-and-auto-expiration-functionalities/
Any news on this?
The Blob Storage team has released a module for IoT Edge devices. This is a good option for some solutions until more native support for upload to Blob Storage is built into the product.
Here's a temporary workaround that I know folks have used.
Write a custom module with the Blob SDK for communication with Azure Blob Storage. Use the module twin to send the credentials for the blob down to the module. Use those credentials from the twin in the module to establish a connection to your storage and upload the desired data.
The problem with this solution is that the network must expose multiple ports to your Edge device (port for communication with IoT Hub and port for communication with Blob Storage). This is not case for many locked down networks. Our long term solution will allow communication with Blob Storage to be conducted over the port used for communication with IoT Hub.
Unfortunately we do not have a good timeline for you on this feature.