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
Follow us
Published on October 24, 2024

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, making 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 overprovision services, and underprovisioning resources can cause strange issues during testing and application installation.

Today, we'll 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 and example workloads for each VM type in the Azure help area.

Which Azure VM Should be Used For Workloads?

Azure VMs can vary widely in terms of hardware and performance. 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

A-Series

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

Bs-Series

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

D-Series

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

E-Series

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

F-Series

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

G-Series

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

H-Series

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

Ls-Series

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

M-Series

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

Mv2-Series

Large in-memory applications like Redis or Hekaton

N-Series

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!

Let's Separate Azure VMs by Age

One of the biggest differences between Azure VM tiers is the age of the hardware 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.

Azure VM Memory and Storage Options 

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.

Final Thoughts 

Choosing the right Azure VM can be overwhelming if you aren't familiar with the different types. Once you understand the specific features and capabilities of each VM series, the process becomes much more straightforward.

By considering factors like processing power, memory needs, and storage performance, you can make informed decisions that help you balance cost and performance. As Azure continues to evolve, selecting the right VM will remain an essential step in improving efficiency.  Want to learn more about Azure VM? Check out our Azure Virtual Machines Online Training


Download

By submitting this form you agree to receive marketing emails from CBT Nuggets and 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 to receive marketing emails from CBT Nuggets and 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.

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