Merge pull request #404 from derhoppe/master

Update LAB_06-Implement_Network_Traffic_Management.md
This commit is contained in:
staleycyn 2021-11-09 06:31:05 -08:00 committed by GitHub
commit e7bd65c579
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 17 deletions

View File

@ -49,17 +49,19 @@ In this task, you will deploy four virtual machines into the same Azure region.
1. In the toolbar of the Cloud Shell pane, click the **Upload/Download files** icon, in the drop-down menu, click **Upload** and upload the files **\\Allfiles\\Labs\\06\\az104-06-vms-loop-template.json** and **\\Allfiles\\Labs\\06\\az104-06-vms-loop-parameters.json** into the Cloud Shell home directory.
1. From the Cloud Shell pane, run the following to create the first resource group that will be hosting the lab environment (replace the `[Azure_region]` placeholder with the name of an Azure region where you intend to deploy Azure virtual machines)(you can use the "(Get-AzLocation).Location" cmdlet to get the region list):
1. From the Cloud Shell pane, run the following to create the first resource group that will be hosting the lab environment (replace the '[Azure_region]' placeholder with the name of an Azure region where you intend to deploy Azure virtual machines)(you can use the "(Get-AzLocation).Location" cmdlet to get the region list):
```powershell (execute one command at a time)
$location = '[Azure_region]'
```powershell (execute one command at a time)
$location = '[Azure_region]'
```
```powershell (execute one command at a time)
$rgName = 'az104-06-rg1'
```powershell (execute one command at a time)
$rgName = 'az104-06-rg1'
```
```powershell (execute one command at a time)
New-AzResourceGroup -Name $rgName -Location $location
```
```powershell (execute one command at a time)
New-AzResourceGroup -Name $rgName -Location $location
```
1. From the Cloud Shell pane, run the following to create the three virtual networks and four Azure VMs into them by using the template and parameter files you uploaded:

View File

@ -47,20 +47,23 @@ In this task, you will deploy an Azure virtual machine that you will use later i
1. In the toolbar of the Cloud Shell pane, click the **Upload/Download files** icon, in the drop-down menu, click **Upload** and upload the files **\\Allfiles\\Labs\\07\\az104-07-vm-template.json** and **\\Allfiles\\Labs\\07\\az104-07-vm-parameters.json** into the Cloud Shell home directory.
1. From the Cloud Shell pane, run the following to create the resource group that will be hosting the virtual machine (replace the `[Azure_region]` placeholder with the name of an Azure region where you intend to deploy the Azure virtual machine)
1. From the Cloud Shell pane, run the following to create the resource group that will be hosting the virtual machine (replace the '[Azure_region]' placeholder with the name of an Azure region where you intend to deploy the Azure virtual machine)
>**Note**: To list the names of Azure regions, run `(Get-AzLocation).Location`
>**Note**: Each command below should be typed separately
```powershell
$location = '[Azure_region]'
```powershell
$location = '[Azure_region]'
```
```powershell
$rgName = 'az104-07-rg0'
```powershell
New-AzResourceGroup -Name $rgName -Location $location
```
```powershell
$rgName = 'az104-07-rg0'
```
```powershell
New-AzResourceGroup -Name $rgName -Location $location
```
1. From the Cloud Shell pane, run the following to deploy the virtual machine by using the uploaded template and parameter files:
```powershell