Can Someone Help with Integrating Balena and Microsoft Azure for IoT Projects?

Hello Balena Community :slightly_smiling_face:

I am working on a project that involves integrating Balena with Microsoft Azure for an IoT application and I want advice to ensure a smooth setup.

My Objective is to deploy and manage IoT devices using Balena, while leveraging Microsoft Azure for data storage, analytics, and overall cloud infrastructure.
A mix of Raspberry Pi and other ARM-based devices.
Sensor data that needs to be collected, processed locally, and then sent to Azure for further analysis.

I have successfully set up my devices with BalenaOS, and they are being managed via the Balena Cloud dashboard.
I have an Azure account with IoT Hub and other relevant services Azure Functions.

Are there any libraries or SDKs that are suggested for mixing Balena with Azure IoT Hub?
In what ways can data flow be optimized to reduce latency and guarantee dependability?
Which methods work best in this dual-environment arrangement for controlling firmware updates on devices? :thinking:

Thank you in advance for your help and assistance. :innocent:

1 Like

Hello @Elodie

did you try to use the balena Cloud Relay block?

You can read this example for aws instead of azure

Find as well here a repo on how to provision IoT devices on azure

Let us know if this works for you!

1 Like

Hello @mpous, thank you for your suggestions :slightly_smiling_face: I have not tried using the balena Cloud Relay block yet. I will check out the GitHub repository and the blog post you mentioned. .
Also I will check this https://github.com/balena-io-examples/ms-azure-tutorialiot-provision
Its great to have these resources for setting up and managing IoT devices.

Thanks again for your help :slightly_smiling_face:

1 Like

Let us know if that works for you @Elodie

Keep us posted!

1 Like