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-dps/how-to-provision-multitenant.md
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,10 +57,10 @@ In this section, you'll create an Azure resource group, and two new regional IoT
57
57
58
58
This command may take a few minutes to complete.
59
59
60
-
3. Finally, create an IoT hub in the *westus* location add it to the resource group you created with the following [az iot hub create](/cli/azure/iot/hub#az_iot_hub_create) command(replace `{unique-hub-name}` with your own unique name):
60
+
3. Finally, create an IoT hub in the *westus2* location add it to the resource group you created with the following [az iot hub create](/cli/azure/iot/hub#az_iot_hub_create) command(replace `{unique-hub-name}` with your own unique name):
@@ -121,7 +121,7 @@ For simplicity, this article uses [Symmetric key attestation](concepts-symmetric
121
121
122
122
In this section, you'll create two regional Linux virtual machines (VMs). These VMs will run a device simulation sample from each region to demonstrate device provisioning for tenant devices from both regions.
123
123
124
-
To make clean-up easier, these VMs will be added to the same resource group that contains the IoT hubs that were created, *contoso-us-resource-group*. However, the VMs will run in separate regions (**West US** and **East US**).
124
+
To make clean-up easier, these VMs will be added to the same resource group that contains the IoT hubs that were created, *contoso-us-resource-group*. However, the VMs will run in separate regions (**West US 2** and **East US**).
125
125
126
126
1. In the Azure Cloud Shell, run the following command to create an **East US** region VM after making the following parameter changes in the command:
127
127
@@ -143,11 +143,13 @@ To make clean-up easier, these VMs will be added to the same resource group that
143
143
--public-ip-sku Standard
144
144
```
145
145
146
-
This command will take a few minutes to complete. Once the command has completed, make a note of the **publicIpAddress** value for your East US region VM.
146
+
This command will take a few minutes to complete.
147
147
148
-
2. In the Azure Cloud Shell, execute the command to create a **West US** region VM after making the following parameter changes in the command:
148
+
2. Once the command has completed, copy the **publicIpAddress** value for your East US region VM.
149
149
150
-
**--name**: Enter a unique name for your **West US** regional device VM.
150
+
3. In the Azure Cloud Shell, run the command to create a **West US 2** region VM after making the following parameter changes in the command:
151
+
152
+
**--name**: Enter a unique name for your **West US 2** regional device VM.
151
153
152
154
**--admin-username**: Use your own admin user name.
153
155
@@ -156,20 +158,24 @@ To make clean-up easier, these VMs will be added to the same resource group that
This command will take a few minutes to complete. Once the command has completed, make a note of the **publicIpAddress** value for your West US region VM.
170
+
This command will take a few minutes to complete.
171
+
172
+
4. Once the command has completed, make a note of the **publicIpAddress** value for your West US 2 region VM.
173
+
174
+
5. Open two command-line shells.
169
175
170
-
3. Open two command-line shells. Connect to one of the regional VMs in each shell using SSH.
176
+
6. Connect to one of the regional VMs in each shell using SSH.
171
177
172
-
Pass your admin username, and the public IP address you noted for the VM as parameters to SSH. Enter the admin password when prompted.
178
+
Pass your admin username and the public IP address that you copied as parameters to SSH. Enter the admin password when prompted.
0 commit comments