Amazon Elastic Container Service
Developer Guide (API Version 2014-11-13)

Amazon ECS-Optimized Amazon Linux 2 AMI Versions

The table below lists the current and previous versions of the Amazon ECS-optimized Amazon Linux 2 AMI and their corresponding versions of the Amazon ECS container agent, Docker, and the ecs-init package.

The current Amazon ECS-optimized Amazon Linux 2 AMI can be retrieved using the AWS CLI with the following command:

aws ssm get-parameters --names /aws/service/ecs/optimized-ami/amazon-linux-2/recommended

We always recommend using the latest version of the Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see How to Launch the Latest Amazon ECS-Optimized Amazon Linux 2 AMI.

Amazon ECS-optimized Amazon Linux 2 AMI Amazon ECS container agent version Docker version ecs-init version
20181112 1.22.0 18.06.1-ce 1.22.0-1
20181016 1.20.3 18.06.1-ce 1.21.0-1