Ensuring compliance of Azure Hybrid Benefit for SQL Server virtual machines and database services
Introduction
This feature is available starting with the version 1.16.5 of the Azure Hybrid Benefit extension.
Matrix42 Enterprise Service Management allows you to keep track of compliance regarding the usage of Azure Hybrid Benefits licenses for SQL Server virtual machines and database services.
The Azure Hybrid Benefit Inventory – Database Services data provider imports SQL servers, SQL managed instances, SQL elastic pools, and SQL databases while the Azure Hybrid Benefit Inventory – Virtual Machines data provider imports virtual machines. The system then determines the number of vCores that use Azure Hybrid Benefits.
On the other hand, the system also calculates the number of vCores from SQL licenses that are available for Azure Hybrid Benefits. These are the licenses for the following software products:
- Microsoft Corporation SQL Server Enterprise, Non-specific.
- Microsoft Corporation SQL Server Standard, Non-specific.
The Azure Hybrid Benefit add-on works correctly and ensures compliance only for software products and license models that come from and are managed by License Intelligence Service (LIS). If you manage your software products without LIS, the add-on will not take into account such data.
Calculations
Data from the Azure portal
The Matrix42 Enterprise Service Management system retrieves the following data from the Azure portal: Azure SQL resources and their amounts of vCores.
Calculating the required amounts of cores supplied by licenses for correct entitlement
Depending on the Azure SQL database configuration and its pricing tier, the system determines how many license cores are required for entitlement. ESM entitles Azure database resources with usage rights following the order given in the table below.
Azure Data Service | Tier | Azure vCores | License cores | Qualified License |
---|---|---|---|---|
Azure SQL Database (Managed Instance, Elastic Pool and Single Database) | Business Critical Tier | 4 vCores | 1 core | SQL Server Enterprise |
Azure SQL Database (Managed Instance, Elastic Pool and Single Database) | General Purpose Tier | 1 vCore | 1 core | SQL Server Enterprise |
Azure SQL Database (Managed Instance and Single Database) | Hyperscale Tier | 4 vCores | 1 core | SQL Server Enterprise |
SQL Server Enterprise Virtual Machines | 1 vCore (counting minimum 4 cores per VM) | 1 core | SQL Server Enterprise | |
SQL Server Standard Virtual Machines | 4 vCores (counting minimum 4 cores per VM) | 1 core | SQL Server Enterprise | |
Azure SQL Database (Managed Instance, Elastic Pool and Single Database) | Business Critical Tier | 1 vCore | 4 cores | SQL Server Standard |
Azure SQL Database (Managed Instance, Elastic Pool and Single Database) | General Purpose Tier | 1 vCore | 1 core | SQL Server Standard |
Azure SQL Database (Managed Instance and Single Database) | Hyperscale Tier | 1 vCore | 1 core | SQL Server Standard |
SQL Server Enterprise Virtual Machines | 1 vCore (counting minimum 4 cores per VM) | 4 cores | SQL Server Standard | |
SQL Server Standard Virtual Machines | 1 vCore (counting minimum 4 cores per VM) | 1 core | SQL Server Standard |
According to terms, a minimum of four cores needs be be counted for Azure Hybrid Benefit for SQL Server virtual machines. Therefore, if an instance uses less than four cores, four cores need to be covered by a license. Consider the following examples:
- VM has 3 cores – 4 cores are allocated by a license.
- VM has 6 core – 6 cores are allocated by a license.
You can see the amount of virtual cores that need to be entitled for a VM in the vCores column in the Virtual Machines grid on preview of the SQL Server object.
Determination of compliance can be simplified using the normalized cores. Here you need to understand one rule: One SQL Server Enterprise Edition license has the same coverage as four SQL Server Standard Edition licenses, across all qualified Azure SQL resource types.
The table below displays how many normalized cores (NCs) you need to cover the cost of different resource types.
Azure Data Service | Tier | Required Number of Normalized Cores |
---|---|---|
SQL Managed Instance or Instance pool | Business Critical Tier | 4 per vCore |
SQL Managed Instance or Instance pool | General Purpose Tier | 1 per vCore |
SQL Database or Elastic pool | Business Critical Tier | 4 per vCore |
SQL Database or Elastic pool | General Purpose Tier | 1 per vCore |
SQL Database or Elastic pool | Hyperscale | 1 per vCore |
SQL Server Virtual Machines | Enterprise | 4 per vCPU |
SQL Server Virtual Machines | Standard | 1 per vCPU |
The following table shows how many normalized cores provide the relevant licenses with Software Assurance.
License under active SA | Number of Normalized Cores |
---|---|
SQL Server Enterprise | 4 per vCore/vCPU |
SQL Server Standard | 1 per vCore/vCPU |
Checking the Azure Hybrid Benefit compliance
You can check the compliance status on the preview of the SQL server object located under Purchased Licenses > Azure Hybrid Benefit in the Licenses application.
In the Virtual Machines and Database Services grids you can see all available SQL resources from Azure as well as whether the Azure Hybrid Benefit feature is enabled for them and if so, when it was enabled.