Posted On: Nov 22, 2021

HAQM Elastic Container Service (HAQM ECS) today open-sourced the build scripts that HAQM ECS uses to build the HAQM ECS-optimized HAQM 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 HAQM ECS-optimized AMI.

The HAQM ECS-optimized AMI repository includes templates and scripts to generate an AMI. These scripts are the source of truth for HAQM ECS optimized AMI builds, so customers can follow the GitHub repository to monitor changes to the HAQM ECS-optimized AMIs. HAQM ECS also continues to develop HAQM ECS Container Agent, which is responsible for managing containers on behalf of HAQM ECS, also continues to be developed as an open source project on Github.

The HAQM ECS-optimized HAQM Linux AMI is built on top of HAQM 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.