Posted On: Aug 2, 2023

Starting today, customers can specify the price-capacity-optimized allocation strategy in AWS Batch. Previously, AWS Batch supported the capacity optimized Spot allocation strategy that is designed to optimize Spot Instance placement based on capacity availability to help reduce the likelihood that workloads are interrupted. The new price and capacity optimized allocation strategy is designed to provide a balance between price and capacity.

Customers can set the the allocationStrategy parameter to SPOT_PRICE_CAPACITY_OPTIMIZED while creating or updating a managed compute environment to use the EC2 Spot Price Capacity Optimized allocation strategy. We recommend that customers use the the EC2 Spot Price Capacity Optimized allocation strategy for most workloads running on Spot instances.

Support for price capacity optimized allocation strategy is now generally available in AWS Regions where AWS Batch is available. To learn more about how to specify allocation strategies, please visit our documentation.