I found it takes a few minutes to create pool and prepare the job, I am thinking to keep the pool to get rid of the overhead.
Thanks Lidong
I can try and answer this but folks can correct me, AFAIK: refer to this document: https://azure.microsoft.com/en-us/pricing/details/batch/
In batch as doc states: “Virtual machines are billed per-second rounded down to the last minute.”
Most of the pricing structure is well document and seems like it’s just few cents per hour.
One general suggestion could be that once you are done with your compute you can always re-scale your pool back to 0.
You probably want to add more to your question if you are keen to discuss any specific scenario so that right folks can answer in detail.
Hope this helps, but add more most o the content above is general purpose. Thanks
Update https://azure.microsoft.com/en-us/pricing/details/virtual-machines/linux/