Skip to content

Commit 6e6e43a

Browse files
committed
Limit articles to 1.1 only
1 parent 154b152 commit 6e6e43a

7 files changed

+23
-16
lines changed

articles/iot-edge/tutorial-machine-learning-edge-01-intro.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ms.date: 11/11/2019
88
ms.topic: tutorial
99
ms.service: iot-edge
1010
services: iot-edge
11+
monikerRange: "=iotedge-2018-06"
1112
---
1213

1314
# Tutorial: An end-to-end solution using Azure Machine Learning and IoT Edge

articles/iot-edge/tutorial-machine-learning-edge-02-prepare-environment.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ms.date: 3/12/2020
88
ms.topic: tutorial
99
ms.service: iot-edge
1010
services: iot-edge
11+
monikerRange: "=iotedge-2018-06"
1112
---
1213
# Tutorial: Set up an environment for machine learning on IoT Edge
1314

articles/iot-edge/tutorial-machine-learning-edge-03-generate-data.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ms.date: 1/20/2020
88
ms.topic: tutorial
99
ms.service: iot-edge
1010
services: iot-edge
11+
monikerRange: "=iotedge-2018-06"
1112
---
1213

1314
# Tutorial: Generate simulated device data
@@ -60,7 +61,7 @@ This article is part of a series for a tutorial about using Azure Machine Learni
6061

6162
1. Since you're using extensions on this machine for the first time, some extensions will update and install their dependencies. You may be prompted to update extension. If so, select **Reload Window**.
6263

63-
If OmniSharp errors appear in the output window, youll need to uninstall the C# extension.
64+
If OmniSharp errors appear in the output window, you'll need to uninstall the C# extension.
6465

6566
1. You will be prompted to add required assets for DeviceHarness. Select **Yes** to add them.
6667

@@ -145,7 +146,7 @@ The data sent by the DeviceHarness went to your IoT hub, where you can verify in
145146

146147
## Validate data in Azure Storage
147148

148-
The data we just sent to your IoT hub was routed to the storage container that we created in the previous article. Lets look at the data in our storage account.
149+
The data we just sent to your IoT hub was routed to the storage container that we created in the previous article. Let's look at the data in our storage account.
149150

150151
1. In the Azure portal, navigate to your storage account.
151152

articles/iot-edge/tutorial-machine-learning-edge-04-train-model.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ ms.date: 3/24/2020
88
ms.topic: tutorial
99
ms.service: iot-edge
1010
services: iot-edge
11+
monikerRange: "=iotedge-2018-06"
1112
---
1213

1314
# Tutorial: Train and deploy an Azure Machine Learning model

articles/iot-edge/tutorial-machine-learning-edge-05-configure-edge-device.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ms.topic: tutorial
99
ms.service: iot-edge
1010
services: iot-edge
1111
ms.custom: amqp
12+
monikerRange: "=iotedge-2018-06"
1213
---
1314

1415
# Tutorial: Configure an Azure IoT Edge device

articles/iot-edge/tutorial-machine-learning-edge-06-custom-modules.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ms.topic: tutorial
99
ms.service: iot-edge
1010
services: iot-edge
1111
ms.custom: devx-track-csharp
12+
monikerRange: "=iotedge-2018-06"
1213
---
1314
# Tutorial: Create and deploy custom IoT Edge modules
1415

@@ -65,7 +66,7 @@ This article is part of a series for a tutorial about using Azure Machine Learni
6566

6667
During execution of the second of our two Azure Notebooks, we created and published a container image containing our RUL model. Azure Machine Learning, as part of the image creation process, packaged that model so that the image is deployable as an Azure IoT Edge module.
6768

68-
In this step, we are going to create an Azure IoT Edge solution using the Azure Machine Learning module and point the module to the image we published using Azure Notebooks.
69+
In this step, we are going to create an Azure IoT Edge solution using the "Azure Machine Learning" module and point the module to the image we published using Azure Notebooks.
6970

7071
1. Open a remote desktop session to your development VM.
7172

@@ -274,7 +275,7 @@ Add four additional routes to the $edgeHub route parameter, to handle outputs fr
274275
"deadLetter": "FROM /messages/modules/turboFanRouter/outputs/deadMessages INTO $upstream"
275276
```
276277

277-
With all the routes taken together your $edgeHub node should look like
278+
With all the routes taken together your "$edgeHub" node should look like
278279
the following JSON:
279280

280281
```json
@@ -303,7 +304,7 @@ the following JSON:
303304

304305
The Avro Writer module has two responsibilities in our solution, to store messages and upload files.
305306

306-
* **Store messages**: when the Avro Writer module receives a message, it writes the message to the local file system in Avro format. We use a bind mount, which mounts a directory (in this case /data/avrofiles) into a path in the modules container. This mount allows the module to write to a local path (/avrofiles) and have those files accessible directly from the IoT Edge device.
307+
* **Store messages**: when the Avro Writer module receives a message, it writes the message to the local file system in Avro format. We use a bind mount, which mounts a directory (in this case /data/avrofiles) into a path in the module's container. This mount allows the module to write to a local path (/avrofiles) and have those files accessible directly from the IoT Edge device.
307308

308309
* **Upload files**: the Avro Writer module uses the Azure IoT Hub file upload feature to upload files to an Azure storage account. Once a file is successfully uploaded, the module deletes the file from disk
309310

@@ -336,7 +337,7 @@ The Avro Writer module has two responsibilities in our solution, to store messag
336337
337338
### Bind mount for data files
338339

339-
As mentioned previously, the writer module relies on the presence of a bind mount to write Avro files to the devices file system.
340+
As mentioned previously, the writer module relies on the presence of a bind mount to write Avro files to the device's file system.
340341

341342
#### Add directory to device
342343

@@ -368,7 +369,7 @@ As mentioned previously, the writer module relies on the presence of a bind moun
368369

369370
#### Add directory to the module
370371

371-
To add the directory to the modules container, we will modify the Dockerfiles associated with the avroFileWriter module. There are three Dockerfiles associated with the module: Dockerfile.amd64, Dockerfile.amd64.debug, and Dockerfile.arm32v7. These files should be kept in sync in case we wish to debug or deploy to an arm32 device. For this article, focus only on Dockerfile.amd64.
372+
To add the directory to the module's container, we will modify the Dockerfiles associated with the avroFileWriter module. There are three Dockerfiles associated with the module: Dockerfile.amd64, Dockerfile.amd64.debug, and Dockerfile.arm32v7. These files should be kept in sync in case we wish to debug or deploy to an arm32 device. For this article, focus only on Dockerfile.amd64.
372373

373374
1. On your development VM, open the **C:\source\IoTEdgeAndMlSample\EdgeSolution\modules\avoFileWriter\Dockerfile.amd64** file.
374375

@@ -514,7 +515,7 @@ We need to add one more bind for the writer module. This bind gives the module a
514515

515516
## Install dependencies
516517

517-
The writer module takes a dependency on two Python libraries, fastavro and PyYAML. We need to install the dependencies on our development machine and instruct the Docker build process to install them in our modules image.
518+
The writer module takes a dependency on two Python libraries, fastavro and PyYAML. We need to install the dependencies on our development machine and instruct the Docker build process to install them in our module's image.
518519

519520
### PyYAML
520521

@@ -623,7 +624,7 @@ With the router and classifier in place, we expect to receive regular messages c
623624
}
624625
```
625626

626-
1. Select **Test route**. If the test is successful, you see The message matched the query.
627+
1. Select **Test route**. If the test is successful, you see "The message matched the query."
627628

628629
1. Click **Save**.
629630

@@ -675,7 +676,7 @@ We don't want to route the new prediction data to our old storage location, so u
675676
}
676677
```
677678
678-
1. Select **Test route**. If the test is successful, you see The message matched the query.
679+
1. Select **Test route**. If the test is successful, you see "The message matched the query."
679680
680681
1. Select **Save**.
681682
@@ -702,7 +703,7 @@ Now that we have made the configuration changes, we are ready to build the image
702703

703704
* **Deployment lag:** since the IoT Edge runtime must recognize the change to its desired properties before it starts to reconfigure, it can take some amount of time after you deploy your modules until the runtime picks them up and starts to update the IoT Edge device.
704705

705-
* **Module versions matter:** if you publish a new version of a modules container to your container registry using the same version tags as the previous module, the runtime will not download the new version of the module. It does a comparison of the version tag of the local image and the desired image from the deployment manifest. If those versions match, the runtime takes no action. Therefore, it is important to increment the version of your module each time you wish to deploy new changes. Increment the version by changing the **version** property under the **tag** property in the module.json file for the module you are changing. Then build and publish the module.
706+
* **Module versions matter:** if you publish a new version of a module's container to your container registry using the same version tags as the previous module, the runtime will not download the new version of the module. It does a comparison of the version tag of the local image and the desired image from the deployment manifest. If those versions match, the runtime takes no action. Therefore, it is important to increment the version of your module each time you wish to deploy new changes. Increment the version by changing the **version** property under the **tag** property in the module.json file for the module you are changing. Then build and publish the module.
706707
707708
```json
708709
{
@@ -792,7 +793,7 @@ the device.
792793
ssh -l <user>@IoTEdge-<extension>.<region>.cloudapp.azure.com
793794
```
794795
795-
1. List all running containers. We expect to see a container for each module with a name that corresponds to the module. Also, this command lists the exact image for the container including version so you can match with your expectation. You can also list images by substituting image for container in the command.
796+
1. List all running containers. We expect to see a container for each module with a name that corresponds to the module. Also, this command lists the exact image for the container including version so you can match with your expectation. You can also list images by substituting "image" for "container" in the command.
796797
797798
```bash
798799
sudo docker container ls
@@ -822,7 +823,7 @@ This tutorial is part of a set where each article builds on the work done in the
822823
823824
## Next steps
824825
825-
In this article, we created an IoT Edge Solution in Visual Studio Code with three modules: a classifier, a router, and a file writer/uploader. We set up the routes to allow the modules to communicate with each other on the edge device. We modified the configuration of the edge device, and updated the Dockerfiles to install dependencies and add bind mounts to the modules containers.
826+
In this article, we created an IoT Edge Solution in Visual Studio Code with three modules: a classifier, a router, and a file writer/uploader. We set up the routes to allow the modules to communicate with each other on the edge device. We modified the configuration of the edge device, and updated the Dockerfiles to install dependencies and add bind mounts to the modules' containers.
826827

827828
Next, we updated the configuration of the IoT Hub to route our messages based on type and to handle file uploads. With everything in place, we deployed the modules to the IoT Edge device and ensured the modules were running correctly.
828829

articles/iot-edge/tutorial-machine-learning-edge-07-send-data-to-hub.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ms.topic: tutorial
99
ms.service: iot-edge
1010
services: iot-edge
1111
ms.custom: devx-track-csharp
12+
monikerRange: "=iotedge-2018-06"
1213
---
1314

1415
# Tutorial: Send data via transparent gateway
@@ -52,7 +53,7 @@ Look at the code to see how these two items are implemented.
5253

5354
1. Now look at the GetIotHubDevice method on the TurbofanDevice class.
5455

55-
1. When the user specifies the FQDN of the gateway using the “-g” option, that value is passed to this method as the `gatewayFqdn` variable, which gets appended to the device connection string.
56+
1. When the user specifies the FQDN of the gateway using the "-g" option, that value is passed to this method as the `gatewayFqdn` variable, which gets appended to the device connection string.
5657

5758
```csharp
5859
connectionString = $"{connectionString};GatewayHostName={gatewayFqdn.ToLower()}";
@@ -88,7 +89,7 @@ Look at the code to see how these two items are implemented.
8889
Device: 1 Message count: 250
8990
```
9091

91-
Note the addition of the GatewayHostName to the device connection string, which causes the device to communicate through the IoT Hub through the IoT Edge transparent gateway.
92+
Note the addition of the "GatewayHostName" to the device connection string, which causes the device to communicate through the IoT Hub through the IoT Edge transparent gateway.
9293

9394
## Check output
9495

@@ -122,7 +123,7 @@ We can observe the results of our leaf device sending data by looking at the sto
122123

123124
1. On the development machine open Visual Studio Code.
124125

125-
1. In the AZURE STORAGE panel in the explore window, navigate the tree to find your storage account.
126+
1. In the "AZURE STORAGE" panel in the explore window, navigate the tree to find your storage account.
126127

127128
1. Expand the **Blob Containers** node.
128129

0 commit comments

Comments
 (0)