Linux instances - Amazon Elastic Container Service

Linux instances

An Amazon ECS container instance is an Amazon EC2 instance that is running the Amazon ECS container agent and has been registered into an Amazon ECS cluster. When you run tasks with Amazon ECS using the EC2 launch type or an Auto Scaling group capacity provider, your tasks are placed on your active container instances.


Tasks using the Fargate launch type are deployed onto infrastructure managed by AWS, so this topic does not apply.

The following Linux container instance operating systems are available:

  • Amazon Linux: This is a general purpose operating system.

  • Bottlerocket: This is an operating system that is optimized for container workloads and that has a focus on security. It does not include a package manager and is immutable by default. For information about the security features and guidance, see Security Features and Security Guidance on the GitHub website.