Join Sharon Bennett for an in-depth discussion in this video Create and configure a VM for Windows and Linux, part of Exam Tips: Microsoft Azure Administrator (AZ-103).
- [Instructor] Creating and managing virtual machines are a big part of Azure. And as you can expect, there will be a heavy focus on virtual machines during the exam. And the first thing you'll need to be familiar with is availability sets. Availability sets are a Microsoft best practice, and by configuring your virtual machines in an availability set, you will meet the Microsoft SLA. An availability set will ensure that your virtual machine is distributed across fault and update domains. For the exam, you should be very familiar with fault and update domains and how these machines are spread across them. By using an availability set, this ensures that one instance of your VM is always available during maintenance. Another way to configure high availability is to use availability zones. In this scenario, the virtual machine is spread across separate zones within a single region, and this will protect from a data center failure. There is a maximum of three zones per region and is not available in all regions. If you are unable to select availability zones from your availability options, you will need to change your region. Moving onto virtual machine storage. There are two disk that are provisioned when you create a virtual machine. The first disk is the OS disk and it's registered as a SATA disk and it will be labeled C drive. The maximum capacity for this disk is 2048 gig. The second disk that will be automatically provisioned will be a temp disk and this is used for your page or swap files. It will be labeled D. This disk is temporary, therefore, data may be lost. Microsoft recommends not storing files on this disk. To store files, Microsoft recommends that a data disk be attached to your virtual machine. This data disk is registered as a SCSI disk and depending on the virtual machine size that you have chosen, the maximum capacity ranges from 4095 gig all the way up to a maximum of 32767 gig. There are several types of disks as well that you need to be aware of. First is the standard HD disk, and these are the most cost-effective disks. We also have the standard SD disks. These are recommended for most workloads and workloads not requiring high IOPS. If you do require high IOPS, then you'll need to move into a premium SD disk and these will be used when running an S series virtual machine. In addition, our disks can be managed or unmanaged. An unmanaged disk is in a storage account that needs to be managed by the administrator. The max IOPS for that entire storage account is 20000. Therefore, management of that storage account is critical. Microsoft recommends using TRIM on a standard hard disk to delete unused blocks and this will further reduce spend on those disks. When selecting a managed disk, the storage account is automatically managed for us, and Microsoft recommends using managed disks whenever possible. You'll also need to know how to configure inbound port rules, and this is a somewhat new service. Back in the day, RDP was open by default. Now, by default, no traffic can access the virtual machine until the public inbound ports are selected. You will also need to know how to configure networking because every virtual machine must be associated with a VNet, and the default subnet is automatically assigned. Access can be controlled using a network security group with access control lists. And finally, the inbound ports must be open by default. All inbound internet traffic is blocked. Boot diagnostic and OS guest diagnostics can be enabled to allow us to monitor our virtual machines. In order to capture these logs, a diagnostic storage account is required. For the exam, you'll want to spend time reviewing the options for virtual machine sizes based on performance, as there are several categories for virtual machines, including a general purpose virtual machine, compute optimized, memory optimized virtual machines, storage optimized virtual machines, GPU optimized, and finally, virtual machines for high-performance compute. An alternative to deploying virtual machines is to deploy scale sets. Scale sets contain multiple, identical, load-balanced virtual machines that are managed all as one instance. The instance count can be increased or decreased based on a workload or schedule. An of course, you should be familiar with PowerShell to create a virtual machine, and it's simply new Azure R-M-V-M. You'll provide the resource group name, the name of the VM, the location, the virtual network name the subnet name, security group name, a public IP address name, as well as the ports to be opened. The key points for the exam is know how to create a virtual machine in the portal using PowerShell and the command line interface. Understand the virtual machine storage and disk options. Know and recommend the best virtual machine size based on a performance requirement or scenario. Know when and why to use scale sets and how to configure a scale set.
- Managing Azure subscriptions
- Managing resources and resource groups
- Managing Azure storage
- Implementing backups
- Automating deployment of virtual machines
- Managing virtual machines
- Managing virtual networks
- Implementing load balancing
- Managing Azure Active Directory
- Implementing Azure Multi-Factor Authentication