Azure access to multiple device web servers

Sophie 1 Reputation point
2021-06-12T22:12:42.43+00:00

So, first off I am entirely new to Azure so forgive me if I misunderstand what it is or what it's capable of, but bear with me :3

1) I want to connect multiple Raspberry Pi devices to an Azure account.
2) I want each device to be able to POST small packets of data containing the address of its own Flask-based web server (and any other relevant system data) to a node.js server running on the Azure account. The user can then click a link and display the Pi's page.
3) (Desirable but not necessary yet) I'll need to retain the data in a mongoDB database within the Azure server.

There is a lot of Azure / IoT / Pi Documentation out there and to be honest I'm a little lost in where to start.

Any help is much appreciated. The flask server is done. I just need to develop the Azure integration and singular access point for all connected devices.

Thanks in advance!

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
382 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
208 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 28,711 Reputation points MVP
    2021-06-13T23:07:53.21+00:00

    Hello @Sophie ,

    this is an interesting use case.

    The short answer is: yes, you can send telemetry messages (including URLs) to the IotHub in the cloud and have these packages being stored in a (MongoDB) database. From there, a website can consume these addresses and show links to the pages. This depends a little bit on the access the user has to websites running on the actual Raspberry PIs.

    The long answer is that I wonder why a central dashboard showing all interesting telemetry from all devices at a single place is not enough :-)

    If you want to learn a lot about Azure IoT Edge, check out this collection of modules and training paths.

    If you want to see how to connect a device and send telemetry, check out this tutorial or this simulation.

    0 comments No comments