Virtual Machine Sizes

Virtual Machines are highly flexible such that they can be scaled to the size and performance based on the requirement of the user. The resources which we actually require can be decided by us and then the user can be able to scale the Virtual Machine up or down.

When making changes to the Virtual Machine size, the cost that is charged for the Virtual Machine will also vary. Here, the size of the Virtual Machine will include the number of cores, the Random-Access Memory, number of data disks, the IOPS range, SSD size, load balancing feature and premium disk support. The features will vary in between different Virtual Machine sizes based on their specifications and capabilities. There are different sizes and each of these different sizes has its own features & functionalities and cost. The cost of the Virtual Machine is actually decided by the size of the Virtual Machine and the features that Virtual Machine actually has.

The size of the Virtual Machines can be broadly classified into three different types namely General Purpose, Compute Optimized, Memory Optimized, Storage Optimized, GPU, High-Performance Compute. Now, let us try understanding all these at a little deeper level and then jump into the concept if changing the size of the Virtual Machine. The disk can actually be classified into SSD and HDD. 


An SSD does functionally everything a hard drive does, but the data is instead stored on interconnected flash memory chips that retain the data even when there's no power present. The chips can either be permanently installed on the system's motherboard (as on some small laptops and ultraportable), on a PCI Express (PCIe) card (in some high-end workstations and an increasing number of bleeding-edge consumer systems), or in a box that's sized, shaped, and wired to slot in for a laptop or desktop's hard drive (common on everything else). These flash memory chips are of a different type than is used in USB thumb drives, and are typically faster and more reliable. SSDs are consequently more expensive than USB thumb drives of the same capacities.


A hard disk drive (HDD), hard disk, hard drive or fixed disk is a data storage device that uses magnetic storage to store and retrieve digital information using one or more rigid rapidly rotating disks (platters) coated with magnetic material. These are the same hard disks which we actually use in our machines. 

General Purpose

Under the General-Purpose type of Virtual Machines, we can find the different models sizes like Dsv3, Dv3, DSv2, Dv2, DS, D, Av2, A0-7.  These machines are balanced CPU-to-memory ratio and are ideal for testing and development, small to medium databases, and low to medium traffic web servers.

Computing Optimized

Under this type we have Fs, F and these machines have High CPU-to-memory ratio. Good for medium traffic web servers, network appliances, batch processes, and application servers.

Memory optimized

Under the memory optimized, we have the following sizes of Virtual Machines namely:

Esv3, Ev3, M, GS, G, DSv2, DS, Dv2, D and these machines have a high memory-to-CPU ratio. They're great for relational database servers, medium to large caches, and in-memory analytics.

Storage optimized

The storage optimized has only one Virtual Machine size and it is Ls and it has high disk throughput and IO. It's ideal for Big Data, SQL, and NoSQL databases.


The GPU has two different sizes namely NV, NC and they are specialized Virtual Machines targeted for heavy graphic rendering and video editing. Available with single or multiple GPUs.

High Performance Compute

They have two sizes namely H, A8-11. They are the fastest and most powerful CPU Virtual Machines with optional high-throughput network interfaces (RDMA).


The cores are the total number of processors that are actually going to be found in a VM. The more the number of cores, the more the processing speed will be.

Data Disks

The data disks are the number of storage disks that will be given to the Virtual Machine. By default, there will a temporary data disk. The data in this will be deleted each every time when the Virtual Machine is restarted. These can be considered as the partitional disks in the machine.


The IOPS are abbreviated as Input Output Operations Per Second. The more the number of IOPS, the faster the instructions will be processed. 

Premium Disk

The premium disk is faster than the normal disks. They actually have the ability to process and store the data faster than normal disks. 

Different Sizes

The size of the machine will vary with different features and the cost will be depending on the size of the machine that we actually choose. Below are the different sizes which we can find under the SSD.

Virtual Machine Scale Set

Same way for the HDD, the size of the Virtual Machine and their features will actually differ. The below images are the different sizes with some higher costs for Virtual Machines with the HDD.

Virtual Machine Scale Set

 Virtual Machine Scale Set

Scaling Up the Virtual Machine

Hope you have got an idea about the different sizes and cost of the Virtual Machines. Now let us end this by seeing the method of changing the size of the Virtual Machine. For that, you should have already created a Virtual Machine. When you actually change the size of your Virtual Machine, it actually reconfigures and hence it will take some time to restart and process with the new resources.

Now, go into the Azure portal and click on the Virtual Machine that you have created. Then, in the left side menu, find something called Size. 

Virtual Machine Scale Set

When you click on that you will be shown the different sizes that are actually available. Choose one appropriate size that you actually need and then click on the Select button. This will now actually reconfigure your Virtual Machine and reset it with the new resources by restarting it. 

Virtual Machine Scale Set

This is how we can scale set the size of our Virtual Machine based on the requirement that we actually have. We can scale down the size if we actually don’t need the allocated resources and some unwanted time. All these are possible with the help of this flexible scale set feature of the Virtual Machine.

Similar Articles