Introduction to AMIs and EC2 Image Builder
Creating, copying, sharing and retiring AMIs, and automating AMI and container image pipelines with EC2 Image Builder.
- 3 lessons
- Module quiz
An Amazon Machine Image (AMI) packages an operating system, software and configuration so that instances launch ready to work. Building images in advance, rather than configuring each instance at launch, makes launches faster and more consistent and lets images be tested and patched centrally.
EC2 Image Builder automates this process with pipelines that build, test and distribute AMIs and container images on a schedule or when a parent image changes. AMIs are Regional, so they must be copied to each Region where they are used, and sharing encrypted AMIs requires a customer managed KMS key.
What the exam expects
Questions test creating, copying and sharing AMIs, including encrypted AMIs, retiring images by deprecating, disabling and deregistering them, and the Image Builder resource model of recipes, components, infrastructure and distribution configurations, and pipelines.
How this module is organised
Creating, Sharing and Retiring AMIs explains the AMI lifecycle. Automating AMI Builds with EC2 Image Builder Pipelines explains automated builds, and Governing Container Base Images explains how the same approach governs container base images.