By using AWS re:Post, you agree to the Terms of Use

Does using SPOT_CAPACITY _OPTIMIZED launch spot instances into an auto-scaling group in AWS Batch?

0

I am trying to run multiple jobs in a compute environment using AWS Batch. From my understanding, when there are multiple jobs in a job queue and the allocation strategy is BEST_FIT, AWS Batch will wait for the job running in the environment to complete and only then it will launch the next job. Hence, it does not auto-scales when there are more jobs.

But if I use an allocation strategy of BEST_FIT_PROGRESSIVE or SPOT_CAPACITY_OPTIMIZED (in spot compute resources), AWS Batch will auto scale the instances if more jobs become available in the job queue. So, AWS Batch service can add more instances to the ECS Cluster in which the compute environment is running. Am I right here?

I am reference the documentation here