Hi @piotr szczupak ,
Thank you for your reaching out and welcome to Microsoft Q&A!
Please refer to Frequently asked questions for SQL Server on Azure VMs, we can get the information below:
There are three ways to do this. If you're an Enterprise Agreement (EA) customer, you can provision one of the virtual machine images. If you have Software Assurance, you can enable the Azure Hybrid Benefit on an existing pay-as-you-go (PAYG) image. Or you can copy the SQL Server installation media to a Windows Server VM, and then install SQL Server on the VM. Be sure to register your SQL Server VM with the extension for features such as portal management, automated backup and automated patching.
Please let me know in time if I have any misunderstanding.
There are many questions about the use of SQL Server on VM in the article, I hope this helps! If you have any more issues or need further assistance, feel free to share with us!
Best regards,
Lucy Chen
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
https://docs.microsoft.com/en-us/answers/support/email-notifications