# Azure Batch Account

> Azure Batch bills for the VMs in its pools, and dedicated nodes keep billing between job runs, so a pool of 20 idle nodes pays for 20 VMs around the clock. ZopNight discovers Batch accounts and tracks their cost but cannot schedule them today. To cut idle cost, scale pools to 0 dedicated nodes or use autoscaling.

Source: https://zop.dev/integrations/azure/azure-batch
Updated: 2026-08-19

---

Azure Batch runs large-scale parallel and high-performance computing jobs on managed pools of compute nodes. Pools that keep dedicated nodes allocated between job runs accrue full VM charges around the clock.

## Dedicated nodes bill between jobs

Batch itself is free to orchestrate. The charge is the compute nodes its pools allocate. Every dedicated node is a VM accruing compute charges for as long as it exists, entirely independent of whether a task is executing on it. A pool that finishes its nightly render at 2am and holds its nodes until the next evening pays for a full day of silence. Low-priority and Spot nodes soften the rate but not the principle: allocation, not activity, is what the meter reads.

## Resizing pools yourself

ZopNight cannot schedule Batch pools today. Because a Batch pool has no stop button, the lever is a resize you make in Azure: scale dedicated nodes to 0 between job windows, or give the pool an autoscale formula that does it for you. The pool object, its job queue and its configuration all survive at zero nodes, and pending tasks wait for capacity to return.

## Batch accounts through ZopNight's lens

Discovery arrives via Azure Resource Graph, pool configuration included. Cost Management attributes pool compute spend to the account, so idle pools show up as spend on the account. ZopNight does not raise an idle-pool finding or schedule Batch pools today.

## Idle pool patterns in Batch

The classics: a fixed-size pool provisioned for a monthly batch window and left allocated the other 29 days; oversized node SKUs chosen for one heavyweight job that no longer runs; and forgotten proof-of-concept pools in subscriptions nobody audits.

## Batch accounts in the portal

Azure portal → Batch accounts → select the account → Pools. Each pool row shows dedicated and low-priority node counts; any nonzero dedicated count outside a job window is money on the table.
