Back to Blog

How to Optimise Azure VM Performance

How to Optimise Azure VM Performance

Azure virtual machines are the workhorses of cloud infrastructure for thousands of UK businesses. Whether you are running line-of-business applications, database servers, development environments, or web hosting platforms, the performance of your Azure VMs directly impacts user experience, operational efficiency, and ultimately your bottom line. Yet many organisations deploy VMs with default configurations and never revisit them — leaving significant performance gains and cost savings unrealised.

Optimising Azure VM performance is not a one-time task but an ongoing discipline. Workload patterns change, Azure introduces new VM families and features, application requirements evolve, and cost optimisation pressures intensify. UK businesses that treat VM optimisation as a regular operational practice consistently achieve better performance at lower cost than those who set and forget their cloud infrastructure.

This guide covers the key strategies for optimising Azure VM performance across compute, storage, networking, and cost dimensions — practical techniques that your IT team or managed cloud provider can implement to deliver measurable improvements.

35%
of Azure VMs are oversized for their actual workload according to Microsoft
£14,000
average annual savings from right-sizing Azure VMs for a typical UK SME
72%
performance improvement possible by switching to appropriate VM families
40%
cost reduction achievable through Reserved Instances vs pay-as-you-go

Understanding Azure VM Families and Sizing

The foundation of VM performance optimisation is selecting the right VM family and size for your workload. Azure offers dozens of VM series, each designed for specific workload characteristics. Choosing the wrong series is like buying a sports car to deliver heavy freight — expensive, uncomfortable, and fundamentally the wrong tool for the job.

The most commonly used series for UK business workloads are the B-series (burstable, ideal for workloads with variable CPU usage like development servers and small web applications), D-series (general purpose, balanced CPU-to-memory ratio suitable for most business applications), E-series (memory optimised, ideal for database servers and in-memory caching), and F-series (compute optimised, suitable for batch processing and high-performance computing tasks).

Within each series, sizes range from small single-vCPU instances to massive configurations with hundreds of vCPUs and terabytes of memory. The key is matching the size to your actual workload requirements rather than your perceived requirements. Many UK businesses deploy D4s_v5 instances (4 vCPUs, 16 GB RAM) for workloads that would run perfectly well on a B2ms (2 vCPUs, 8 GB RAM) — doubling their compute costs unnecessarily.

VM Series Optimised For Typical UK Business Use Cases vCPU:RAM Ratio Relative Cost
B-series Burstable workloads Dev/test, small web apps, micro-services 1:4 £
D-series v5 General purpose Business apps, mid-tier databases, web servers 1:4 ££
E-series v5 Memory intensive SQL Server, SAP, in-memory analytics 1:8 £££
F-series v2 Compute intensive Batch processing, gaming servers, modelling 1:2 ££
L-series v2 Storage intensive Large databases, data warehousing, log analytics 1:8 £££

Right-Sizing Your VMs

Right-sizing is the process of analysing actual resource utilisation and adjusting VM configurations to match real workload demands. It is the single most impactful optimisation you can perform, often delivering 20 to 40 per cent cost savings with no negative impact on performance.

Azure provides built-in tools for right-sizing analysis. Azure Advisor automatically reviews your VM utilisation metrics and recommends resizing when it detects consistently underutilised resources. Azure Monitor collects detailed performance metrics — CPU utilisation, memory usage, disk IOPS, and network throughput — that allow you to understand actual workload demands over time.

When analysing utilisation, look at patterns over at least 30 days rather than snapshots. A VM that averages 15% CPU utilisation might spike to 80% during month-end processing, and right-sizing based only on the average would create performance problems when it matters most. Conversely, a VM that consistently runs below 20% CPU and 40% memory utilisation is almost certainly oversized and should be downsized.

Right-Sizing Methodology

Follow this systematic approach: First, enable Azure Monitor and diagnostic settings on all VMs. Allow at least 30 days of data collection. Then review CPU, memory, disk, and network utilisation using Azure Monitor workbooks or third-party tools. Identify VMs with peak utilisation consistently below 40% of provisioned capacity. Calculate the smallest VM size that accommodates peak workload with a 20% headroom buffer. Schedule the resize during a maintenance window, as most resizes require a brief restart. Verify performance after the change and adjust if needed.

Storage Performance Optimisation

Storage is frequently the performance bottleneck for Azure VMs, yet it is the most commonly overlooked optimisation area. The difference between Standard HDD, Standard SSD, Premium SSD, and Ultra Disk storage tiers is dramatic in terms of both IOPS (input/output operations per second) and latency — and selecting the right tier for each workload can transform application performance.

For database servers — particularly SQL Server instances, which are common in UK business environments — Premium SSD or Ultra Disk storage is essential. The latency difference between Standard SSD (typically 5-10ms) and Premium SSD (typically 1-2ms) can translate to significant improvements in query response times and transaction throughput. For application servers that primarily perform sequential reads, Standard SSD is usually sufficient and considerably cheaper.

Consider separating your OS disk, application disks, and data disks onto different storage tiers matched to their performance requirements. For example, a SQL Server VM might use a Standard SSD for the OS, a Premium SSD for the database data files, and an Ultra Disk for the transaction log files where write latency is most critical.

Ultra Disk (Max IOPS)
160,000
Premium SSD v2
80,000
Premium SSD v1
20,000
Standard SSD
6,000
Standard HDD
500

Network Performance Tuning

Network performance affects every VM that communicates with other services — which is virtually all of them. Azure provides several features for optimising network throughput and latency that many UK businesses do not take advantage of.

Accelerated Networking bypasses the Azure host's software-defined network stack and uses SR-IOV (single root I/O virtualisation) to provide near-bare-metal network performance to your VM. It reduces latency, reduces jitter, and increases throughput — and is available at no additional cost on supported VM sizes. If your VMs support it, there is almost no reason not to enable it.

Proximity Placement Groups ensure that VMs that communicate frequently are placed as close together as possible within the Azure data centre, minimising network latency between them. This is particularly important for multi-tier applications where a web server communicates with an application server which in turn communicates with a database server. Placing all three in the same proximity placement group can reduce inter-tier latency from several milliseconds to sub-millisecond levels.

For UK businesses, choosing the correct Azure region is also important. The UK South (London) and UK West (Cardiff) regions provide the lowest latency for users and systems based in the United Kingdom. Deploying VMs in these regions rather than in Western Europe or North Europe can reduce network round-trip times by 10 to 30 milliseconds — a meaningful improvement for latency-sensitive applications.

UK businesses using Accelerated Networking38%
VMs deployed in UK Azure regions62%
Using Proximity Placement Groups18%
Right-sized VMs based on utilisation data29%

Cost Optimisation Without Sacrificing Performance

Performance optimisation and cost optimisation are not opposing forces — in fact, they often go hand in hand. A right-sized VM that matches its workload runs better and costs less than an oversized VM that wastes resources. Beyond right-sizing, several Azure features can significantly reduce costs.

Azure Reserved Instances offer discounts of up to 40% (one-year term) or 60% (three-year term) compared to pay-as-you-go pricing in exchange for committing to a specific VM size and region. For VMs that run continuously — production application servers, database servers, domain controllers — reserved instances are almost always the right choice. Azure Hybrid Benefit allows UK businesses with existing Windows Server or SQL Server licences (acquired through Volume Licensing or Software Assurance) to apply those licences to Azure VMs, saving up to 85% on Windows VM costs.

For non-production workloads — development environments, testing servers, batch processing — consider Azure Spot VMs, which offer discounts of up to 90% by using spare Azure capacity. Spot VMs can be evicted when Azure needs the capacity back, so they are unsuitable for production workloads, but for interruptible tasks they represent extraordinary value.

Quick Performance Wins

  • Enable Accelerated Networking on all supported VMs
  • Switch database VMs to Premium SSD storage
  • Right-size based on 30-day utilisation data
  • Use Proximity Placement Groups for multi-tier apps
  • Deploy to UK South or UK West regions
  • Enable VM diagnostics and Azure Monitor
  • Configure auto-shutdown for dev/test VMs
  • Review and apply Azure Advisor recommendations

Common Performance Mistakes

  • Using Standard HDD for database workloads
  • Deploying all VMs at the same oversized spec
  • Ignoring Azure Advisor recommendations
  • Running dev/test VMs 24/7 unnecessarily
  • Not using Reserved Instances for stable workloads
  • Placing communicating VMs in different regions
  • Never reviewing utilisation after initial deployment
  • Using general-purpose VMs for memory-intensive workloads

Monitoring and Continuous Optimisation

Optimisation is not a project with a finish date — it is an ongoing operational practice. Establish regular review cadences: weekly checks of Azure Advisor recommendations, monthly utilisation reviews to identify right-sizing opportunities, and quarterly architectural reviews to assess whether workloads would benefit from migration to different Azure services (for example, moving a SQL Server VM to Azure SQL Database, or containerising a web application into Azure Container Apps).

Azure Monitor, combined with Application Insights for web applications, provides the telemetry you need to understand performance trends, identify bottlenecks, and validate the impact of optimisation changes. Set up alerts for key performance thresholds — CPU above 85% sustained, memory above 90%, disk queue length above 2 — to catch emerging problems before they affect users.

Optimise Your Azure Environment

Cloudswitched provides expert Azure cloud management for UK businesses, including VM performance optimisation, cost management, and ongoing monitoring. Whether you need a one-off optimisation review or continuous cloud management, our certified Azure engineers can help you get more performance for less cost. Get in touch for a free Azure assessment.

GET IN TOUCH
Tags:Azure VMsPerformanceOptimisation
CloudSwitched
CloudSwitched

Centrally located in London, Shoreditch, we offer a range of IT services and solutions to small/medium sized companies.