title | description | author | ms.author | ms.date | ms.topic | ms.service | ms.custom |
---|---|---|---|---|---|---|---|
Create a device update account in Device Update for Azure IoT Hub | Microsoft Docs |
Create a device update account in Device Update for Azure IoT Hub. |
vimeht |
vimeht |
2/11/2021 |
how-to |
iot-hub-device-update |
subject-rbac-steps |
To get started with Device Update you'll need to create a Device Update account, instance and set access control roles.
- Access to an IoT Hub. It is recommended that you use a S1 (Standard) tier or above.
- Supported browsers:
- Microsoft Edge
- Google Chrome
-
Go to Azure portal
-
Click Create a Resource and search for "Device Update for IoT Hub"
:::image type="content" source="media/create-device-update-account/device-update-marketplace.png" alt-text="Screenshot of Device Update for IoT Hub resource." lightbox="media/create-device-update-account/device-update-marketplace.png":::
-
Click Create -> Device Update for IoT Hub
-
Specify the Azure Subscription to be associated with your Device Update Account and Resource Group. Specify a Name and Location for your Device Update Account
:::image type="content" source="media/create-device-update-account/account-details.png" alt-text="Screenshot of account details." lightbox="media/create-device-update-account/account-details.png":::
Note
You can go to Azure Products-by-region page to discover the regions where Device Update for IoT Hub is available. If Device Update for IoT Hub is not available in your region you can choose to create an account in an available region closest to you.
-
Optionally, you can 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.
-
Click Next: Instance
An instance of Device Update is associated with a single IoT hub. Select the IoT hub that will be used with Device Update. We will create a new Shared Access policy during this step to ensure Device Update uses only the required permissions to work with IoT Hub (registry write and service connect). This policy ensures that access is only limited to Device Update.
-
Specify an instance name and select your IoT Hub
:::image type="content" source="media/create-device-update-account/instance-details.png" alt-text="Screenshot of instance details." lightbox="media/create-device-update-account/instance-details.png":::
[!NOTE] The IoT Hub you link to your Device Update resource, doesn't need to be in the same region as your Device Update Account. However, for better performance it is recommended that your IoT Hub be in a region same as or close to the region of your Device Update account.
-
Click Next: Review + Create. After validation, click on Create.
:::image type="content" source="media/create-device-update-account/account-review.png" alt-text="Screenshot of account review." lightbox="media/create-device-update-account/account-review.png":::
-
You will see your deployment is in progress. The deployment status will change to "complete" in a few minutes. Click Go to resource
:::image type="content" source="media/create-device-update-account/account-complete.png" alt-text="Screenshot of account deployment complete." lightbox="media/create-device-update-account/account-complete.png":::
In order for other users to have access to Device Update, users must be granted access to this resource. You can skip this step if you assigned the Device Update administrator role to yourself during account creation and don't need to provide access to additional users or applications.
-
Go to Access control (IAM) within the Device Update account
:::image type="content" source="media/create-device-update-account/account-access-control.png" alt-text="Screenshot of access Control within Device Update account." lightbox="media/create-device-update-account/account-access-control.png":::
-
Click Add role assignments
-
Under Role tab, select a Device Update role from the given options
- Device Update Administrator
- Device Update Reader
- Device Update Content Administrator
- Device Update Content Reader
- Device Update Deployments Administrator
- Device Update Deployments Reader
:::image type="content" source="media/create-device-update-account/role-assignment.png" alt-text="Screenshot of access Control role assignments within Device Update account." lightbox="media/create-device-update-account/role-assignment.png":::
Learn about Role-based access control in Device Update for IoT Hub
-
Click Next
-
Assign access to a user or Azure AD group
-
Select members
:::image type="content" source="media/create-device-update-account/role-assignment-2.png" alt-text="Screenshot of access Control member selection within Device Update account." lightbox="media/create-device-update-account/role-assignment-2.png":::
-
Click Review + assign
-
Review the new role assignments and click Review + assign again
-
You are now ready to use the Device Update experience from within your IoT Hub
Try updating a device using one of the following quick tutorials:
- Device update on a simulator
- Device update on Raspberry Pi
- Device update on Ubuntu Server 18.04 x64 Package agent