How to run Azure Batch Pool Python script job serverless?

Niels Deckers 21 Reputation points
2022-05-24T06:40:14.72+00:00

Hi all,

For a data pipeline between an API and my SQL-database.
I use an Azure Batch account, with a windows server 2019 (Virtual machine DSVM) and a pool with 2 dedicated nodes on a A1_v2 CPU.
I'm running this pipeline 3x per day to get data from the API through Python.
However my dedicated nodes are 90% of the day in idle state (not doing anything), do I still pay for these nodes the whole day?
If so, what would be a good solutions to cut costs on this batch account's nodes that i'm not using 90% of the time.

204991-image.png

thanks a lot in advance!

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
306 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,609 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Suba Balaji 11,186 Reputation points
    2022-05-25T10:15:30.387+00:00

    Hi @Niels Deckers ,

    From the documentation

    Multiple compute nodes: Individual nodes are not guaranteed to always be available. While uncommon, hardware failures, operating system updates, and a host of other issues can cause individual nodes to be offline. If your Batch workload requires deterministic, guaranteed progress, you should allocate pools with multiple nodes.

    Hope that answers your question. Please feel free to accept it as answer ans/or up-vote for the benefit of community users.

    Thank you.