Discussed on call with MSFT, it's not possible to use spot VMs in HDInsight
How to use spot instances with HDInsight
Hi,
- Is there any way to use Spot VMs in HDInsight ?
- How to determine which VMs are spot VMs in this list - https://azure.microsoft.com/en-in/pricing/details/virtual-machines/linux/ ?
- Is there any max limit on number of Spot VMs that can be used in HDInsight cluster ?
Thanks,
Akshit Mehta
2 answers
Sort by: Most helpful
-
-
Bhargava-MSFT 31,116 Reputation points Microsoft Employee
2023-08-22T19:02:32.2366667+00:00 Hello 31610895,
I'm glad that you could find the answer you are looking for. Thank you for informing us that it is not possible to use spot VMS in HDinsights.
Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
How to use Spot VMs in HDInsight:
Answer:
Using Azure Spot Virtual Machines allows you to take advantage of our unused capacity at a significant cost savings. At any point in time when Azure needs the capacity back, the Azure infrastructure will evict Azure Spot Virtual Machines.
SPOT VMS are only applicable to:
✔️ Linux VMs ✔️ Windows VMs ✔️ Flexible scale sets ✔️ Uniform scale setsFor ex:
To enable SPOT instances on the virtual machine scale set, we need to enable the option "Run with Azure spot discount."
Whereas on the HDInsights cluster VMs, there is no option to enable "spot instances."
We can conclude that SPOT instances are not supported on the HDInsights cluster VMS.
VM scale set:
HDInsight cluster VMs:
I hope this gives a clear understanding of the SPOT instances of HDInsights cluster VMs.
Reference document:
https://learn.microsoft.com/en-us/azure/virtual-machines/spot-vms
Please remember to "Accept Answer" if any answer/reply helped so that others in the community facing similar issues can easily find the solution.