In my previous blog about using a VM as IoT Edge device, it became clear that this could be used for testing IoT Edge at scale.
Testing IoT Edge at scale means testing device enrollments using the Device Provisioning Service (DPS) and IoT Hub deployments at scale.
We will look at both situations. But before we check out a group enrollment, first we look at an individual enrollment, just for comparison.
We will use the recently announced IoT Edge support for symmetric keys in DPS.
Doorgaan met het lezen van “IoT Edge group enrollments using symmetric keys”
Last week, the Microsoft Ignite event was hosted in Orlando. As with every Microsoft Event, a lot of new stuff is released by the Microsoft product teams.
The same goes for the IoT Edge runtime, the portal and the logic running on IoT Edge.
The IoT Edge runtime bumped up to version 1.0.2 and there are lots of new features introduced like extended offline operation and proxy support.
And there a lot of bugfixes which is always good 🙂
But the documentation considering the update of your gateways is a bit limited.
If I follow the update procedure, I have to update it on the machine itself.
Let’s check out how we update our runtime remotely.
Update: Microsoft released this document with more details after I wrote this blog. Some parts could be out-dated by now.
Doorgaan met het lezen van “Upgrading your Azure IoT Edge device remotely to the latest release”
[Update 16-01-2018]: There is a workaround available. Log into the Azure Portal using: https://portal.azure.com/?Microsoft_Azure_StreamAnalytics_onedge=true
[Update 15-01-2018]: The issue is being fixed asap. I have been notified the dialogs of Azure Stream Analytics will be changed in a couple of days. This blog will remain valid, though.
[Update 13-01-2018]: It seems the IoTEdge-ASA integration is suddenly not available in the Azure Portal. Eg. the Environment Host question shown below is dropped and no Edge Hub input or output is selectable anymore. No idea why… When more information is available, a new update will be posted here.
The second version of the Microsoft IoTEdge solution is now available as Public Preview. In this version, you can run predefined modules like Modbus, build your own modules, deploy Azure Machine Learning modules, deploy Azure Functions and you can deploy Azure StreamAnalytics jobs.
The concept is pretty simple, as always you have to create an ASA job, define inputs, outputs and a query. But this time the ASA will run on a local device:
Microsoft provides documentation here and here explaining how to deploy your ASA modules. Let’s dig a bit deeper into it. Doorgaan met het lezen van “Deploy an Azure StreamAnalytics Job on the IoTEdge”