Forum Discussion

melsalatini's avatar
melsalatini
Copper Contributor
Jun 30, 2021

what is the best way to connect device to cloud service

Hello everybody,

I'm totally new the cloud computing services. I have the question, what is the best way to connect a hardware device to cloud service? Knowing that: 

1- this device can connect over tcp ( if not possible, what should it can ?)

2- i need to receive the data sent from this device in webapi or tcp service on a VM to analyse and save those data. 

 

I was thinking about IOT hub but am not really sure if this is the correct solution to do that. 

Hope you can help me ... 

Thank you in advanced 

5 Replies

  • Need to understand a bit more about requirements (what kind of device , traffic etc).

    If your device sits behind a firewall, you could look at creating a site to site VPN (https://docs.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site-portal) or point to site VPN.
    • melsalatini's avatar
      melsalatini
      Copper Contributor

      lukemurraynz Thank you for your reply. The device is a screw driver which is connected to the network and sends receives packets over tcp protocol. 

       

      is it basically possible to connect a device over tcp or there is another protocol to connect devices?

       

      • lukemurraynz's avatar
        lukemurraynz
        Learn Expert
        Ideally, you want to do it securely, TCP is fine, I would get the device, connecting over a site to site VPN.

        If your device supports Azure IoT - take a look at IoT Hub and Stream Analytics: https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-get-started-with-azure-stream-analytics-to-process-data-from-iot-devices

        MIght be worth contacting the manufacturer of the screw driver to determine compatibility and recommendations from them.

Resources