|
| 1 | +--- |
| 2 | +title: Licensing SQL Server, Windows Server, and Linux in Azure VMware Solution |
| 3 | +description: This article provides licensing considerations for running SQL Server, Windows Server, and Linux in VMs in Azure VMware Solution. It provides details around utilizing Azure Hybrid Benefits and steps on how to attribute your SQL Server licenses in the tooling. |
| 4 | +author: MikeWeiner-Microsoft |
| 5 | +ms.author: michwe |
| 6 | +ms.service: azure-vmware |
| 7 | +ms.topic: how-to |
| 8 | +ms.date: 04/23/2024 |
| 9 | +--- |
| 10 | + |
| 11 | +# Licensing SQL Server, Windows Server, and Linux in Azure VMware Solution |
| 12 | + |
| 13 | +This article provides licensing considerations and tooling integration for running SQL Server, and Windows Server within Azure VMware Solution. |
| 14 | + |
| 15 | +Included in the pricing of Azure VMware Solution is infrastructure, hosts, and storage along with many VMware licensing components including NSX-T, vSphere, vSAN, and HCX Advanced. There's no extra cost in Azure VMware Solution added based on the software running in any of your virtual machines(VMs). You do, however need to license products running in the VMs. For SQL Server, Windows Server, and Linux subscriptions you can use your existing licensing investment to apply them in Azure VMware Solution. |
| 16 | + |
| 17 | +In addition, with [Software Assurance](https://www.microsoft.com/Licensing/licensing-programs/software-assurance-by-benefits) or an active Linux subscription you can take advantage of [Azure Hybrid Benefit](https://azure.microsoft.com/pricing/hybrid-benefit/) not only allowing for you to use any existing licenses, but including another benefits around migration and unlimited virtualization. |
| 18 | + |
| 19 | +> [!NOTE] |
| 20 | +> If you do not have Software Assurance you need to apply the terms around licensing provided in: [Updated Microsoft licensing terms for dedicated hosted cloud services](https://www.microsoft.com/en-us/licensing/news/updated-licensing-rights-for-dedicated-cloud). This will limit the licenses which can be applied based on terms applied after October 1st, 2019 along with additional migration and virtualization benefits. |
| 21 | +
|
| 22 | +The rest of this article discusses SQL Server, Windows Server, and Linux considerations in Azure VMware Solution with Software Assurance and Azure Hybrid Benefit applied. |
| 23 | + |
| 24 | +> [!IMPORTANT] |
| 25 | +> The Microsoft Product Terms for specific programs and software take precedent over this article and may contain more detailed content specific to that product. For more information, see: [SQL Server Product Terms](https://www.microsoft.com/licensing/terms/productoffering/SQLServer/EAEAS), [Windows Server Product Terms](https://www.microsoft.com/licensing/terms/productoffering/WindowsServerStandardDatacenterEssentials/EAEAS) and [Azure Product Terms](https://www.microsoft.com/licensing/terms/productoffering/MicrosoftAzure/EAEAS) and select your specific program. |
| 26 | +
|
| 27 | +## Type of licenses |
| 28 | +You can use the following licenses for SQL Server and Windows Server to apply to software running in Azure VMware Solution. |
| 29 | + |
| 30 | +-****Windows Server**** - Standard or Datacenter core licenses OR Standard/Datacenter processor licenses, where each processor license is equivalent to 16 core licenses. |
| 31 | + |
| 32 | +-****SQL Server**** - Standard or Enterprise core licenses. |
| 33 | + |
| 34 | +## Dual Use Rights for Azure Migration |
| 35 | +Migration to Azure VMware Solution is usually executed over an extended timeframe instead of at a single point-in-time. To give you flexibility around your migration timelines you can continue to use your licenses outside of Azure, for 180 days, from when the licenses are allocated within Azure VMware Solution. This dual use rights benefit applies to SQL Server and Windows Server under Azure Hybrid Benefit. |
| 36 | + |
| 37 | +For more information and other considerations for dual use rights outside of migration, see [Azure Product Terms](https://www.microsoft.com/licensing/terms/productoffering/MicrosoftAzure/EAEAS). |
| 38 | + |
| 39 | +## License the host physical cores - Unlimited Virtualization Rights |
| 40 | +Unlimited virtualization allows you to license the physical cores on the host and run as many VMs with Windows Server and/or SQL Server as you can, limited only by host capacity. It can provide licensing cost optimization for environments with scenarios such as: |
| 41 | +- The host contains a high density of VMs |
| 42 | +- The host contains dynamic provisioning or deprovisioning of VMs |
| 43 | +- The workloads in the VMs aren't performance sensitive or can function even if impacted by another VM workload using the host resources. |
| 44 | + |
| 45 | +By applying existing SQL Server Enterprise and/or Windows Server Datacenter licenses to cover the physical cores of any host you can achieve unlimited virtualization of that host. Each host is required to have licenses applied to all the physical cores. |
| 46 | + |
| 47 | +While Standard SQL Server and Windows licenses can't be used for unlimited virtualization, they can be applied to license an individual VM discussed in the next section. |
| 48 | + |
| 49 | +## License a Virtual Machine virtual cores |
| 50 | +You need to license each machine individually applying licenses based on the number of virtual cores (v-Core) associated with the VM. |
| 51 | + |
| 52 | +Either Enterprise or Standard licenses can be applied for SQL Server and either Standard and Datacenter licenses for Windows. |
| 53 | + |
| 54 | +Applying licenses at the VM scope could fit your needs for scenarios such as |
| 55 | +- The hosts aren't densely packed with VMs running the respective software. The overall licensing cost in this case could be more cost effective than licensing an entire host. |
| 56 | +- You are running Standard editions of SQL Server and/or Windows Server and therefore have these existing licenses to apply. |
| 57 | + |
| 58 | +Each VM does require a minimum number of licenses to be applied: |
| 59 | + |
| 60 | +-****Windows Server**** - You need a minimum of 8 core licenses (Datacenter or Standard) per VM. For example, 8 core licenses are still required if you run a 4-core VM. You may also run VMs larger than 8 cores by allocating licenses equal to the core size of the VM. For example, 12 core licenses are required for a 12-core VM. For customers with processor licenses, each 2-core processor license is equivalent to 16 core licenses. |
| 61 | + |
| 62 | +-****SQL Server**** - A minimum of 4 core licenses (Enterprise or Standard) per VM. |
| 63 | + |
| 64 | +### How to register licenses in Azure VMware Solution |
| 65 | +#### SQL Server |
| 66 | +##### License the host - Unlimited Virtualization |
| 67 | +You can enable Azure Hybrid Benefit for SQL Server and achieve unlimited virtualization through an Azure VMware Solution placement policy. The details on how to create the VM-Host placement policy are located here: [Enable Unlimited Virtualization with Azure Hybrid Benefit for SQL Server in Azure VMware Solution.](https://learn.microsoft.com/azure/azure-vmware/enable-sql-azure-hybrid-benefit) |
| 68 | + |
| 69 | +##### License a virtual machine |
| 70 | +SQL Server licenses can be registered and applied to VMs running SQL Server in Azure VMware Solution by registering through Azure Arc, through these steps: |
| 71 | +1. Azure VMware Solution must be Arc-enabled: [Deploy Arc-enabled VMware vSphere for Azure VMware Solution](https://learn.microsoft.com/azure/azure-vmware/deploy-arc-for-azure-vmware-solution?tabs=windows). You can Arc-enable the virtual machines and get the Azure Extension for SQL Server applied to that VM by following the steps provided in the section titled *Enable guest management and extension installation*. |
| 72 | +2. When Guest Management is configured, the Azure Extension for SQL Server should be installed on that VM. This allows for setting the License Type for the SQL Server instance running in the VM. |
| 73 | +3. Once enabled you can configure the License Type and other SQL Server configuration settings from the Azure portal, PowerShell or CLI for a specific Arc-enabled server. To configure from the Azure portal, VMware vSphere in Azure VMware Solution experience, follow the steps: |
| 74 | + |
| 75 | +1. In the Azure VMware Solution portal, go to **vCenter Server Inventory** and **Virtual Machines** clicking through one of the Arc-enabled VMs. Here you see the Machine-Azure Arc (AVS) page. |
| 76 | +2. In the left pane, expand Operations and you should see the SQL Server Configuration |
| 77 | +3. You can now apply and save your License Type for the VM along with other server configurations |
| 78 | + |
| 79 | +You can also configure these setting within the Azure Arc portal experience and from PowerShell or CLI. The Azure Arc portal experience and code to update the configuration values is provided here: [Configure SQL Server enabled by Azure Arc.](https://learn.microsoft.com/sql/sql-server/azure-arc/manage-configuration?view=sql-server-ver16&tabs=azure) |
| 80 | + |
| 81 | +> [!NOTE] |
| 82 | +>At this time Azure VMware Solution does not integrate with the **SQLServerLicense** resource type. |
| 83 | +
|
| 84 | +##### Managing the environment |
| 85 | +Once the Azure Extension for SQL Server is installed, you can query the SQL Server configuration settings and track your SQL Server license inventory for each VM. Sample queries are provided here: [Query SQL Server configuration](https://learn.microsoft.com/sql/sql-server/azure-arc/manage-configuration?view=sql-server-ver16&tabs=azure#query-sql-server-configuration) |
| 86 | + |
| 87 | +#### Windows Server |
| 88 | +Currently there is no way to register your Windows licenses in Azure VMware Solution. |
| 89 | + |
| 90 | +### Other cost savings for SQL Server and Windows Server |
| 91 | +In addition to taking advantage of Azure Hybrid Benefit for SQL Server, Windows Server and Linux subscription more cost savings can be realized in Azure VMware Solution through: |
| 92 | +- [Extended Security Updates (ESU) for Windows Server and SQL Server - Azure VMware Solution](https://learn.microsoft.com/azure/azure-vmware/extended-security-updates-windows-sql-server) |
| 93 | +- [Save costs with a reserved instance](https://learn.microsoft.com/azure/azure-vmware/reserved-instance) |
| 94 | + |
| 95 | +## More Information |
| 96 | +[Azure Hybrid Benefit](https://azure.microsoft.com/pricing/hybrid-benefit/) |
| 97 | + |
| 98 | +[Azure VMware Solution pricing](https://azure.microsoft.com/en-us/pricing/details/azure-vmware/) |
0 commit comments