The SQL Server IaaS Agent extension now covers Ubuntu Server and Ubuntu Pro on Azure. Register the virtual machine to create a SQL virtual machine resource. Use that resource to set the SQL Server license type, including Azure Hybrid Benefit, in the Azure portal, Azure CLI, or Azure PowerShell.
The extension has no extra cost. On Ubuntu it runs in lightweight mode, so you change the SQL Server license type and edition only. You need SQL Server 2017 or later, and a single instance on the VM.
Microsoft’s walkthrough: Managing SQL Server on Linux Azure VMs with the SQL IaaS Agent extension. Registration steps: Register a Linux SQL Server VM with the SQL Server IaaS Agent extension.
If you have registered a SQL Server VM, share Ubuntu Server or Ubuntu Pro, the Ubuntu release, and how it went.