Skip to content

Commit c14e4d5

Browse files
authored
Merge pull request #49991 from kgremban/aug24-mlfix
Update ML doc for IoT Edge GA
2 parents 0325d25 + af51ed2 commit c14e4d5

File tree

1 file changed

+24
-14
lines changed

1 file changed

+24
-14
lines changed

articles/machine-learning/desktop-workbench/deploy-to-iot-edge-device.md

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,31 @@ ms.service: machine-learning
1010
ms.component: core
1111
ms.workload: data-services
1212
ms.topic: article
13-
ms.date: 2/1/2018
13+
ms.date: 08/24/2018
1414
---
1515
# Deploy an Azure Machine Learning model to an Azure IoT Edge device
1616

17-
All Azure Machine Learning models containerized as Docker-based web services can also run on Azure IoT Edge devices. Additional scripts and instructions can be found in the [AI Toolkit for Azure IoT Edge](http://aka.ms/AI-toolkit).
17+
Azure Machine Learning models can be containerized as Docker-based web services. Azure IoT Edge enables you to deploy containers remotely onto devices. Use these services together to run your models at the edge for faster response times and less data transfer.
18+
19+
Additional scripts and instructions can be found in the [AI Toolkit for Azure IoT Edge](http://aka.ms/AI-toolkit).
1820

1921
## Operationalize the model
22+
23+
Azure IoT Edge modules are based on container images. To deploy your Machine Learning model to an IoT Edge device, you need to create a Docker image.
24+
2025
Operationalize your model by following the instructions in [Azure Machine Learning Model Management Web Service Deployment](model-management-service-deploy.md) to create a Docker image with your model.
2126

2227
## Deploy to Azure IoT Edge
23-
Azure IoT Edge moves cloud analytics and custom business logic to devices. All Machine Learning models can run on IoT Edge devices. The documentation to set up an IoT Edge device and create a deployment can be found at [aka.ms/azure-iot-edge-doc](https://aka.ms/azure-iot-edge-doc).
2428

25-
The following are additional things to note.
29+
Once you have the image of your model, you can deploy it to any Azure IoT Edge device. All Machine Learning models can run on IoT Edge devices.
30+
31+
### Set up an IoT Edge device
2632

27-
### Add registry credentials to the Edge runtime on your Edge device
28-
On the machine where you're running IoT Edge, add the credentials of your registry so the runtime can have access to pull the container.
33+
Use the Azure IoT Edge documentation to prepare a device.
34+
35+
1. [Register a device with Azure IoT Hub](../../iot-edge/how-to-register-device-portal.md). The output of this processes is a connection string that you can use to configure your physical device.
36+
2. Install the IoT Edge runtime on your physical device, and configure it with a connection string. You can install the runtime on [Windows](../../iot-edge/how-to-install-iot-edge-windows-with-windows.md) or [Linux](../../iot-edge/how-to-install-iot-edge-linux.md) devices.
2937

30-
For Windows, run the following command:
31-
```cmd/sh
32-
iotedgectl login --address <docker-registry-address> --username <docker-username> --password <docker-password>
33-
```
34-
For Linux, run the following command:
35-
```cmd/sh
36-
sudo iotedgectl login --address <docker-registry-address> --username <docker-username> --password <docker-password>
37-
```
3838

3939
### Find the Machine Learning container image location
4040
You need the location of your Machine Learning container image. To find the container image location:
@@ -43,7 +43,17 @@ You need the location of your Machine Learning container image. To find the cont
4343
2. In the **Azure Container Registry**, select the registry you wish to inspect.
4444
3. In the registry, click **Repositories** to see a list of all the repositories and their images.
4545

46+
While you're looking at your container registry in the Azure portal, retrieve the container registry credentials. These credentials need to be given to the IoT Edge device so that it can pull the image from your private registry.
47+
48+
1. In the container registry, click **Access keys**.
49+
2. **Enable** the admin user, if it isn't already.
50+
3. Save the values for **Login server**, **Username**, and **password**.
51+
52+
### Deploy the container image to your device
53+
54+
With the container image and the container registry credentials, you're ready to deploy the machine learning model to your IoT Edge device.
4655

56+
Follow the instructions in [Deploy IoT Edge modules from the Azure portal](../../iot-edge/how-to-deploy-modules-portal.md) to launch your model on your IoT Edge device.
4757

4858

4959

0 commit comments

Comments
 (0)