Tracking Azure Hybrid Benefit using Azure Workbooks
What is Azure Hybrid Benefit?
Azure Hybrid Benefitis a licensing benefit that allows you to bring your on-premises core-based Windows Server, SQL Server, and Red Hat Linux licenses with active Software Assurance (or subscription) to Azure. Utilizing this benefit can save considerable cost by eliminating the hourly licensing charges for Azure resources, allowing you to pay only for hardware resources. By leveraging Azure Hybrid Benefit, you can optimize your cloud infrastructure costs.
Keeping track of Azure Hybrid Benefit Usage
Managing and keeping track of Azure Hybrid Benefit entitlements can be challenging however, especially for organizations with a large number of licenses and virtual machines. Ensuring that you are utilizing your entitlements effectively while maintaining compliance with licensing agreements requires careful monitoring and management. It is essential to have a clear understanding of your organization's licensing landscape and to establish processes for tracking and applying Azure Hybrid Benefit entitlements.
I've created this Workbook to simplify the management of Azure Hybrid Benefit in your environment.Azure Workbooksprovide a flexible, interactive, and customizable way to visualize and analyze your Azure resources. By querying theAzure Resource Graph, the report gathers real-time information about your virtual machines' usage of Azure Hybrid Benefit and creates visualizations to help you understand your licensing landscape.
Select your preferred Subscription, Resource Group, and Region to store the dashboard resource. Leave all other fields as-is.
Once the resource is created, open the Dashboard.
Fill in the AHB Entitlement field in the upper left corner with the number of Azure Hybrid Benefit cores which your organization is entitled to.
The workbook will then use the Azure Resource Graph to query all Windows Server virtual machines and display your total virtual machine cores, AHB cores utilized, and AHB cores available.
The workbook will also analyze whether a virtual machine is an optimal use of Azure Hybrid Benefit, as machines with less than 8 vCPUs still consume a minimum of 8 Azure Hybrid Benefit cores.
Please note the following important points when using this tool:
This dashboard currently only provides information on Windows Server utilization. SQL Server on Azure VMs, SQL Managed Instance, Azure SQL, and Red Hat Linux are not included in this report. Keep an eye on the repository for future updates and additional views.
The charts and resources below are based on the Virtual Machines which your user account has RBAC access to view. Virtual machines in other tenants, management groups, subscriptions, or resource groups which are not visible to you will not be calculated and the totals above may be inaccurate. Please ensure that your organizationremains in compliancewith all license terms and conditions for Azure Hybrid Benefit.