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

How to Launch the Latest Amazon ECS-Optimized Amazon Linux 2 AMI

The following are several ways that you can launch the latest Amazon ECS-optimized Amazon Linux 2 AMI into your cluster:

  • You can launch your container instances manually in the Amazon EC2 console by following the procedures in Launching an Amazon ECS Container Instance. You could also choose the EC2 console link in the table below that corresponds to your cluster's region.

  • You can retrieve the current Amazon ECS-optimized Amazon Linux 2 AMI programmatically using the SSM API. For more information, see Retrieving Amazon ECS-Optimized AMI Metadata.

  • Use the current Amazon ECS-optimized Amazon Linux 2 AMI ID below to launch your instance using the AWS CLI, the AWS SDKs, or an AWS CloudFormation template.

The current Amazon ECS-optimized Amazon Linux 2 AMI IDs by region are listed below for reference.

Region AMI Name AMI ID EC2 console link
us-east-2 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-037a92bf1efdb11a2 Launch instance
us-east-1 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-0a6b7e0cc0b1f464f Launch instance
us-west-2 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-0c1f4871ebaae6d86 Launch instance
us-west-1 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-0184f498956de7db5 Launch instance
eu-west-3 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-0caadc4f0db31a303 Launch instance
eu-west-2 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-0b5225210a12d9951 Launch instance
eu-west-1 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-0acc9f8be17a41897 Launch instance
eu-central-1 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-055aa9664ef169e25 Launch instance
ap-northeast-2 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-0bdc871079baf9649 Launch instance
ap-northeast-1 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-0c38293d60d98af86 Launch instance
ap-southeast-2 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-0eed1c915ea891aca Launch instance
ap-southeast-1 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-0e28ff4e3f1776d86 Launch instance
ca-central-1 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-02c80e9173258d289 Launch instance
ap-south-1 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-0b7c3be99909df6ef Launch instance
sa-east-1 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-078146697425f25a7 Launch instance
us-gov-west-1 amzn2-ami-ecs-hvm-2.0.20181112-x86_64-ebs ami-31b5d150 Launch instance

For more information about previous versions and the corresponding Docker and Amazon ECS container agent versions, see Amazon ECS-Optimized Amazon Linux 2 AMI Versions.