Batch

Batch

Last modified on 2025-04-18 , by hjjae2

Launch Template #

AWS Batch only updates the launch template with a new launch template version during infrastructure updates. For more information, see Updating compute environments.*

[Q] launch template 지정 시 해당 launch template 을 사용하는 것인지 테스트 필요하다. (단순히 설정 정보를 읽어오는 정도(import)로만 사용하고, 별도 launch template 이 생성되는 건지)

[A] launch template 을 지정해도, (batch 에 의해)별도 launch template 이 생성되는 것을 확인했다.

Launch template 버전 변경이 필요한 경우 #

create-compute-environment 문서에 나와있다.

새로운 launch template 을 사용하기 위해서, 새로운 compute environment 생성이 필요하다.

Job Scheduling (w/ stuck) #

The AWS Batch scheduler evaluates when, where, and how to run jobs that are submitted to a job queue. If you don’t specify a scheduling policy when you create a job queue, the AWS Batch job scheduler defaults to a first-in, first-out (FIFO) strategy. A FIFO strategy might cause important jobs to get “stuck” behind jobs that were submitted earlier. By specifying a different scheduling policy, you can allocate compute resources according to your specific needs.

Jobs stuck in a RUNNABLE status #