Skip to content

Commit

Permalink
Use machineType for Azure Batch configuration instead of
Browse files Browse the repository at this point in the history
An idea to use process.machineType instead of a specific VM image. This will mean the autopools feature will be used fully and appropriate sized VM pools will be created for every process.

Also switched to E*d_v5 based on the Azure blog.
  • Loading branch information
adamrtalbot authored Oct 4, 2024
1 parent 92aecaf commit a45ac7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conf/azurebatch.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ params {
batch_name = null
batch_key = null

vm_type = "Standard_D8s_v3"
vm_type = "Standard_E*d_v5"
autopoolmode = true
allowpoolcreation = true
deletejobs = true
Expand All @@ -33,7 +33,8 @@ process {

azure {
process {
queue = params.az_worker_pool
queue = params.az_worker_pool
machineType = params.vm_type
}
storage {
accountName = params.storage_name
Expand All @@ -51,7 +52,6 @@ azure {
deletePoolsOnCompletion = params.deletepools
pools {
auto {
vmType = params.vm_type
autoScale = true
vmCount = 1
maxVmCount = 12
Expand Down

0 comments on commit a45ac7b

Please sign in to comment.