1 00:00:00,740 --> 00:00:03,840 Azure VM sizes and storage. 2 00:00:03,840 --> 00:00:06,030 Now, before the days of virtualization, 3 00:00:06,030 --> 00:00:10,180 it could be quite a pain to upgrade hardware on your hardware hosts. 4 00:00:10,180 --> 00:00:13,450 And frankly, I know even in 2022 that can be a pain, 5 00:00:13,450 --> 00:00:16,820 but virtualization helps because we can go through the pains of 6 00:00:16,820 --> 00:00:19,340 hardware upgrade once on our Hyper‑V host, 7 00:00:19,340 --> 00:00:23,440 and then adjust the CPU storage, network, 8 00:00:23,440 --> 00:00:26,300 and memory on those VMs pretty dynamically. 9 00:00:26,300 --> 00:00:30,190 Well, we can do the same thing in Azure, but it operates a bit differently. 10 00:00:30,190 --> 00:00:34,540 The Azure VM image library is actually sized, 11 00:00:34,540 --> 00:00:35,060 that is, 12 00:00:35,060 --> 00:00:39,900 we have different balances between CPU memory and then other 13 00:00:39,900 --> 00:00:44,010 properties that come into Azure VM sizes are the maximum 14 00:00:44,010 --> 00:00:48,770 number of data disks you can have, the input‑output operations per second, 15 00:00:48,770 --> 00:00:52,910 whether you can do premium storage, what kind of temp storage you have, 16 00:00:52,910 --> 00:00:55,540 how much solid‑state temp storage you get, 17 00:00:55,540 --> 00:00:59,940 whether or not the Azure VM can support features like nested virtualization. 18 00:00:59,940 --> 00:01:02,940 These are all rolled into Azure VM sizes. 19 00:01:02,940 --> 00:01:06,840 And there's also a relative performance metric that Microsoft uses 20 00:01:06,840 --> 00:01:10,010 for VMs in Azure called the Azure Compute Unit. 21 00:01:10,010 --> 00:01:13,580 You can check the exercise files if you want to read more details on it, 22 00:01:13,580 --> 00:01:14,170 but, of course, 23 00:01:14,170 --> 00:01:18,160 we're never going to get within miles or kilometers of an Azure data center, 24 00:01:18,160 --> 00:01:21,040 and you're not going to know exactly from VM to VM, 25 00:01:21,040 --> 00:01:23,740 what the host's hardware configuration is. 26 00:01:23,740 --> 00:01:29,060 So to counteract that, Microsoft has a series of standardized measurement units. 27 00:01:29,060 --> 00:01:31,710 And again, the one that's used with VMs is ACU. 28 00:01:31,710 --> 00:01:36,620 The more ACUs, the more expensive per minute it will cost to run that Azure VM, 29 00:01:36,620 --> 00:01:38,180 but you'll get more performance. 30 00:01:38,180 --> 00:01:41,370 The Azure VM sizes are divided into types, 31 00:01:41,370 --> 00:01:45,940 and these all represent different balancings between vCPU, 32 00:01:45,940 --> 00:01:47,140 RAM, and so on. 33 00:01:47,140 --> 00:01:51,080 General‑purpose is truly balanced between CPU and memory, 34 00:01:51,080 --> 00:01:55,280 compute is skewed towards processor, memory is skewed towards memory, 35 00:01:55,280 --> 00:01:59,140 there's storage optimized for data‑intensive workloads, 36 00:01:59,140 --> 00:02:03,010 graphical processor unit weighted sizes for if you're doing 37 00:02:03,010 --> 00:02:05,030 video rendering and that kind of stuff, 38 00:02:05,030 --> 00:02:08,750 and there's a high‑performance compute for super high speed, 39 00:02:08,750 --> 00:02:10,350 high priority processing. 40 00:02:10,350 --> 00:02:13,870 You'll also see that these Azure VM sizes are versioned. 41 00:02:13,870 --> 00:02:17,760 For instance, they're denoted in a special syntax like DSv2, 42 00:02:17,760 --> 00:02:22,040 DSv3, and as you can expect, the higher the version number, 43 00:02:22,040 --> 00:02:23,160 the more features. 44 00:02:23,160 --> 00:02:28,170 V3 is a pretty good cut‑off to indicate nested virtualization support, 45 00:02:28,170 --> 00:02:30,550 but as always, you'll want to consult the docs. 46 00:02:30,550 --> 00:02:35,360 The B series are burstable, the 2 means 2 processor cores, 47 00:02:35,360 --> 00:02:37,320 m means memory‑optimized. 48 00:02:37,320 --> 00:02:43,580 So there is a logic or a rubric behind how Microsoft chooses these VM names. 49 00:02:43,580 --> 00:02:47,820 Basically, it's family, sub‑family, the number of vCPUs, 50 00:02:47,820 --> 00:02:50,040 special features, and then version. 51 00:02:50,040 --> 00:02:53,530 Microsoft has an entire Docs article on describing 52 00:02:53,530 --> 00:02:55,380 how they name their Azure VMs. 53 00:02:55,380 --> 00:02:58,260 I would suggest that you look at the exercise files, 54 00:02:58,260 --> 00:03:00,430 not necessarily for exam purposes, 55 00:03:00,430 --> 00:03:10,000 because you don't have to memorize these details for your exam, but you do definitely need to understand how to change and Azure VM size.