Posted On: Nov 22, 2021
Amazon Elastic Container Service (Amazon ECS) today open-sourced the build scripts that Amazon ECS uses to build the Amazon ECS-optimized Amazon Machine Image (AMI). These build scripts are now available on GitHub as an open-source project under the Apache license 2.0. Customers can use these build scripts to build custom AMIs with security, monitoring, and compliance controls based on their organization’s requirements while using the same components as the Amazon ECS-optimized AMI.
The Amazon ECS-optimized AMI repository includes templates and scripts to generate an AMI. These scripts are the source of truth for Amazon ECS optimized AMI builds, so customers can follow the GitHub repository to monitor changes to the Amazon ECS-optimized AMIs. Amazon ECS also continues to develop Amazon ECS Container Agent, which is responsible for managing containers on behalf of Amazon ECS, also continues to be developed as an open source project on Github.
The Amazon ECS-optimized Amazon Linux AMI is built on top of Amazon Linux 2. Customers can view the source image name by querying the AWS Systems Manager Parameter Store API. Customers can get started using the build scripts that we are releasing today to build custom AMIs in all public AWS regions by following the steps in the blog or by reviewing our documentation.