Skill 1.3.3
Automating Amazon EC2 instance and container image build processes (for example, EC2 Image Builder)
Key Concepts
An Image Builder pipeline combines an image recipe (a base image plus build and test components), an infrastructure configuration (instance type, subnet, instance profile) and distribution settings (Regions, accounts, launch template updates). It can run on a schedule or when the base image is updated, and container recipes push images to ECR.
Test components validate the image before it is distributed, and Amazon Inspector scanning can check it for vulnerabilities. Distribution settings can update a launch template with the new AMI ID, and an Auto Scaling group instance refresh then rolls it out. The AMI ID can also be written to Parameter Store for other stacks to use.