AWS batch - how to limit number of concurrent jobs
Asked Answered
B

1

10

I am looking for a way to limit the number of batch jobs that are running by holding the remaining jobs in the queue. Is it possible with aws batch?

Bole answered 11/7, 2018 at 0:5 Comment(0)
C
19

Limiting the maximum number of vcpus of the managed compute environment the queue is tied to will effectively limit the number of batch jobs running concurrently on that queue.

However, this comes with the caveat that, if you have other queues sharing this compute environment, they would also be limited accordingly. Moreover, if you have multiple compute environments associated with that queue you are attempting to limit, Batch will eventually begin scheduling jobs on the secondary compute environments if there are enough jobs waiting in the RUNNABLE state.

Cacciatore answered 31/8, 2018 at 19:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.