Skip to content

Commit 29c89ab

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into rename-ddos-articles
2 parents eec6fc9 + 51a872a commit 29c89ab

8 files changed

+23
-29
lines changed
8.96 KB
Loading
Binary file not shown.
46.4 KB
Loading
-7.17 KB
Loading
12.6 KB
Loading
-22.7 KB
Loading

articles/iot-edge/quickstart-linux.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Quickstart create an Azure IoT Edge device on Linux | Microsoft Docs
2+
title: Quickstart creates an Azure IoT Edge device on Linux | Microsoft Docs
33
description: In this quickstart, learn how to create an IoT Edge device on Linux and then deploy prebuilt code remotely from the Azure portal.
44
author: PatAltimore
55
ms.author: patricka
@@ -222,7 +222,7 @@ Select **Next: Routes** to continue to the next step of the wizard.
222222

223223
A route named *SimulatedTemperatureSensorToIoTHub* was created automatically when you added the module from Azure Marketplace. This route sends all messages from the simulated temperature module to IoT Hub.
224224

225-
![Screenshot that shows removing the default route then moving to the next step.](./media/quickstart/delete-route-next-review-create.png)
225+
![Screenshot that shows removing the default route then moving to the next step.](./media/quickstart/route-next-review-create.png)
226226

227227
Select **Next: Review + create**.
228228

articles/iot-edge/quickstart.md

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ In this quickstart, you'll learn how to:
2525
* Install and start the IoT Edge for Linux on Windows runtime on your device.
2626
* Remotely deploy a module to an IoT Edge device and send telemetry.
2727

28-
![Diagram that shows the architecture of this quickstart for your device and cloud.](./media/quickstart/install-edge-full.png)
28+
:::image type="content" source="./media/quickstart/install-edge-full.png" alt-text="Diagram that shows the architecture of this quickstart for your device and cloud.":::
2929

3030
This quickstart walks you through how to set up your Azure IoT Edge for Linux on Windows device. Then, you'll deploy a module from the Azure portal to your device. The module you'll use is a simulated sensor that generates temperature, humidity, and pressure data. Other Azure IoT Edge tutorials build on the work you do here by deploying modules that analyze the simulated data for business insights.
3131

@@ -57,7 +57,7 @@ Make sure your IoT Edge device meets the following requirements:
5757

5858
Start by creating an IoT hub with the Azure CLI.
5959

60-
![Diagram that shows the step to create an I o T hub.](./media/quickstart/create-iot-hub.png)
60+
:::image type="content" source="./media/quickstart/create-iot-hub.png" alt-text="Diagram that shows the step to create an I o T hub.":::
6161

6262
The free level of Azure IoT Hub works for this quickstart. If you've used IoT Hub in the past and already have a hub created, you can use that IoT hub.
6363

@@ -73,7 +73,7 @@ If you get an error because you already have one free hub in your subscription,
7373

7474
Register an IoT Edge device with your newly created IoT hub.
7575

76-
![Diagram that shows the step to register a device with an IoT hub identity.](./media/quickstart/register-device.png)
76+
:::image type="content" source="./media/quickstart/register-device.png" alt-text="Diagram that shows the step to register a device with an I o T hub identity.":::
7777

7878
Create a device identity for your simulated device so that it can communicate with your IoT hub. The device identity lives in the cloud, and you use a unique device connection string to associate a physical device to a device identity.
7979

@@ -95,13 +95,13 @@ IoT Edge devices behave and can be managed differently than typical IoT devices.
9595
9696
1. Copy the value of the `connectionString` key from the JSON output and save it. This value is the device connection string. You'll use it to configure the IoT Edge runtime in the next section.
9797
98-
![Screenshot that shows the connectionString output in Cloud Shell.](./media/quickstart/retrieve-connection-string.png)
98+
:::image type="content" source="./media/quickstart/retrieve-connection-string.png" alt-text="Screenshot that shows the connectionString output in Cloud Shell." lightbox="./media/quickstart/retrieve-connection-string.png":::
9999
100100
## Install and start the IoT Edge runtime
101101
102102
Install IoT Edge for Linux on Windows on your device, and configure it with the device connection string.
103103
104-
![Diagram that shows the step to start the IoT Edge runtime.](./media/quickstart/start-runtime.png)
104+
:::image type="content" source="./media/quickstart/start-runtime.png" alt-text="Diagram that shows the step to start the IoT Edge runtime.":::
105105
106106
Run the following PowerShell commands on the target device where you want to deploy Azure IoT Edge for Linux on Windows. To deploy to a remote target device using PowerShell, use [Remote PowerShell](/powershell/module/microsoft.powershell.core/about/about_remote) to establish a connection to a remote device and run these commands remotely on that device.
107107
@@ -155,7 +155,7 @@ Run the following PowerShell commands on the target device where you want to dep
155155

156156
1. Enter 'O' or 'R' to toggle **Optional diagnostic data** on or off, depending on your preference. A successful deployment is pictured below.
157157

158-
![A successful deployment will say 'Deployment successful' at the end of the messages](./media/quickstart/successful-powershell-deployment.png)
158+
:::image type="content" source="./media/quickstart/successful-powershell-deployment.png" alt-text="A successful deployment will say Deployment successful at the end of the messages." lightbox="./media/quickstart/successful-powershell-deployment.png":::
159159

160160
1. Provision your device using the device connection string that you retrieved in the previous section. Replace the placeholder text with your own value.
161161

@@ -169,13 +169,7 @@ Your IoT Edge device is now configured. It's ready to run cloud-deployed modules
169169

170170
Manage your Azure IoT Edge device from the cloud to deploy a module that sends telemetry data to IoT Hub.
171171

172-
![Diagram that shows the step to deploy a module.](./media/quickstart/deploy-module.png)
173-
174-
<!--
175-
[!INCLUDE [iot-edge-deploy-module](includes/iot-edge-deploy-module.md)]
176-
177-
Include content included below to support versioned steps in Linux quickstart. Can update include file once Windows quickstart supports v1.2
178-
-->
172+
:::image type="content" source="./media/quickstart/deploy-module.png" alt-text="Diagram that shows the step to deploy a module.":::
179173

180174
One of the key capabilities of Azure IoT Edge is deploying code to your IoT Edge devices from the cloud. *IoT Edge modules* are executable packages implemented as containers. In this section, you'll deploy a pre-built module from the [IoT Edge Modules section of Azure Marketplace](https://azuremarketplace.microsoft.com/marketplace/apps/category/internet-of-things?page=1&subcategories=iot-edge-modules) directly from Azure IoT Hub.
181175

@@ -189,42 +183,42 @@ Follow these steps to deploy your first module from Azure Marketplace.
189183

190184
1. Select the device ID of the target device from the list of devices.
191185

192-
When you create a new IoT Edge device, it will display the status code `417 -- The device's deployment configuration is not set` in the Azure portal. This status is normal, and means that the device is ready to receive a module deployment.
186+
>[!NOTE]
187+
>When you create a new IoT Edge device, it will display the status code `417 -- The device's deployment configuration is not set` in the Azure portal. This status is normal, and means that the device is ready to receive a module deployment.
193188
194189

195190
1. On the upper bar, select **Set Modules**.
196191

197-
![Screenshot that shows selecting Set Modules.](./media/quickstart/select-set-modules.png)
192+
:::image type="content" source="./media/quickstart/select-set-modules.png" alt-text="Screenshot that shows location of the Set Modules tab.":::
198193

199194
1. Under **IoT Edge Modules**, open the **Add** drop-down menu, and then select **Marketplace Module**.
200195

201-
![Screenshot that shows the Add drop-down menu.](./media/quickstart/add-marketplace-module.png)
196+
:::image type="content" source="./media/quickstart/add-marketplace-module.png" alt-text="Screenshot that shows the Add drop-down menu.":::
202197

203198
1. In **IoT Edge Module Marketplace**, search for and select the `Simulated Temperature Sensor` module.
204199

205200
The module is added to the IoT Edge Modules section with the desired **running** status.
206201

207202
1. Select **Next: Routes** to continue to the next step of the wizard.
208203

209-
![Screenshot that shows continuing to the next step after the module is added.](./media/quickstart/view-temperature-sensor-next-routes.png)
204+
:::image type="content" source="./media/quickstart/view-temperature-sensor-next-routes.png" alt-text="Screenshot that shows where to select the Next:Routes button.":::
210205

211-
1. On the **Routes** tab, remove the default route, **route**, and then select **Next: Review + create** to continue to the next step of the wizard.
206+
1. On the **Routes** tab select **Next: Review + create** to continue to the next step of the wizard.
212207

213-
>[!Note]
214-
>Routes are constructed by using name and value pairs. You should see two routes on this page. The default route, **route**, sends all messages to IoT Hub (which is called `$upstream`). A second route, **SimulatedTemperatureSensorToIoTHub**, was created automatically when you added the module from Azure Marketplace. This route sends all messages from the simulated temperature module to IoT Hub. You can delete the default route because it's redundant in this case.
215-
216-
![Screenshot that shows removing the default route then moving to the next step.](./media/quickstart/delete-route-next-review-create.png)
208+
:::image type="content" source="./media/quickstart/route-next-review-create.png" alt-text="Screenshot that shows the location of the Next: Review + create button.":::
217209

218-
1. Review the JSON file, and then select **Create**. The JSON file defines all of the modules that you deploy to your IoT Edge device. You'll see the **SimulatedTemperatureSensor** module and the two runtime modules, **edgeAgent** and **edgeHub**.
210+
1. Review the JSON file in the **Review + create** tab. The JSON file defines all of the modules that you deploy to your IoT Edge device. You'll see the **SimulatedTemperatureSensor** module and the two runtime modules, **edgeAgent** and **edgeHub**.
219211

220212
>[!Note]
221213
>When you submit a new deployment to an IoT Edge device, nothing is pushed to your device. Instead, the device queries IoT Hub regularly for any new instructions. If the device finds an updated deployment manifest, it uses the information about the new deployment to pull the module images from the cloud then starts running the modules locally. This process can take a few minutes.
222214
215+
1. Select **Create** to deploy.
216+
223217
1. After you create the module deployment details, the wizard returns you to the device details page. View the deployment status on the **Modules** tab.
224218

225-
You should see three modules: **$edgeAgent**, **$edgeHub**, and **SimulatedTemperatureSensor**. If one or more of the modules has **YES** under **SPECIFIED IN DEPLOYMENT** but not under **REPORTED BY DEVICE**, your IoT Edge device is still starting them. Wait a few minutes, and then refresh the page.
219+
You should see three modules: **$edgeAgent**, **$edgeHub**, and **SimulatedTemperatureSensor**. If one or more of the modules has **Yes** under **Specified in Deployment** but not under **Reported by Device**, your IoT Edge device is still starting them. Wait a few minutes, and then refresh the page.
226220

227-
![Screenshot that shows Simulated Temperature Sensor in the list of deployed modules.](./media/quickstart/view-deployed-modules.png)
221+
:::image type="content" source="./media/quickstart/view-deployed-modules.png" alt-text="Screenshot that shows Simulated Temperature Sensor in the list of deployed modules." lightbox="./media/quickstart/view-deployed-modules.png":::
228222

229223
## View the generated data
230224

@@ -247,7 +241,7 @@ The module that you pushed generates sample environment data that you can use fo
247241
sudo iotedge list
248242
```
249243

250-
![Verify your temperature sensor, agent, and hub are running.](./media/quickstart/iotedge-list-screen.png)
244+
:::image type="content" source="./media/quickstart/iotedge-list-screen.png" alt-text="Verify your temperature sensor, agent, and hub are running." lightbox="./media/quickstart/iotedge-list-screen.png":::
251245

252246
1. View the messages being sent from the temperature sensor module to the cloud using the following Linux command:
253247

@@ -258,7 +252,7 @@ The module that you pushed generates sample environment data that you can use fo
258252
>[!IMPORTANT]
259253
>IoT Edge commands are case-sensitive when they refer to module names.
260254
261-
![View the output logs of the Simulated Temperature Sensor module.](./media/quickstart/temperature-sensor-screen.png)
255+
:::image type="content" source="./media/quickstart/temperature-sensor-screen.png" alt-text="Screenshot of the output logs of the Simulated Temperature Sensor module." lightbox="./media/quickstart/temperature-sensor-screen.png":::
262256

263257
You can also use the [Azure IoT Hub extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit) to watch messages arrive at your IoT hub.
264258

0 commit comments

Comments
 (0)