Certifications / Microsoft

How to Choose the Best Virtual Machine For Your Workload in Azure

How to Choose the Best Virtual Machine For Your Workload in Azure picture: A
Published on April 14, 2022

Choosing a virtual machine type in Azure is far easier than other cloud computing providers. Azure's VM packages are more streamlined and condensed than other providers. That makes the decision-making process much easier when you need to sell your business soul to the IT techs in the sky.

Nonetheless, choosing a VM instance in Azure still requires some thought. For example, it is easy to over-provision services, and at the same time, under-provisioning resources can cause strange issues during testing and application installation.

So, today we will walk through the alphabet soup that is Azure VMs. First, we'll go over a high-level explanation of typical workloads and which Azure VM instance you should use. For reference, you can read more about the different types of VMs Azure offers, as well as example workloads for each VM type, in the Azure help area.

Which Azure VM should be used for Workloads?

Azure VMs can vary widely with what kind of hardware and performance they offer. As a result, choosing an Azure VM can be difficult, but we are here to help!

We understand that sometimes you are short on time and need an answer. So, here is the tl;dr version answering which Azure VM you should use:

VM Type

Use Case


Tiny web servers (blogs, low-traffic, low processing), testing and development, small to medium databases, proof-of-concept, or MVP app staging


Tiny web servers (blogs, low-traffic, low processing), testing and development, small to medium databases, proof-of-concept, or MVP app staging


CRM systems, more extensive databases, web-servers with medium web traffic, small production apps, desktop virtualization, e-commerce applications, enterprise-level applications


SAP Hana, Netweaver, large databases, data warehousing, BI apps, analytical apps, apps that perform heavy processing like financial or weather apps, apps that require heavy in-memory use


Web servers, game servers, analytics servers, apps that require more processing time


Large databases, ERP solutions, SAP apps, data warehousing, apps that require lots of memory


Used for high-performance applications,Quoted from Azure: Fluid dynamics, finite element analysis, seismic processing, reservoir simulation, risk analysis, electronic design automation, rendering, Spark, weather modeling, quantum simulation, computational chemistry, heat transfer simulation


High-performance databases, applications that require high throughput to storage


High-performance databases, SAP HANA, massive parallel computing, Large in-memory applications like Redis or Hekaton


Large in-memory applications like Redis or Hekaton


Anything that requires a GPU (Desktop game VM, AI, machine learning, etc…)

Okay. So, which Azure VM should be used for my workload?

Choosing an Azure VM class might seem daunting at first, but once you break down what each Azure VM tier offers, choosing a VM instance is easy. So, let's get started!

First, let's separate Azure VMs by age. One of the biggest differences between Azure VM tiers is how old the hardware is used for those tiers. The A, B, D, and G series VMs use older hardware like Ice Lake and Broadwell CPUs. The E, F, H, L, M, and N series utilize newer Intel Scalable Xeon and AMD Epyc CPUs.

Each VM class also has different types of memory and storage too. The A, B, D, and G Azure VM instances will have slower memory with slower mechanical or SSD storage drives. On the other hand, the E, F, H, L, and M Azure VM instances will have faster memory and NVME drives.

The Azure N class VM instance is in a league of its own. This Azure VM class is the only one that includes GPUs. It should be noted that the Azure N VM instances use Nvidia Tesla GPUs, so they do not have access to a dedicated graphics processor. Therefore, if you want to create your own cloud gaming service or need GPU acceleration for ML applications, you need the Azure N VM class. Full stop.

The Azure A VMs and B instances are largely similar. Microsoft intends to retire the A-series tier in August of 2024, though. So if you are debating between the A-series and B series, choose the Azure B-series instances. That will save you time down the road.

With that said, the B-series and D-series Azure instances are primarily the same except for scale. The D-series VMs include more memory, vCPU cores, and storage space.

The B-series VMs are better for small WordPress websites, development and testing websites, or tiny and personal applications.

The D-series instances are best suited for small e-commerce apps like WooCommerce, enterprise-grade hosted apps, CRM apps, etc. They can also be used for medium-sized databases or desktop virtualization.

The E-series Azure VMs are like the D-series VMs but use newer hardware. It's better to use the E-series VM instances if your application requires a higher IPC or you need higher memory throughput. Because the D-series instances use an older Xeon architecture, they will be retired first, too.

The F-series Azure instances are like the D-series instances, except they have a higher CPU-to-memory ratio while the D-series instances are more balanced. The F-series VMs are meant for highly computational workloads. If you need to do a lot of number crunching, a D-series VM is the way to go.

The H-series instances are pumped-up versions of the F-series VMs. They feature even faster memory throughput and more processing capability. If you need tons of computational power for lots of apps or a large app, the H-series instances are what you need.

The L series Azure instances are best when you need high performance in a large instance but with much faster storage IO. The L-series VMs include directly mapped NVMe storage. This tier is the fastest data storage tier that Azure offers. This is the tier for you Chia crypto folks.

Finally, we have the M and Mv2 series. These Azure VMs are meant for large applications that require a lot of in-memory space. For example, if you need a large Redis server for your large, high-speed database, you need an M-series VM. If you have a large organization and use apps like SAP HANA or Hekaton, the M-series Azure VMs are for you, too.

And there you have it! That is every Azure VM series explained.

Send me CBT Nuggets IT training news and resources. (Optional)

By submitting this form you agree that you have read, understood, and are able to consent to our privacy policy.

Don't miss out!Get great content
delivered to your inbox.

By submitting this form you agree that you have read, understood, and are able to consent to our privacy policy.

Recommended Articles

Get CBT Nuggets IT training news and resources

I have read and understood the privacy policy and am able to consent to it.

© 2023 CBT Nuggets. All rights reserved.Terms | Privacy Policy | Accessibility | Sitemap | 2850 Crescent Avenue, Eugene, OR 97408 | 541-284-5522