Create Device Update for IoT Hub resources

To get started with Device Update, create a Device Update account and instance, and then set access control roles.

A Device Update account is a resource in your Azure subscription. A Device Update instance is a logical container within an account that is associated with a specific IoT hub. An instance contains updates and deployments associated with its IoT hub. You can create multiple instances within an account. For more information, see Device Update resources.

Prerequisites

An IoT hub. It's required that you use an S1 (Standard) tier or above.

Create an account and instance

  1. In the Azure portal, select Create a Resource and search for "Device Update for IoT Hub"

  2. Select Create > Device Update for IoT Hub

    Screenshot of Device Update for IoT Hub resource.

  3. On the Basics tab, provide the following information for your Device Update account and instance:

    • Subscription: The Azure subscription to be associated with your Device Update account.
    • Resource group: An existing or new resource group.
    • Name: A name for your account.
    • Location: The Azure region where your account will be located. For information about which regions support Device Update for IoT Hub, see Azure Products-by-region page.
    • Check the box to assign the Device Update administrator role to yourself. You can also use the steps listed in the Configure access control roles section to provide a combination of roles to users and applications for the right level of access. You need to have Owner or User Access Administrator permissions in your subscription to manage roles.
    • Instance Name: A name for your instance.
    • IoT Hub Name: Select the IoT Hub you want to link to your Device Update instance
    • Check the box to grant the right access to Azure Device Update service principal in the IoT Hub to set up and operate the Device Update Service. You need to have the right permissions to add access.

    Note

    If you are unable to grant access to Azure Device Update service principal during resource creation, refer to configure the access control for users and Azure Device Update service principal . If this access is not set you will not be able to run deployment, device management and diagnostic operations. Learn more about the Azure Device Update service principal access.

    Screenshot of account details for a new Device Update account.

  4. Select Next: Diagnostics. Enabling Microsoft diagnostics, gives Microsoft permission to collect, store, and analyze diagnostic log files from your devices when they encounter an update failure. In order to enable remote log collection for diagnostics, you need to link your Device Update instance to your Azure Blob storage account. Selecting the Azure Storage account will automatically update the storage details.

    Screenshot of diagnostic details.

  5. On the Networking tab, to continue creating Device Update account and instance. Choose the endpoints that devices can use to connect to your Device Update instance. Accept the default setting, Public access, for this example.

    Screenshot of networking details.

  6. Select Next: Review + Create. After validation, select Create.

    Screenshot of account review.

  7. You'll see that your deployment is in progress. The deployment status will change to "complete" in a few minutes. When it does, select Go to resource

Next steps

Once you have created your Device Update resources, configure the access control for users and Azure Device Update service principal.

Or, learn more about Device Update accounts and instances or Device Update access control roles.