Distro News

Microsoft adds script-based SQL Server deployment for RHEL 9 and 10 Azure VMs

Key Takeaway

Azure now installs and configures SQL Server 2022 or 2025 on a chosen RHEL 9/10 base image during VM provisioning and auto-registers the VM with the SQL Server IaaS Agent extension, replacing deprecated Marketplace images.

Summary

Red Hat and Microsoft have introduced a script-based deployment experience, currently in Public Preview, for provisioning Microsoft SQL Server on Red Hat Enterprise Linux Azure virtual machines. The previous approach relied on precreated SQL Server Marketplace images, which have now been deprecated for new provisioning. Instead, users pick a supported RHEL 9 or RHEL 10 base image and select the SQL Server version, edition, licensing model and advanced configuration options during VM creation, and Azure installs and configures SQL Server as part of provisioning.

The workflow also registers each new VM with the SQL Server IaaS Agent extension automatically, a step that previously required a separate registration process. Registration creates a SQL virtual machine resource distinct from the underlying Azure VM resource, which exposes licensing configuration and management capabilities. Supported SQL Server versions are SQL Server 2022 and SQL Server 2025, subject to their respective RHEL compatibility requirements, and the Azure portal only presents compatible RHEL and SQL Server combinations.

How the script-based RHEL provisioning workflow changes SQL Server deployment

  • Deprecated Marketplace images: Precreated SQL Server Marketplace images are no longer used for new provisioning; the base image is now a standard supported RHEL 9 or RHEL 10 image, with SQL Server layered on by an automated script during VM creation.
  • Four-step provisioning flow: The process is choose RHEL base image and VM size/region, configure SQL Server version/edition/licensing/advanced options, automated script-based installation and configuration, then automatic registration with the SQL Server IaaS Agent extension.
  • Separate SQL virtual machine resource: Registration creates a SQL virtual machine resource alongside the Azure VM resource, giving visibility into licensing configuration and enabling supported licensing changes through Azure management tools.
  • Licensing model switching: Customers choose between pay-as-you-go and Azure Hybrid Benefit, and can switch between supported licensing models after deployment without restarting the VM or the SQL Server service.
  • Version decoupling: Because SQL Server is installed by script rather than baked into an image, newly supported RHEL and SQL Server versions can be offered without publishing a new preconfigured Marketplace image; the portal dynamically filters compatible combinations.

Why it matters

For enterprises standardizing on RHEL in Azure, the change removes the dependency on vendor-built database images and lets the same base image pipeline serve both plain and SQL Server workloads, which simplifies image lifecycle and patching policy. Automatic registration with the IaaS Agent extension also brings licensing visibility and Azure Hybrid Benefit handling into the provisioning step, reducing manual post-deployment work for administrators managing SQL Server compliance. The Public Preview status means organizations should validate the workflow before migrating existing Marketplace-image deployments.

Original reference: www.redhat.com →