Skip to content

Commit 9eba9a3

Browse files
committed
Freshness review
1 parent 09aafc6 commit 9eba9a3

File tree

6 files changed

+77
-77
lines changed

6 files changed

+77
-77
lines changed
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.oxford.deploy-prebuilt-module-edge-device.1-introduction
3-
title: Introduction
4-
metadata:
5-
title: Introduction
6-
description: In this unit, we help the learner to decide if the product will meet their needs by explaining when to use the product and how it works.
7-
ms.date: 11/27/2023
8-
author: PatAltimore
9-
ms.author: leestott
10-
ms.topic: unit
11-
ms.custom: team=nextgen
12-
durationInMinutes: 3 # dummy number at present
13-
content: |
14-
[!include[](includes/1-introduction.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.oxford.deploy-prebuilt-module-edge-device.1-introduction
3+
title: Introduction
4+
metadata:
5+
title: Introduction
6+
description: In this unit, we help the learner to decide if the product will meet their needs by explaining when to use the product and how it works.
7+
ms.date: 05/09/2025
8+
author: PatAltimore
9+
ms.author: leestott
10+
ms.topic: unit
11+
ms.custom: team=nextgen
12+
durationInMinutes: 3
13+
content: |
14+
[!include[](includes/1-introduction.md)]
15+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.oxford.deploy-prebuilt-module-edge-device.2-what-is-prebuilt-module
3-
title: Use a pre-built module to generate test data
4-
metadata:
5-
title: Use a pre-built module to generate test data
6-
description: In this unit, we provide a definition of a pre-built module
7-
ms.date: 11/27/2023
8-
author: PatAltimore
9-
ms.author: leestott
10-
ms.topic: unit
11-
ms.custom: team=nextgen
12-
durationInMinutes: 4 # dummy number at present
13-
content: |
14-
[!include[](includes/2-what-is-prebuilt-module.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.oxford.deploy-prebuilt-module-edge-device.2-what-is-prebuilt-module
3+
title: Use a pre-built module to generate test data
4+
metadata:
5+
title: Use a pre-built module to generate test data
6+
description: In this unit, we provide a definition of a pre-built module
7+
ms.date: 05/09/2025
8+
author: PatAltimore
9+
ms.author: leestott
10+
ms.topic: unit
11+
ms.custom: team=nextgen
12+
durationInMinutes: 4
13+
content: |
14+
[!include[](includes/2-what-is-prebuilt-module.md)]
15+
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
### YamlMime:ModuleUnit
2-
uid: learn.oxford.deploy-prebuilt-module-edge-device.3-how-setup-communication
3-
title: Set up communication between IoT Hub and IoT Edge
4-
metadata:
5-
title: Set up communication between IoT Hub and IoT Edge
6-
description: In this unit, we provide the definition of resource group, how to create an IoT Edge device, an IoT Hub, and how to set up communication between IoT Edge and IoT Hub
7-
ms.date: 11/27/2023
8-
author: PatAltimore
9-
ms.author: leestott
10-
ms.topic: unit
11-
ms.custom: team=nextgen
12-
durationInMinutes: 7 # dummy number at present
13-
content: |
14-
[!include[](includes/3-how-setup-communication.md)]
15-
1+
### YamlMime:ModuleUnit
2+
uid: learn.oxford.deploy-prebuilt-module-edge-device.3-how-setup-communication
3+
title: Set up communication between IoT Hub and IoT Edge
4+
metadata:
5+
title: Set up communication between IoT Hub and IoT Edge
6+
description: In this unit, we provide the definition of resource group, how to create an IoT Edge device, an IoT Hub, and how to set up communication between IoT Edge and IoT Hub
7+
ms.date: 05/09/2025
8+
author: PatAltimore
9+
ms.author: leestott
10+
ms.topic: unit
11+
ms.custom: team=nextgen
12+
durationInMinutes: 7
13+
content: |
14+
[!include[](includes/3-how-setup-communication.md)]
15+

learn-pr/student-evangelism/deploy-prebuilt-module-edge-device/includes/1-introduction.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
In the development phase of an IoT project, the continuous streams of data typically generated by deployed IoT devices aren't easy to acquire. To simulate data, you can use a prebuilt module as an executable package and deploy this module as a container on an IoT Edge device.
1+
In the development phase of an IoT project, the continuous streams of data typically generated by deployed IoT devices aren't easy to acquire. Simulate data by using a prebuilt module as an executable package and deploying it as a container on an IoT Edge device.
22

3-
Suppose you're a developer who is deploying IoT applications for a factory automation application. You want to capture data about the machines running on the factory floor, such as the server room or the wind turbine. But you also want to capture data about the environment around the machines, like the ambient temperature. It isn't easy to acquire and visualize this data from the factory floor before the application goes live. Hence, you need a way to simulate data that mimics your scenarios to test your application.
3+
Suppose you're a developer deploying IoT applications for factory automation. You want to capture data about machines running on the factory floor, like the server room or wind turbine. But you also want to capture data about the environment around the machines, like the ambient temperature. It isn't easy to acquire and visualize this data from the factory floor before the application goes live. So, you need a way to simulate data that mimics your scenarios to test your application.
44

55
![An illustration showing the flow for deploying prebuilt module to the Edge device.](../media/deploy-prebuilt-module.png)
66

7-
We explore the following engineering-led themes:
7+
This article explores the following engineering-led themes:
88

99
- Forecasting behavior of a component or system
1010
- Design of solutions
1111
- Anticipating constraints/tolerances and specific operating conditions
1212
- Safety and security considerations
1313
- Building tools that help to create the solution
1414

15-
In this module, you'll register an IoT Edge device to your IoT hub. You'll then start the IoT Edge runtime on your virtual device. Next, you'll remotely deploy a prebuilt module to an IoT Edge device that simulates sensors running on that device. Finally, you'll view the module's generated data to verify that the module is running on the device. We're using Azure IoT Edge on an Ubuntu virtual machine. In this case, your device already has the IoT Edge runtime installed. You're not running IoT Edge on your local machine or an ARM32 or ARM64 device.
15+
In this module, you register an IoT Edge device to your IoT hub. Then, you start the IoT Edge runtime on your virtual device. Next, you remotely deploy a prebuilt module to an IoT Edge device that simulates sensors running on that device. Finally, you view the module's generated data to verify that the module is running on the device. This article uses Azure IoT Edge on an Ubuntu virtual machine. In this case, your device already has the IoT Edge runtime installed. This setup doesn't run IoT Edge on a local machine or an ARM32 or ARM64 device.
1616

1717
## Learning objectives
1818

19-
In this module, you'll:
19+
In this module, you:
2020

21-
- Launch a module from Azure portal to IoT Edge
21+
- Launch a module from Azure portal to IoT Edge
2222
- Generate simulated data from an edge device
2323
- Verify data generated from the edge device
2424

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
The IoT Edge platform works with the cloud to deploy IoT Edge **modules** to your IoT Edge devices.
1+
The IoT Edge platform works with the cloud to deploy IoT Edge **modules** to IoT Edge devices.
22

33
## What is a module?
44

5-
IoT Edge modules are executable packages implemented as containers.
5+
IoT Edge modules are executable packages that run as containers.
66

7-
Through IoT Edge modules, you can deploy cloud workloads to run directly on IoT devices. IoT Edge modules are the smallest computation units managed by IoT Edge. Using IoT Edge modules, you can analyze data on devices instead of the cloud. By moving parts of your workload to the edge, your devices can spend less time sending messages to the cloud and react more quickly to events.
7+
IoT Edge modules let you deploy cloud workloads to run directly on IoT devices. IoT Edge modules are the smallest computational units managed by IoT Edge. IoT Edge modules let you analyze data on devices instead of in the cloud. Moving parts of your workload to the edge reduces the time devices spend sending messages to the cloud and helps them react more quickly to events.
88

9-
## What is a pre-built module?
9+
## What is a prebuilt module?
1010

11-
Pre-built IoT Edge Modules are accessed through the Microsoft Artifact Registry or from third-party publisher container registries.
12-
The module you deploy simulates a sensor. It sends generated data back to the IoT Hub. You can use the simulated data for development and testing your IoT solution.
11+
Prebuilt IoT Edge modules are accessed through the Microsoft Artifact Registry or third-party publisher container registries.
12+
The module simulates a sensor and sends generated data to the IoT Hub. Use the simulated data to develop and test your IoT solution.
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
The steps below summarize the process of setting up and configuring IoT Edge, an IoT Hub, and the IoT device to deploy our module to it.
1+
The steps below summarize how to set up and configure IoT Edge, an IoT Hub, and an IoT device to deploy a module to it.
22

3-
1. Define the resource group or use an existing one.
3+
1. Define a resource group or use an existing one.
44
1. Create an Azure IoT Edge device.
55
1. Create an Azure IoT Hub or use an existing one.
66
1. Register the IoT Edge device to the IoT Hub.
77

8-
Although you could execute the Azure IoT Edge runtime on your own physical Linux device, we deploy an Ubuntu-based virtual machine to Azure to act as the IoT Edge device.
8+
Although you can run the Azure IoT Edge runtime on a physical Linux device, this article uses an Ubuntu-based virtual machine in Azure as the IoT Edge device.
99

10-
As a consequence, you need an active Azure subscription to follow the exercises. Either create a free account that comes with a 30 days trial or use your pay-as-you-go subscription.
10+
You need an active Azure subscription to follow the exercises. Create a free account with a 30-day trial or use a pay-as-you-go subscription.
1111

1212
## What is a resource group?
1313

14-
A resource group is a container to logically group Azure resources. These resources can be, for example, storage accounts, virtual networks, and virtual machines (VMs) you want to treat as a single entity. The resource group stores metadata about the resources. Therefore, when you specify a location for the resource group, you're selecting where that metadata is stored. For compliance reasons, you may need to keep your data in a particular region.
14+
A resource group is a container to logically group Azure resources. These resources can include storage accounts, virtual networks, and virtual machines (VMs) that you treat as a single entity. The resource group stores metadata about the resources. When you specify a location for the resource group, you select where that metadata is stored. For compliance reasons, you might need to keep your data in a particular region.
1515

1616
## Create an Azure IoT Edge device
1717

18-
IoT Edge devices have the IoT Edge runtime installed on them. The Azure "IoT Edge on Ubuntu" virtual machine is an IoT device ready for use.
18+
IoT Edge devices have the IoT Edge runtime installed. The Azure "IoT Edge on Ubuntu" virtual machine is an IoT device that's ready for use.
1919

20-
The **IoT Edge runtime** is a collection of programs that turn a device into an IoT Edge device. Collectively, the IoT Edge runtime components enable IoT Edge devices to receive code to run at the edge and communicate the results with an IoT Hub.
20+
The **IoT Edge runtime** is a collection of programs that turn a device into an IoT Edge device. These components let IoT Edge devices receive code to run at the edge and communicate results with an IoT Hub.
2121

22-
* **IoT Edge module runtime:** starts each time an IoT Edge device boots and bootstraps the device by running the IoT Edge agent.
23-
* **IoT Edge agent:** facilitates deployment and monitoring of modules on the IoT Edge device, including the IoT Edge hub.
24-
* **IoT Edge hub:** manages communications between modules on the IoT Edge device and between the device and IoT Hub.
22+
* **IoT Edge module runtime:** starts whenever an IoT Edge device boots and initializes the device by running the IoT Edge agent.
23+
* **IoT Edge agent:** manages deployment and monitoring of modules on the IoT Edge device, including the IoT Edge hub.
24+
* **IoT Edge hub:** handles communications between modules on the IoT Edge device and between the device and IoT Hub.
2525

2626
## Create an IoT Hub
2727

28-
Azure IoT Hub enables the communication between the virtual device and the cloud. To create a new Azure IoT Hub with the Azure CLI, you'll use the `az iot hub create` command set.
28+
Azure IoT Hub lets the virtual device communicate with the cloud. To create a new Azure IoT Hub with the Azure CLI, use the `az iot hub create` command set.
2929

3030
> [!NOTE]
31-
> Only one **free** IoT hub instance is allowed in a subscription. The free level of IoT Hub works for this exercise. If you've used IoT Hub in the past and already have a free hub created, you can use that IoT hub.
31+
> Only one **free** IoT hub instance is allowed in a subscription. The free level of IoT Hub works for this exercise. If you've used IoT Hub in the past and already created a free hub, use that IoT hub.
3232
33-
## Register the IoT Edge device to IoT Hub
33+
## Register the IoT Edge device with IoT Hub
3434

35-
1. Use the `az iot hub device-identity create` command to create a device identity for your Edge device on Azure. The device identity enables you to communicate with your IoT Hub.
36-
1. Retrieve the connection string with the `az iot hub device-identity connection-string show` command. Every device identity uses a unique device connection string to associate it with a physical device.
37-
1. Set up the connection string on the IoT Edge device so it can connect to the IoT Hub. You can do this remotely without connection to the virtual machine by running a script on the device. Use the `az vm run-command` to invoke a script on the edge device and pass the connection string as a parameter.
35+
1. Run the `az iot hub device-identity create` command to create a device identity for your Edge device on Azure. The device identity lets the device communicate with your IoT Hub.
36+
1. Run the `az iot hub device-identity connection-string show` command to retrieve the connection string. Each device identity uses a unique connection string to associate it with a physical device.
37+
1. Set up the connection string on the IoT Edge device so it can connect to the IoT Hub. Do this remotely without connecting to the virtual machine by running a script on the device. Run the `az vm run-command` command to invoke a script on the edge device and pass the connection string as a parameter.
3838

39-
## Ensure the IoT Edge device is ready to run pre-built modules
39+
## Ensure the IoT Edge device is ready to run prebuilt modules
4040

4141
Once the edge device is configured, check if it is ready to run a pre-built module.
4242

43-
* Log on to the edge device using the public IP address for the device and run the `ssh command`.
44-
* With `iotedge` commands, you can check if the IoT Edge security daemon is running as a system service.
43+
* Sign in to the edge device using the public IP address for the device and run the `ssh command`.
44+
* Use `iotedge` commands to check if the IoT Edge security daemon is running as a system service.
4545

4646
> [!NOTE]
47-
> You need elevated privileges to run `iotedge` commands.
47+
> Elevated privileges are required to run `iotedge` commands.

0 commit comments

Comments
 (0)