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/how-to-install-iot-edge-ubuntuvm.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,22 +22,23 @@ This article lists the steps to run the Azure IoT Edge runtime on an Ubuntu 16.0
22
22
On first boot, the Azure IoT Edge on Ubuntu VM preinstalls the latest version of the Azure IoT Edge runtime. It also includes a script to set the connection string and then restart the runtime, which can be triggered remotely through the Azure VM portal or Azure command line, allowing you to easily configure and connect the IoT Edge device without starting an SSH or remote desktop session. This script will wait to set the connection string until the IoT Edge client is fully installed so that you don’t have to build that into your automation.
23
23
24
24
## Deploy from the Azure Marketplace
25
-
1. Navigate to the [Azure IoT Edge on Ubuntu](https://aka.ms/azure-iot-edge-ubuntuvm) Marketplace offer or by searching “Azure IoT Edge on Ubuntu” on [the Azure Marketplace](https://azuremarketplace.microsoft.com/)
26
-
2. Select **GET IT NOW** and then **Continue** on the next dialog.
27
-
3. Once in the Azure portal, select **Create** and follow the wizard to deploy the VM.
28
-
* If it’s your first time trying out a VM, it’s easiest to use a password and to enable the SSH in the public inbound port menu.
29
-
* If you have a resource intensive workload, you should upgrade the virtual machine size by adding more CPUs and/or memory.
30
-
4. Once the virtual machine is deployed, configure it to connect to your IoT Hub:
31
-
1. Copy your device connection string from your IoT Edge device created in your IoT Hub (You can follow the [Retrieve the connection string in the Azure portal](how-to-register-device.md#retrieve-the-connection-string-in-the-azure-portal) procedure if you aren’t familiar with this process)
32
-
1. Select your newly created virtual machine resource from the Azure portal and open the **run command** option
33
-
1. Select the **RunShellScript** option
34
-
1. Execute the script below via the command window with your device connection string:
1. Wait a few moments, and the screen should then provide a success message indicating the connection string was set successfully.
38
25
26
+
1. Navigate to the [Azure IoT Edge on Ubuntu](https://aka.ms/azure-iot-edge-ubuntuvm) Marketplace offer or by searching “Azure IoT Edge on Ubuntu” on [the Azure Marketplace](https://azuremarketplace.microsoft.com/)
27
+
2. Select **GET IT NOW** and then **Continue** on the next dialog.
28
+
3. Once in the Azure portal, select **Create** and follow the wizard to deploy the VM.
29
+
* If it’s your first time trying out a VM, it’s easiest to use a password and to enable the SSH in the public inbound port menu.
30
+
* If you have a resource intensive workload, you should upgrade the virtual machine size by adding more CPUs and/or memory.
31
+
4. Once the virtual machine is deployed, configure it to connect to your IoT Hub:
32
+
1. Copy your device connection string from your IoT Edge device created in your IoT Hub (You can follow the [Retrieve the connection string in the Azure portal](how-to-register-device.md#retrieve-the-connection-string-in-the-azure-portal) procedure if you aren’t familiar with this process)
33
+
1. Select your newly created virtual machine resource from the Azure portal and open the **run command** option
34
+
1. Select the **RunShellScript** option
35
+
1. Execute the script below via the command window with your device connection string:
1. Wait a few moments, and the screen should then provide a success message indicating the connection string was set successfully.
39
39
40
40
## Deploy from the Azure portal
41
+
41
42
From the Azure portal, search for “Azure IoT Edge” and select **Ubuntu Server 16.04 LTS + Azure IoT Edge runtime** to begin the VM creation workflow. From there, complete steps 3 and 4 in the "Deploy from the Azure Marketplace" instructions above.
42
43
43
44
## Deploy from Azure CLI
@@ -72,7 +73,7 @@ From the Azure portal, search for “Azure IoT Edge” and select **Ubuntu Serve
72
73
1. Accept the terms of use for the virtual machine. If you want to review the terms first, follow the steps in [Deploy from the Azure Marketplace](#deploy-from-the-azure-marketplace).
73
74
74
75
```azurecli-interactive
75
-
az vm image accept-terms --urn microsoft_iot_edge:iot_edge_vm_ubuntu:ubuntu_1604_edgeruntimeonly:latest
76
+
az vm image terms accept --urn microsoft_iot_edge:iot_edge_vm_ubuntu:ubuntu_1604_edgeruntimeonly:latest
0 commit comments