Skip to main content
Matrix42 Self-Service Help Center

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:

  1. Microsoft Corporation SQL Server Enterprise, Non-specific.
  2. 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.

Which licenses are taken into account

For the compliance of Azure Hybrid Benefit for SQL Server, the system takes into account only licenses that match the following criteria:

  1. The license's software product comes from LIS and is one of the following products with the specified license model:
Software Product ID Software Product Name License Model ID License Model Name
681C6B84-136A-4025-9AFC-46FB1F1F196A Microsoft Corporation SQL Server Enterprise Non-specific 60CB9D08-42D6-E111-A1B9-005056B40823 SQL Enterprise 2012 | Core (Full Virtualization on SA; Mobility on SA)
681C6B84-136A-4025-9AFC-46FB1F1F196A Microsoft Corporation SQL Server Enterprise Non-specific A688F4E6-40D6-E111-A1B9-005056B40823 SQL Enterprise 2012 | Core (SPLA; Full Virtualization; Mobility)
681C6B84-136A-4025-9AFC-46FB1F1F196A Microsoft Corporation SQL Server Enterprise Non-specific FD5E984A-1DCF-4912-A5A0-731E9F82351F SQL Enterprise 2016 | Core (Full Virtualization on SA; Mobility on SA)
945D70C0-FAA5-47D0-A156-9D6ED8501FCA Microsoft Corporation SQL Server Standard Non-specific 3D7A8A8F-0FB1-43F0-AEE0-42FE14D2B91D SQL Standard 2012 | Core (No Virtualization; Mobility on SA)
945D70C0-FAA5-47D0-A156-9D6ED8501FCA Microsoft Corporation SQL Server Standard Non-specific 6C63C5A2-40D6-E111-A1B9-005056B40823 SQL Standard 2012 | Core (No Virtualization; Mobility)
945D70C0-FAA5-47D0-A156-9D6ED8501FCA Microsoft Corporation SQL Server Standard Non-specific D5EBC229-F7E8-41FE-B53E-55471CEC85AA SQL Standard 2012 | Core (SPLA; No Virtualization; Mobility)
945D70C0-FAA5-47D0-A156-9D6ED8501FCA Microsoft Corporation SQL Server Standard Non-specific D3DC944D-0655-43DF-A1DD-22E23A196A69 SQL Standard 2016 | Core (No Virtualization; Mobility on SA)
945D70C0-FAA5-47D0-A156-9D6ED8501FCA Microsoft Corporation SQL Server Standard Non-specific 28A1CE77-41C4-4483-B182-6A5D2BA1E126 SQL Standard 2016 | Core (SPLA; No Virtualization ; Mobility)
  1. License type is either Full Version With Maintenance, Maintenance, Maintenance Renewal, Subscription or Subscription Renewal.
  2. License is not expired.
  3. License is not unlimited.

Using the Assign Licenses action

This action is available for both Windows and SQL Azure Hybrid Benefit objects located under Purchased Licenses > Azure Hybrid Benefit in the Licenses application. You need to use it to indicate that the selected licenses are allocated for Azure Hybrid Benefit compliance.

When you run the Assign Licenses action for the SQL Server object, a wizard opens where you can add licenses that will be used in Azure. Use the Apply Your Changes button to save the values entered.

ManageAzureHBActionSQL.png

After you have used the action once, the wizard will contain two grids: one for adding licenses and another one for removing licenses that should no longer be counted for Azure Hybrid Benefit compliance.

Keep in mind that dual use period for licenses lasts for 180 days. During this period of time the assigned licenses will also be used to entitle on-premise license requirements and you are permitted to unassign them from the SQL Server object. After it passes, the licenses will be available only for Hybrid Benefits in Azure. For more information, please refer to Understanding the grace period of SQL Server licenses assigned to Azure Hybrid Benefit.

The license conversion object

After you have added a license to the SQL Server object, a license of the Conversion type will be created in the system. This is a technical license that contains all usage rights allocated for Azure Hybrid Benefits. You cannot edit it manually. Changes to the license conversion will be made automatically when the base licenses and/or the SQL Server object are updated.

Only one license conversion is created regardless of how many base licenses have been added to the Azure Hybrid Benefit object. The validity of the license conversion object is essential for the Azure Hybrid Benefit compliance.

The license conversion object becomes invalid in the following cases:

  • All base licenses expire.
  • All base licenses become invalid for any reason.

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.

AHBcomplianceForSqlResources.png

  • Was this article helpful?