question

Sophie-6503 avatar image
0 Votes"
Sophie-6503 asked AshokPeddakotla-MSFT commented

Azure access to multiple device web servers

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-iotazure-iot-sdk
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Sophie-6503 Do let us know if Sander's suggestions helped. If the below response is helpful, please click "Accept Answer" and upvote it.


0 Votes 0 ·

1 Answer

SandervandeVelde42 avatar image
0 Votes"
SandervandeVelde42 answered

Hello @Sophie-6503,

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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.