Movatterモバイル変換


[0]ホーム

URL:


Amazon ECS-optimized Bottlerocket AMIs - Amazon Elastic Container Service
DocumentationAmazon ECSDeveloper Guide
Considerations

Amazon ECS-optimized Bottlerocket AMIs

Bottlerocket is a Linux based open-source operating system that is purpose built by AWS for running containers on virtual machines or bare metal hosts. The Amazon ECS-optimized Bottlerocket AMI is secure and only includes the minimum number of packages that's required to run containers. This improves resource usage, reduces security attack surface, and helps lower management overhead. The Bottlerocket AMI is also integrated with Amazon ECS to help reduce the operational overhead involved in updating container instances in a cluster.

Bottlerocket differs from Amazon Linux in the following ways:

For more information about Bottlerocket, see thedocumentation andreleases on GitHub.

There are variants of the Amazon ECS-optimized Bottlerocket AMI for kernel 6.1 and kernel 5.10.

The following variants use kernel 6.1:

  • aws-ecs-2

  • aws-ecs-2-nvidia

The following variants use kernel 5.10:

Considerations

Consider the following when using a Bottlerocket AMI with Amazon ECS.

  • Bottlerocket supports Amazon EC2 instances withx86_64 andarm64 processors. The Bottlerocket AMI isn't recommended for use with Amazon EC2 instances with an Inferentia chip.

  • Bottlerocket images don't include an SSH server or a shell. However, you can use out-of-band management tools to gain SSH administrator access and perform bootstrapping.

    For more information, see these sections in thebottlerocket README.md on GitHub:

  • By default, Bottlerocket has acontrol container that's enabled. This container runs theAWS Systems Manager agent that you can use to run commands or start shell sessions on Amazon EC2 Bottlerocket instances. For more information, seeSetting up Session Manager in theAWS Systems Manager User Guide.

  • Bottlerocket is optimized for container workloads and has a focus on security. Bottlerocket doesn't include a package manager and is immutable.

    For information about the security features and guidance, seeSecurity Features andSecurity Guidance on GitHub.

  • Theawsvpc network mode is supported for Bottlerocket AMI version1.1.0 or later.

  • App Mesh in a task definition is supported for Bottlerocket AMI version1.15.0 or later.

  • TheinitProcessEnabled task definition parameter is supported for Bottlerocket AMI version1.19.0 or later.

  • The Bottlerocket AMIs also don't support the following services and features:

    • ECS Anywhere

    • Service Connect

    • Amazon EFS in encrypted mode

    • Amazon EFS inawsvpc network mode

    • Amazon EBS volumes can't be mounted

    • Elastic Inference Accelerator

Amazon ECS-optimized Linux AMI build script
Retrieving Amazon ECS-optimized Bottlerocket AMI metadata

[8]
ページ先頭

©2009-2025 Movatter.jp