From f5270c76a5d6aea7830a45572d6a60e9c9972324 Mon Sep 17 00:00:00 2001 From: staleycyn <45440075+staleycyn@users.noreply.github.com> Date: Tue, 3 May 2022 06:59:44 -0700 Subject: [PATCH] Update LAB_08-Manage_Virtual_Machines.md --- Instructions/Labs/LAB_08-Manage_Virtual_Machines.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Instructions/Labs/LAB_08-Manage_Virtual_Machines.md b/Instructions/Labs/LAB_08-Manage_Virtual_Machines.md index 6519b149..22b70bbb 100644 --- a/Instructions/Labs/LAB_08-Manage_Virtual_Machines.md +++ b/Instructions/Labs/LAB_08-Manage_Virtual_Machines.md @@ -129,6 +129,13 @@ In this task, you will deploy Azure virtual machines into different availability >**Note**: Wait for both deployments to complete before you proceed to the next task. This might take about 5 minutes. + >**Note**: If you got an error stating the VM size is not available please consult your instructor and try these steps. + > 1. Click on the `{}` button in your CloudShell, select the **az104-08-vms-loop-parameters.json** from the left hand side bar and take a note of the `vmSize` parameter value. + > 1. Check the location in which the 'az104-04-rg1' resource group is deployed. You can run `az group show -n az104-04-rg1 --query location` in your CloudShell to get it. + > 1. Run `az vm list-skus --location -o table --query "[? contains(name,'Standard_D2s')].name"` in your CloudShell. + > 1. Replace the value of `vmSize` parameter with one of the values returned by the command you just run. + > 1. Now redeploy your templates by running the `New-AzResourceGroupDeployment` command again. You can press the up button a few times which would bring the last executed command. + #### Task 2: Configure Azure virtual machines by using virtual machine extensions In this task, you will install Windows Server Web Server role on the two Azure virtual machines you deployed in the previous task by using the Custom Script virtual machine extension.