Skip to main content This browser is no longer supported. Show
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Explore Azure Hybrid Benefit for Windows VMs
In this articleFor customers with Software Assurance, Azure Hybrid Benefit for Windows Server allows you to use your on-premises Windows Server licenses and run Windows virtual machines on Azure at a reduced cost. You can use Azure Hybrid Benefit for Windows Server to deploy new virtual machines with Windows OS. This article goes over the steps on how to deploy new VMs with Azure Hybrid Benefit for Windows Server and how you can update existing running VMs. For more information about Azure Hybrid Benefit for Windows Server licensing and cost savings, see the Azure Hybrid Benefit for Windows Server licensing page. Each 2-processor license or each set of 16-core licenses is entitled to two instances of up to 8 cores, or one instance of up to 16 cores. The Azure Hybrid Benefit for Standard Edition licenses can only be used once either on-premises or in Azure. Datacenter Edition benefits allow for simultaneous usage both on-premises and in Azure. Using Azure Hybrid Benefit for Windows Server with any VMs running Windows Server OS are now supported in all regions, including VMs with additional software such as SQL Server or third-party marketplace software. Classic VMsFor classic VMs, only deploying new VM from on premises custom images is supported. To take advantage of the capabilities supported in this article, you must first migrate classic VMs to Resource Manager model. Important VMs created through the classic deployment model will be retired on March 1, 2023. If you use IaaS resources from Azure Service Management, please complete your migration by March 1, 2023. We encourage you to make the switch sooner to take advantage of the many feature enhancements in Azure Resource Manager. For more information, see Migrate your IaaS resources to Azure Resource Manager by March 1, 2023. Ways to use Azure Hybrid Benefit for Windows ServerThere are few ways to use Windows virtual machines with the Azure Hybrid Benefit:
Create a VM with Azure Hybrid Benefit for Windows ServerAll Windows Server OS based images are supported for Azure Hybrid Benefit for Windows Server. You can use Azure platform support images or upload your own custom Windows Server images. PortalTo create a VM with Azure Hybrid Benefit for Windows Server, scroll to the bottom of the Basics tab during the creation process and under Licensing check the box to use an existing Windows Server license. PowerShell
CLI
TemplateWithin your Resource Manager templates, an additional parameter
Convert an existing VM using Azure Hybrid Benefit for Windows ServerIf you have an existing VM that you would like to convert to take advantage of Azure Hybrid Benefit for Windows Server, you can update your VM's license type by following the instructions below. Note Changing the license type on the VM does not cause the system to reboot or cause a service interuption. It is simply an update to a metadata flag. PortalFrom portal VM blade, you can update the VM to use Azure Hybrid Benefit by selecting "Configuration" option and toggle the "Azure hybrid benefit" option PowerShell
CLI
How to verify your VM is utilizing the licensing benefitOnce you've deployed your VM through either PowerShell, Resource Manager template or portal, you can verify the setting in the following methods. PortalFrom portal VM blade, you can view the toggle for Azure Hybrid Benefit for Windows Server by selecting "Configuration" tab. PowerShellThe following example shows the license type for a single VM
Output:
This output contrasts with the following VM deployed without Azure Hybrid Benefit for Windows Server licensing:
CLI
Note Changing the license type on the VM does not cause the system to reboot or cause a service interuption. It is a metadata licensing flag only. List all VMs and virtual machine scale sets with Azure Hybrid Benefit for Windows Server in a subscriptionTo see and count all virtual machines and virtual machine scale sets deployed with Azure Hybrid Benefit for Windows Server, you can run the following command from your subscription: PortalFrom the Virtual Machine or Virtual machine scale sets resource blade, you can view a list of all your VM(s) and licensing type by configuring the table column to include "OS licensing benefit". The VM setting can either be in Azure Hybrid Benefit for Windows, Not enabled, or Windows client with multi-tenant hosting state. PowerShellFor virtual machines:
For virtual machine scale sets:
CLIFor virtual machines:
For virtual machine scale sets:
Deploy a Virtual Machine Scale Set with Azure Hybrid Benefit for Windows ServerWithin your virtual machine scale set Resource Manager templates, an additional parameter The following example uses ARM template with a Windows Server 2016 Datacenter image:
You can also learn more about how to Modify a virtual machine scale set for more ways to update your scale set. Next steps
FeedbackSubmit and view feedback for |