Amazon ECS Amazon Linux 2 AMI deprecation - 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).

Amazon ECS Amazon Linux 2 AMI deprecation

Amazon will end support for Amazon Linux 2. Starting in January 2026, Amazon Batch will change the default AMI for new Amazon ECS compute environments from Amazon Linux 2 to Amazon Linux 2023. We recommend migrating Amazon Batch Amazon ECS compute environments to Amazon Linux 2023, to maintain optimal performance and security.

For more information about the Amazon Linux 2 end-of-life, see Amazon Linux 2 FAQs.

For information about differences between Amazon Linux 2 and Amazon Linux 2023, see Compare Amazon Linux 2023 and Amazon Linux 2 in the Amazon Linux 2023 User Guide.

For information about changes in Amazon Linux 2023 for Amazon ECS-optimized AMI, see Migrating from an Amazon Linux 2 to an Amazon Linux 2023 Amazon ECS-optimized AMI in the Amazon ECS User Guide.

For help migrating Amazon Batch Amazon ECS compute environments from Amazon Linux 2 to Amazon Linux 2023, see How to migrate from ECS AL2 to ECS AL2023.