How it works
When you run a Windows VM on Azure at the standard rate, you pay for two things: the infrastructure (compute) and the Windows Server licence. The same goes for SQL Server, on a VM or in PaaS (Azure SQL Database, SQL Managed Instance). Azure Hybrid Benefit (AHB) lets you bring the licences you already own: Azure then bills only the infrastructure, at the rate of a Linux VM.
The conditions
- Windows Server: Datacenter or Standard licences with Software Assurance, or an equivalent subscription. Each VM counts for a minimum number of cores, even if it is smaller.
- SQL Server: Enterprise or Standard licences with Software Assurance, or a SQL Server subscription. In PaaS, licences convert to vCores, with a better ratio for Enterprise edition.
- Linux: a similar mechanism exists for Red Hat Enterprise Linux and SUSE Linux Enterprise, with your existing subscriptions.
The exact rules (core minimums, dual use during a migration, ratios per edition) change over time: check them with your licensing partner before rolling out at scale.
What it saves
On a Windows VM at the OnDemand rate, the licence is roughly 40% of the cost. On SQL Server, especially Enterprise edition, it can exceed the infrastructure cost. Across a few hundred Windows VMs, the stake quickly reaches hundreds of thousands of euros a year.
AHB stacks with reservations and savings plans: the reservation covers compute, AHB removes the licence. With a reservation, the Windows or SQL licence is in fact billed on a separate row of the bill, which makes it easy to spot.
Spotting licences paid in the bill
In the cost details export, a Windows VM without AHB is recognisable by a MeterSubCategory or ProductName containing "Windows". Licences billed separately show up in the Virtual Machines Licenses category. Our free analysis tool does this automatically and quantifies the gain per VM.
The traps
Declaring more than you own
Enabling AHB is a checkbox: nothing technically prevents you from enabling it on more cores than your licences cover. In a licence audit, the gap is expensive. Keep an inventory: cores declared on Azure versus licences available.
Enabling it case by case
Without a rule, teams forget the checkbox and the licence goes back into the Azure rate. Best practice is to build it into standards: images, infrastructure-as-code modules and Azure Policy to flag eligible VMs that are not covered. It is a typical example of FinOps by design.
Forgetting non-prod
Development and test environments may have specific terms (Dev/Test subscriptions, Visual Studio licences). Before assigning production licences to them, check whether a cheaper option exists.
Where to start
List the Windows VMs and SQL Server databases at the standard rate, match them against your licence inventory, enable AHB on the covered scope, then write the rule into your standards. We do this systematically in a FinOps audit, with a figure per resource.