Hi @Stefan Jarrah
There are several strategies, I will talk about some options:
If the VM isn't needed 24/7, set up an auto-shutdown schedule to turn off the VM during non-working hours. For example, turning it off overnight and during weekends can reduce costs.
Using Azure Spot VMs can be a very effective way to reduce costs, especially for workloads tolerant of interruptions.
SQL Server licensing can be a significant cost. Consider using a machine with a separate license and using your own license, or as it is just a test environment, perhaps using SQL Server in a trial period
Get in touch if you need more help with this issue.
--please don't forget to "[Accept the answer]" if the reply is helpful--