EC2 configurations - Amazon Batch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

EC2 configurations

Amazon Batch uses Amazon ECS optimized AMIs for EC2 and EC2 Spot compute environments. The default is Amazon Linux 2 (ECS_AL2). Starting in January 2026, the default will change to AL2023 (ECS_AL2023).

Amazon will end support for Amazon Linux 2. We recommend migrating Amazon Batch Amazon ECS compute environments to Amazon Linux 2023 to maintain optimal performance and security. For more information, see Amazon ECS Amazon Linux 2 AMI deprecation.

We recommend that you update existing Amazon Linux based compute environments to Amazon Linux 2023 to prevent unforeseen workload interruptions, and continue to receive security and other updates.

For help migrating Amazon Batch from the Amazon Linux AMI to Amazon Linux 2023, see How to migrate from ECS AL2 to ECS AL2023