mirror of
https://github.com/MicrosoftLearning/AZ-104-MicrosoftAzureAdministrator.git
synced 2026-02-09 02:17:04 +00:00
Update LAB_08-Manage_Virtual_Machines.md
This commit is contained in:
parent
a18c01a443
commit
6fd633c7b6
@ -8,7 +8,7 @@ lab:
|
|||||||
|
|
||||||
## Lab introduction
|
## Lab introduction
|
||||||
|
|
||||||
In this lab, you create and compare virtual machines to virtual machine scale sets. You learn how to creeate, configure and resize a single virtual machine. You learn how create a virtual machine scale set and configure autoscaling.
|
In this lab, you create and compare virtual machines to virtual machine scale sets. You learn how to create, configure and resize a single virtual machine. You learn how create a virtual machine scale set and configure autoscaling.
|
||||||
|
|
||||||
This lab requires an Azure subscription. Your subscription type may affect the availability of features in this lab. You may change the region, but the steps are written using **East US**.
|
This lab requires an Azure subscription. Your subscription type may affect the availability of features in this lab. You may change the region, but the steps are written using **East US**.
|
||||||
|
|
||||||
@ -135,7 +135,7 @@ In this task, you will scale a virtual machine by adjusting its size to a differ
|
|||||||
|
|
||||||
1. Click **Apply**.
|
1. Click **Apply**.
|
||||||
|
|
||||||
1. After the disk has been created, click **Detach** (if necessary scroll to the right to view the detach icon), and then click **Apply**.
|
1. After the disk has been created, click **Detach** (if necessary, scroll to the right to view the detach icon), and then click **Apply**.
|
||||||
|
|
||||||
>**Note**: Detaching removes the disk from the VM, but keeps it in storage for later use..
|
>**Note**: Detaching removes the disk from the VM, but keeps it in storage for later use..
|
||||||
|
|
||||||
@ -314,7 +314,7 @@ In this task, you scale the virtual machine scale set using a custom scale rule.
|
|||||||
|
|
||||||
### Set the instance limits
|
### Set the instance limits
|
||||||
|
|
||||||
1. When your autoscale rules are applied, instance limits make sure that you do not scale out beyond the maximum number of instances, or scale in beyond the minimum number of instances.
|
1. When your autoscale rules are applied, instance limits make sure that you do not scale out beyond the maximum number of instances or scale in beyond the minimum number of instances.
|
||||||
|
|
||||||
1. **Instance limits** are shown on the **Scaling** page after the rules.
|
1. **Instance limits** are shown on the **Scaling** page after the rules.
|
||||||
|
|
||||||
@ -334,7 +334,7 @@ In this task, you scale the virtual machine scale set using a custom scale rule.
|
|||||||
|
|
||||||
1. Use the icon (top right) to launch a **Cloud Shell** session. Alternately, navigate directly to `https://shell.azure.com`.
|
1. Use the icon (top right) to launch a **Cloud Shell** session. Alternately, navigate directly to `https://shell.azure.com`.
|
||||||
|
|
||||||
1. Be sure to select **PowerShell**. If necessary use the **Show advanced settings** and configure the shell storage.
|
1. Be sure to select **PowerShell**. If necessary, use the **Show advanced settings** and configure the shell storage.
|
||||||
|
|
||||||
1. Run the following command to create a virtual machine. When prompted, provide a username and password for the VM. While you wait check out the [New-AzVM](https://learn.microsoft.com/powershell/module/az.compute/new-azvm?view=azps-11.1.0) command reference for all the parameters associated with creating a virtual machine.
|
1. Run the following command to create a virtual machine. When prompted, provide a username and password for the VM. While you wait check out the [New-AzVM](https://learn.microsoft.com/powershell/module/az.compute/new-azvm?view=azps-11.1.0) command reference for all the parameters associated with creating a virtual machine.
|
||||||
|
|
||||||
@ -375,7 +375,7 @@ In this task, you scale the virtual machine scale set using a custom scale rule.
|
|||||||
|
|
||||||
1. Use the icon (top right) to launch a **Cloud Shell** session. Alternately, navigate directly to `https://shell.azure.com`.
|
1. Use the icon (top right) to launch a **Cloud Shell** session. Alternately, navigate directly to `https://shell.azure.com`.
|
||||||
|
|
||||||
1. Be sure to select **Bash**. If necessary use the **Show advanced settings** and configure the shell storage.
|
1. Be sure to select **Bash**. If necessary, use the **Show advanced settings** and configure the shell storage.
|
||||||
|
|
||||||
1. Run the following command to create a virtual machine. When prompted, provide a username and password for the VM. While you wait check out the [az vm create](https://learn.microsoft.com/cli/azure/vm?view=azure-cli-latest#az-vm-create) command reference for all the parameters associated with creating a virtual machine.
|
1. Run the following command to create a virtual machine. When prompted, provide a username and password for the VM. While you wait check out the [az vm create](https://learn.microsoft.com/cli/azure/vm?view=azure-cli-latest#az-vm-create) command reference for all the parameters associated with creating a virtual machine.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user