Forum Discussion
melsalatini
Jun 30, 2021Copper Contributor
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 ove...
lukemurraynz
Jul 02, 2021Learn Expert
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.
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
Jul 02, 2021Copper 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?
- lukemurraynzJul 03, 2021Learn ExpertIdeally, 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.- melsalatiniJul 05, 2021Copper Contributorthank you for your reply. As i understand, azure IoT is for observation purposes, right? I mean i can't raise an event in any application, once the device sends some data? Or there is a possibility?
- lukemurraynzJul 13, 2021Learn ExpertYou could get it into Stream Analytics, then based on a Metric/Log rule, trigger some automation/alerts which 'do stuff':
https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-set-up-alerts