You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/machine-learning/desktop-workbench/deploy-to-iot-edge-device.md
+24-14Lines changed: 24 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,31 +10,31 @@ ms.service: machine-learning
10
10
ms.component: core
11
11
ms.workload: data-services
12
12
ms.topic: article
13
-
ms.date: 2/1/2018
13
+
ms.date: 08/24/2018
14
14
---
15
15
# Deploy an Azure Machine Learning model to an Azure IoT Edge device
16
16
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).
18
20
19
21
## 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
+
20
25
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.
21
26
22
27
## 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).
24
28
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
26
32
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.
### Find the Machine Learning container image location
40
40
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
43
43
2. In the **Azure Container Registry**, select the registry you wish to inspect.
44
44
3. In the registry, click **Repositories** to see a list of all the repositories and their images.
45
45
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.
46
55
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.
0 commit comments