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 one of the tables 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.20190107-x86_64-ebs ami-0fbc9fff39b859770 Launch instance
us-east-1 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-00a0ec1744b47e7e3 Launch instance
us-west-2 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-0a8893b3446d3e884 Launch instance
us-west-1 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-09a718d703d4dfd1d Launch instance
eu-west-3 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-0d8b13ba7c91ce621 Launch instance
eu-west-2 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-0e57cd83d692ab020 Launch instance
eu-west-1 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-07c916f51e03b3fc6 Launch instance
eu-central-1 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-00c89894d831fd9bf Launch instance
eu-north-1 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-0b1735736271ee063 Launch instance
ap-northeast-2 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-0309114e6e5df021e Launch instance
ap-northeast-1 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-079d813d04571915e Launch instance
ap-southeast-2 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-03ba7b79573cdbe5e Launch instance
ap-southeast-1 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-06227143764cbe5b6 Launch instance
ca-central-1 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-0b8d05f39cf05bdb9 Launch instance
ap-south-1 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-0d4c0e46eb46325cb Launch instance
sa-east-1 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-0aaea9f335c45e3a3 Launch instance
us-gov-west-1 amzn2-ami-ecs-hvm-2.0.20190107-x86_64-ebs ami-843351e5 Launch instance

The current Amazon ECS-optimized Amazon Linux 2 (arm64) 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.20190107-arm64-ebs ami-0283be7c51553d21a Launch instance
us-east-1 amzn2-ami-ecs-hvm-2.0.20190107-arm64-ebs ami-050fdacbc39dffd05 Launch instance
us-west-2 amzn2-ami-ecs-hvm-2.0.20190107-arm64-ebs ami-0fdba42282afd8d70 Launch instance
eu-west-1 amzn2-ami-ecs-hvm-2.0.20190107-arm64-ebs ami-0b86e0124e957c7aa 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.