English edition · cyberattaques.org in FrenchFrançais
IT news

Azure replaces SQL Server on RHEL images with script-based deployment in public preview

Preconfigured SQL Server Marketplace images on Red Hat Enterprise Linux can no longer be used for new deployments in Azure, and a script-based deployment in public preview takes their place. Teams running SQL Server on RHEL VMs in Azure need to revisit their provisioning workflows and licensing management.

What to do now Illustration photo (cloud database servers)

On 2 December 2026, Red Hat and Microsoft described a new way to deploy Microsoft SQL Server on Red Hat Enterprise Linux (RHEL) in Azure. Until now, deployments started from Marketplace images with SQL Server already installed. Those images are now deprecated for new provisioning. In their place, Microsoft offers a script-based deployment, in public preview, that installs and configures SQL Server while the virtual machine is being created.

The administrator picks a RHEL base image, then chooses the SQL Server version, edition and licensing model during VM creation. Azure handles the installation and configuration. The vendors' argument is that newly supported RHEL or SQL Server releases can be offered without waiting for a new preconfigured image.

RHEL 9 and RHEL 10 are supported, with other versions possibly added later. On the database side, SQL Server 2022 and SQL Server 2025 are available, subject to each one's RHEL compatibility requirements. The Azure portal only shows valid combinations. Enterprise, Standard, Developer, Express and Evaluation editions may be offered depending on the version selected. Advanced settings can be entered in the portal or supplied through a custom mssql.conf file.

The VM is also registered automatically with the SQL Server IaaS Agent extension, whose support on RHEL was announced earlier in the year. Registration used to be a separate procedure. It creates a SQL virtual machine resource in Azure, distinct from the underlying VM resource, through which the licensing configuration can be viewed and changed.

Two licensing models are offered. Pay-as-you-go (PAYG) folds the SQL Server cost into Azure consumption billing. Azure Hybrid Benefit (AHB) lets eligible customers reuse SQL Server licences covered by Software Assurance. Switching between them after deployment requires no restart of the VM or of the SQL Server service. It can be done in the portal (Settings, SQL Server configuration, Manage), with the Azure CLI (az sql vm update with --license-type AHUB) or with Azure PowerShell (Set-AzSqlVM with -LicenseType AHUB).

Two entry points lead to the same result. The first is the standard VM creation wizard: choose a RHEL 9 or 10 image, then tick Install SQL Server on the Advanced tab, which adds a SQL Server settings tab. The second starts from the Azure SQL hub, under SQL Server on Azure Virtual Machines, by selecting Red Hat Enterprise Linux as the operating system.

Some questions remain open. The source does not say what happens to VMs already built from the old Marketplace images, nor when the script-based deployment will reach general availability. The feature is in public preview, a status that calls for caution before production use.

Action plan

What to do now

  1. Inventory the templates, scripts and pipelines that rely on SQL Server Marketplace images for RHEL, which are deprecated for new deployments.
  2. Test the preview script-based deployment outside production, using a RHEL 9 or RHEL 10 base image with SQL Server 2022 or 2025.
  3. Check that each new VM appears as a SQL virtual machine resource and that its licensing model (PAYG or AHB) matches your entitlements.
  4. If you hold licences with Software Assurance, switch eligible VMs to Azure Hybrid Benefit with az sql vm update --license-type AHUB or Set-AzSqlVM -LicenseType AHUB.

Sources