question

Samyak-3746 avatar image
0 Votes"
Samyak-3746 asked ShaikMaheer-MSFT commented

Is it possible to shut down the batch pool when it is in idle state?

Hi all,

I am currently using an E16dsV4 vm on my batch pool. But once my job gets done, I wanted to know if there's a way where I can shut down the pool so that I am not charged for the service and can use it more as a pay-as-you-go service.
Is there a shutdown/start service for a batch pool?

azure-data-factoryazure-blob-storageazure-batch
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SubashriVasudevan-1752 avatar image
0 Votes"
SubashriVasudevan-1752 answered ShaikMaheer-MSFT commented

Hi @Samyak-3746

Thankyou for using Microsoft Q&A platform and posting your query.

After the job is done, you can opt to delete the pool, please refer

https://docs.microsoft.com/en-us/rest/api/batchservice/pool/delete

And as first step you can create the pool, please check
https://docs.microsoft.com/en-us/rest/api/batchmanagement/pool/create

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @SubashriVasudevan-1752 ,

Thanks for the reply. But I wanted to know if there's a start/stop activity for Azure Batch Pool. So that i can pay-as-per-use basis. Somewhat like AWS EC2 instance where I start and stop the machine as per my own will.

0 Votes 0 ·

Hi @Samyak-3746 ,

It's just delete and create w.r.to Batch pools. and it doesn't incur any cost to terminate the pools when we delete.

> Batch pricing
No upfront cost
No termination fees
Per-second billing

Hope it answers your question.

Please feel free to revert in case of any question, and kindly upvote\ accept the answer if it helps.

0 Votes 0 ·
Samyak-3746 avatar image Samyak-3746 SubashriVasudevan-1752 ·

Hi @SubashriVasudevan-1752,

Thanks for the reply. I am using the pool to run a python script via ADF. The issue with deleting and creating a pool again and again would mean creating a Azure Batch linked service each time, wouldn't it?

0 Votes 0 ·
Show more comments