How can I use Azure IoT Hub Device Management without TPM or code signing key

Category: azure iot hub

Question

mjmeans on Thu, 16 Nov 2017 17:19:18


I'd like to use Azure IoT Hub Device Management when using Raspberry Pi 3 and Azure free service for up to 10 devices. I don't want to add a TPM to Raspberry Pi (expensive), and I don't want to buy a code signing key (way too expensive). When using RPi as part of a Home control and security system, I need to be able to deploy the app updates and OS updates at a managed day and time, rather than at random days and times. Is this possible?

Also, if only using IoT Hub for device management, without any database or other services, will the free Azure IoT account be able to handle the anticipated message frequency without going over the free account limits?

Replies

Rita Han on Fri, 17 Nov 2017 08:15:29


Hello mjmeans,

What do you mean of "a code signing key"?

>>>Also, if only using IoT Hub for device management, without any database or other services, will the free Azure IoT account be able to handle the anticipated message frequency without going over the free account limits?

What's your anticipation?

Azure IoT Hub Free edition has total number of message per day per UNIT:8000 and message meter size:0.5KB limitations.

You can check IoT Hub pricing here.

Best regards,

Rita

mjmeans on Fri, 17 Nov 2017 14:05:40


I mean a code signing certificate, X509 or other. And the messages, I want to knw how many messages per day are used by Windows 10 IoT automatically when communicating when Azure IoT Device Management is enabled. It must have some automatic process that logs in to Azure and checks to see if it needs to perform some update or task that the owner of the Azure site has instructed. How often do these automatic processes happen and how many messages are consumed just for this overhead?

Rita Han on Mon, 20 Nov 2017 09:29:46


>>>I mean a code signing certificate, X509 or other. 

But you may need select one between x509 certificate and security key.

>>>And the messages, I want to knw how many messages per day are used by Windows 10 IoT automatically when communicating when Azure IoT Device Management is enabled.

It is not simply to answer. Monitoring and updating are mainly through device twin and direct method, they are able to be configure. As for app and windows update frequency and policy you can reference Store Update Frequency and Windows Update Policy.

Best regards,

Rita

mjmeans on Mon, 20 Nov 2017 20:15:00


I'm still not getting a direct answer to my question. I want to test Azure DM (provisioning, application and OS) on a Raspberry Pi 3 with an image created using ADK AddonKit.

I need to test it before I decide whether or not I want to use the feature in a commercial product, and I need to quantify all the costs that may be necessary in a commercial product so that I can prepare a cost/benefit analysis. It's clear that remote DM is desirable, but only if the total costs per unit is low enough at the quantities I anticipate for production. And spending $500 now on a code signing certificate just to investigate this option is too expensive for a design that I may or may not be able to sell.

How can I test Azure DM (provisioning, application and OS updates/upgrades): without having to buy any form of security certificate for any part of the process or creating the app or image; and, without having to buy a TPM; and, without spending any money on an Azure account?

Rita Han on Tue, 21 Nov 2017 07:07:37


Hello mjmeans,

On Raspberry Pi 3 you can use software TPM for testing purpose. About how to use you can reference this tutorial.

Best regards,

Rita

mjmeans on Wed, 22 Nov 2017 06:19:26


@Rita,

Your response didn't answer the entire question. That tutorial only addresses app management and has nothing to do with provisioning or OS management on the device. I wish there was a way to down-vote an answer. Sigh.