A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
Hello Piotr Kwaniewski you’ve got a two-node on-prem SQL Server AG (one active, one passive) and you’re moving to Azure Arc pay-as-you-go (PAYG). Here’s how to think about each of your questions:
- Do both physical servers need to be Arc-enabled?
- Yes. Azure Arc tracks licensing (and all the management features) on a per-machine basis. You’ll need to install the Azure Connected Machine agent and the SQL IaaS agent extension on both your primary and your passive replica. Arc doesn’t “auto-detect” AG clusters—you connect each SQL Server instance you want managed/licensed.
- How do I apply a physical-core license and avoid paying for extra virtual cores?
- PAYG on Arc is billed hourly per logical core reported by the OS, so if your host exposes more cores than your entitlement you will see charges for the extras. To avoid that: • Use License only (BYOL) mode in Arc to declare your existing Enterprise + SA core licenses—there’s no PAYG metering in that mode. • Or if you must use PAYG, only turn it on for the server(s) you actually want to bill. Arc is per-server, so you can mix modes. • If your physical box has hyper-threading or extra sockets you don’t want billed, you’d have to limit the cores exposed to the OS (BIOS/OS settings) or stick to License-only.
- What licensing type for the passive replica, and what happens at failover?
- Arc doesn’t currently offer a “free DR-passive” licensing waiver like Azure VMs do. For Arc-connected on-prem servers, you pick one of two models per machine:
- License only (BYOL) – declare your existing Enterprise+SA cores and incur no PAYG costs.
- Pay-as-you-go – you pay hourly per core.
- If you want to continue using your on-prem Enterprise+SA licenses for the passive, leave that host in License only mode. If you decide to pay for the active one, set the primary to PAYG and the secondary to License only. The license mode sticks to each machine, so when you fail over there’s nothing else to flip in the portal—the secondary stays in “License only” and your existing SA covers it.
- Arc doesn’t currently offer a “free DR-passive” licensing waiver like Azure VMs do. For Arc-connected on-prem servers, you pick one of two models per machine:
Hope this helps! Let me know if you need more detail on this. Thanks
Reference list
- Change Licensing on Azure Portal to HADR (free passive DR for Azure VMs) https://learn.microsoft.com/azure/azure-sql/virtual-machines/windows/manage-sql-vm-portal?view=azuresql-vm#access-the-resource
- Change the licensing model for a SQL virtual machine in Azure (PAYG, AHUB, HADR) https://learn.microsoft.com/azure/virtual-machines/windows/sql/virtual-machines-windows-sql-ahb?tabs=azure-portal
- Cloud-native licensing and cost management with Arc-enabled servers (Arc PAYG vs BYOL) https://learn.microsoft.com/azure/azure-arc/servers/cloud-native/licensing-cost-management?wt.mc_id=knowledgesearch_inproduct_azure-cxp-community-insider#sql-server-pay-as-you-go
- SQL Server enabled by Azure Arc – feature availability & license types https://learn.microsoft.com/sql/sql-server/azure-arc/overview?view=sql-server-ver17#feature-availability-depending-on-license-type