How to use spot instances with HDInsight

31610895 20 Reputation points
2023-08-16T10:26:35.41+00:00

Hi,

  1. Is there any way to use Spot VMs in HDInsight ?
  2. How to determine which VMs are spot VMs in this list - https://azure.microsoft.com/en-in/pricing/details/virtual-machines/linux/ ?
  3. Is there any max limit on number of Spot VMs that can be used in HDInsight cluster ?

Thanks,

Akshit Mehta

Azure HDInsight
Azure HDInsight
An Azure managed cluster service for open-source analytics.
212 questions
{count} votes

2 answers

Sort by: Most helpful
  1. 31610895 20 Reputation points
    2023-08-18T05:46:09.5466667+00:00

    Discussed on call with MSFT, it's not possible to use spot VMs in HDInsight

    0 comments No comments

  2. 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 sets

    For 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:

    User's image

    HDInsight cluster VMs:
    User's image

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.