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/iot-edge/quickstart-linux.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ IoT Edge device:
56
56
az vm create --resource-group IoTEdgeResources --name EdgeVM --image Canonical:UbuntuServer:16.04-LTS:latest --admin-username azureuser --generate-ssh-keys --size Standard_DS1_v2
57
57
```
58
58
59
-
When you create a new virtual machine, make a note of the **publicIpAddress**, which is provided as part of the create command output. You use this publicIpAddress to connect to the virtual machine later in the quickstart.
59
+
When you create a new virtual machine, make a note of the **publicIpAddress**, which is provided as part of the create command output. You use this public IP address to connect to the virtual machine later in the quickstart.
60
60
61
61
## Create an IoT hub
62
62
@@ -72,7 +72,7 @@ The following code creates a free **F1** hub in the resource group **IoTEdgeReso
72
72
az iot hub create --resource-group IoTEdgeResources --name {hub_name} --sku F1
73
73
```
74
74
75
-
If you get an error because there's already one free hub in your subscription, change the SKU to **S1**. If you get an error that the IoT Hub name is not available, it means that someone else already has a hub with that name. Try a new name.
75
+
If you get an error because there's already one free hub in your subscription, change the SKU to **S1**. If you get an error that the IoT Hub name isn't available, it means that someone else already has a hub with that name. Try a new name.
76
76
77
77
## Register an IoT Edge device
78
78
@@ -81,7 +81,7 @@ Register an IoT Edge device with your newly created IoT hub.
81
81
82
82
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.
83
83
84
-
Since IoT Edge devices behave and can be managed differently than typical IoT devices, you declare this to be an IoT Edge device from the beginning.
84
+
Since IoT Edge devices behave and can be managed differently than typical IoT devices, declare this identity to be for an IoT Edge device with the `--edge-enabled` flag.
85
85
86
86
1. In the Azure cloud shell, enter the following command to create a device named **myEdgeDevice** in your hub.
87
87
@@ -112,7 +112,7 @@ During the runtime configuration, you provide a device connection string. Use th
112
112
113
113
The steps in this section all take place on your IoT Edge device. If you're using your own machine as the IoT Edge device, you can skip this part. If you're using a virtual machine or secondary hardware, you want to connect to that machine now.
114
114
115
-
If you created an Azure virtual machine for this quickstart, retrieve the public IP address that was output by the creation command. If you didn't save this information earlier, you can find it by navigating to your virtual machinein the Azure portal, and reading the overview details. Use the following command to connect to your virtual machine:
115
+
If you created an Azure virtual machine for this quickstart, retrieve the public IP address that was output by the creation command. You can also find the public IP address on your virtual machine's overview page in the Azure portal. Use the following command to connect to your virtual machine. Replace **{publicIpAddress}** with your machine's address.
The packages that you need to run the IoT Edge runtime are managed in a software repository. Configure your IoT Edge device to access this repository.
124
124
125
-
The steps in this section are for x64 devices running **Ubuntu 16.04**. To access the software repository on other versions of Linux or device architectures, see [Install the Azure IoT Edge runtime on Linux (x64)](how-to-install-iot-edge-linux.md) or [Install Azure IoT Edge runtime on Linux (ARM32v7/armhf)](how-to-install-iot-edge-linux-arm.md).
125
+
The steps in this section are for x64 devices running **Ubuntu 16.04**. To access the software repository on other versions of Linux or device architectures, see [Install the Azure IoT Edge runtime on Linux (x64)](how-to-install-iot-edge-linux.md) or [Linux (ARM32v7/armhf)](how-to-install-iot-edge-linux-arm.md).
126
126
127
127
1. On the machine that you're using as an IoT Edge device, install the repository configuration.
128
128
@@ -171,7 +171,7 @@ The security daemon installs as a system service so that the IoT Edge runtime st
171
171
sudo apt-get install iotedge
172
172
```
173
173
174
-
2. Open the IoT Edge configuration file. It is a protected file so you may have to use elevated privileges to access it.
174
+
2. Open the IoT Edge configuration file. It's a protected file so you may have to use elevated privileges to access it.
175
175
176
176
```bash
177
177
sudo nano /etc/iotedge/config.yaml
@@ -249,15 +249,15 @@ View the messages being sent from the tempSensor module:
249
249
250
250
The temperature sensor module may be waiting to connect to Edge Hub if the last line you see in the log is `Using transport Mqtt_Tcp_Only`. Try killing the module and letting the Edge Agent restart it. You can kill it with the command `sudo docker stop tempSensor`.
251
251
252
-
You can also view the telemetry as it arrives at your IoT hub by using the [Azure IoT Toolkit extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit).
252
+
You can also watch the messages arrive at your IoT hub by using the [Azure IoT Toolkit extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit).
253
253
254
254
## Clean up resources
255
255
256
256
If you want to continue on to the IoT Edge tutorials, you can use the device that you registered and set up in this quickstart. Otherwise, you can delete the Azure resources that you created and remove the IoT Edge runtime from your device.
257
257
258
258
### Delete Azure resources
259
259
260
-
If you created your virtual machine and IoT hub in a new resource group, you can delete that group and all the associated resources. If there's anything in that resource group that you want to keep, then just delete the individual resources that you want to clean up.
260
+
If you created your virtual machine and IoT hub in a new resource group, you can delete that group and all the associated resources. Double check the contents of the resource group to make sure that there's nothing you want to keep. If you don't want to delete the whole group, you can delete individual resources instead.
Copy file name to clipboardExpand all lines: articles/iot-edge/quickstart.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Try out Azure IoT Edge by running analytics on a simulated edge dev
4
4
author: kgremban
5
5
manager: philmea
6
6
ms.author: kgremban
7
-
ms.date: 08/02/2018
7
+
ms.date: 10/02/2018
8
8
ms.topic: quickstart
9
9
ms.service: iot-edge
10
10
services: iot-edge
@@ -56,8 +56,8 @@ IoT Edge device:
56
56
* A Windows computer or virtual machine to act as your IoT Edge device. Use a supported Windows version:
57
57
* Windows 10 or newer
58
58
* Windows Server 2016 or newer
59
-
* If it's a Windows computer, ensure it meets the [system requirements](https://docs.microsoft.com/virtualization/hyper-v-on-windows/reference/hyper-v-requirements) for Hyper-V.
60
-
* If it's a virtual machine, enable [nested virtualization](https://docs.microsoft.com/virtualization/hyper-v-on-windows/user-guide/nested-virtualization) and allocate at least 2GB memory.
59
+
* If it's a Windows computer, check that it meets the [system requirements](https://docs.microsoft.com/virtualization/hyper-v-on-windows/reference/hyper-v-requirements) for Hyper-V.
60
+
* If it's a virtual machine, enable [nested virtualization](https://docs.microsoft.com/virtualization/hyper-v-on-windows/user-guide/nested-virtualization) and allocate at least 2 GB memory.
61
61
* Install [Docker for Windows](https://docs.docker.com/docker-for-windows/install/) and make sure it's running.
62
62
63
63
> [!TIP]
@@ -77,7 +77,7 @@ The following code creates a free **F1** hub in the resource group **IoTEdgeReso
77
77
az iot hub create --resource-group IoTEdgeResources --name {hub_name} --sku F1
78
78
```
79
79
80
-
If you get an error because there's already one free hub in your subscription, change the SKU to **S1**. If you get an error that the IoT Hub name is not available, it means that someone else already has a hub with that name. Try a new name.
80
+
If you get an error because there's already one free hub in your subscription, change the SKU to **S1**. If you get an error that the IoT Hub name isn't available, it means that someone else already has a hub with that name. Try a new name.
81
81
82
82
## Register an IoT Edge device
83
83
@@ -86,7 +86,7 @@ Register an IoT Edge device with your newly created IoT Hub.
86
86
87
87
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.
88
88
89
-
Since IoT Edge devices behave and can be managed differently than typical IoT devices, you declare this to be an IoT Edge device from the beginning.
89
+
Since IoT Edge devices behave and can be managed differently than typical IoT devices, declare this identity to be for an IoT Edge device with the `--edge-enabled` flag.
90
90
91
91
1. In the Azure cloud shell, enter the following command to create a device named **myEdgeDevice** in your hub.
92
92
@@ -194,15 +194,15 @@ iotedge logs tempSensor -f
194
194
195
195

196
196
197
-
You can also view the messages that are received by your IoT hub by using the [Azure IoT Toolkit extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit).
197
+
You can also watch the messages arrive at your IoT hub by using the [Azure IoT Toolkit extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-toolkit).
198
198
199
199
## Clean up resources
200
200
201
201
If you want to continue on to the IoT Edge tutorials, you can use the device that you registered and set up in this quickstart. Otherwise, you can delete the Azure resources that you created and remove the IoT Edge runtime from your device.
202
202
203
203
### Delete Azure resources
204
204
205
-
If you created your virtual machine and IoT hub in a new resource group, you can delete that group and all the associated resources. If there's anything in that resource group that you want to keep, then just delete the individual resources that you want to clean up.
205
+
If you created your virtual machine and IoT hub in a new resource group, you can delete that group and all the associated resources. Double check the contents of the resource group to make sure that there's nothing you want to keep. If you don't want to delete the whole group, you can delete individual resources instead.
Copy file name to clipboardExpand all lines: includes/iot-edge-deploy-module.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,19 +13,25 @@
13
13
One of the key capabilities of Azure IoT Edge is being able to deploy modules to your IoT Edge devices from the cloud. An IoT Edge module is an executable package implemented as a container. In this section, you deploy a module that generates telemetry for your simulated device.
14
14
15
15
1. In the Azure portal, navigate to your IoT hub.
16
+
16
17
2. Go to **IoT Edge** under **Automatic Device Management** and select your IoT Edge device.
18
+
17
19
3. Select **Set Modules**. A three-step wizard opens in the portal, which guides you through adding modules, specifying routes, and reviewing the deployment.
20
+
18
21
4. In the **Add Modules** step of the wizard, find the **Deployment Modules** section. Click **Add** then select **IoT Edge Module**.
19
22
20
23

21
24
22
25
5. In the **Name** field, enter `tempSensor`.
26
+
23
27
6. In the **Image URI** field, enter `mcr.microsoft.com/azureiotedge-simulated-temperature-sensor:1.0`.
28
+
24
29
7. Leave the other settings unchanged, and select **Save**.
25
30
26
31

27
32
28
33
8. Back in first step of the wizard, select **Next**.
34
+
29
35
9. In the **Specify Routes** step of the wizard, you should have a default route that sends all messages from all modules to IoT Hub. If not, add the following code then select **Next**.
30
36
31
37
```json
@@ -37,6 +43,7 @@ One of the key capabilities of Azure IoT Edge is being able to deploy modules to
37
43
```
38
44
39
45
10. In the **Review Deployment** step of the wizard, select **Submit**.
46
+
40
47
11. Return to the device details page and select **Refresh**. In addition to the edgeAgent module that was created when you first started the service, you should see another runtime module called **edgeHub** and the **tempSensor** module listed.
41
48
42
49
It may take a few minutes for the new modules to show up. The IoT Edge device has to retrieve its new deployment information from the cloud, start the containers, and then report its new status back to IoT Hub.
0 commit comments