Skip to content

Commit 5b85a20

Browse files
committed
edits
1 parent 0a5fd4c commit 5b85a20

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

articles/iot-dps/how-to-provision-multitenant.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ In this section, you'll create an Azure resource group, and two new regional IoT
5757
5858
This command may take a few minutes to complete.
5959
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):
6161
6262
```azurecli-interactive
63-
az iot hub create --name {unique-hub-name} --resource-group contoso-us-resource-group --location westus --sku S1
63+
az iot hub create --name {unique-hub-name} --resource-group contoso-us-resource-group --location westus2 --sku S1
6464
```
6565
6666
This command may take a few minutes to complete.
@@ -121,7 +121,7 @@ For simplicity, this article uses [Symmetric key attestation](concepts-symmetric
121121
122122
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.
123123
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**).
125125
126126
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:
127127
@@ -143,11 +143,13 @@ To make clean-up easier, these VMs will be added to the same resource group that
143143
--public-ip-sku Standard
144144
```
145145
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.
147147
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.
149149
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.
151153
152154
**--admin-username**: Use your own admin user name.
153155
@@ -156,20 +158,24 @@ To make clean-up easier, these VMs will be added to the same resource group that
156158
```azurecli-interactive
157159
az vm create \
158160
--resource-group contoso-us-resource-group \
159-
--name ContosoSimDeviceWest \
160-
--location westus \
161+
--name ContosoSimDeviceWest2 \
162+
--location westus2 \
161163
--image Canonical:UbuntuServer:18.04-LTS:18.04.201809110 \
162164
--admin-username contosoadmin \
163165
--admin-password myContosoPassword2018 \
164166
--authentication-type password
165167
--public-ip-sku Standard
166168
```
167169
168-
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.
169175
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.
171177
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.
173179
174180
```bash
175181

0 commit comments

Comments
 (0)