mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
4.3 KiB
4.3 KiB
Image Builder
AWS service automating the creation, management, and deployment of customized AMIs or Docker images.
TL;DR
Images created by Image Builder in one's account are owned by that account.
Leverages AWS' Task Orchestrator and Executor component management application.
For AMIs, it:
- Creates EC2 instances for building and validation.
- Creates a snapshots of the result.
- Terminates the EC2 instances used for building.
- Uses that snapshot to create new EC2 instances for testing.
For containers, it:
- Creates EC2 instances for building and validation.
- Builds container images.
- Runs containers from the images for testing.
- Terminates the EC2 instances used for building.
Glossary
| Term | Summary |
|---|---|
| Component | YAML-based document defining the steps to take to build, validate or test images |
| Recipe | Document defining the base image and the components to apply to it to produce the desired image |
| Infrastructure Configuration | The EC2 infrastructure to use to build and test the desired image |
| Distribution Configuration | How the outputted images are made available to specified AWS Regions |
| Pipeline | Automation framework for creating and maintaining custom images |
Supported operating systems
Refer Supported operating systems for the updated table.
| Operating system/distribution | Supported versions |
|---|---|
| Amazon Linux | 2, 2023 |
| CentOS | 7, 8 |
| CentOS Stream | 8 |
| Mac OS X | 12.x (Monterey), 13.x (Ventura), 14.x (Sonoma) |
| Red Hat Enterprise Linux (RHEL) | 7, 8, 9 |
| SUSE Linux Enterprise Server (SLE) | 12, 15 |
| Ubuntu | 18.04 LTS, 20.04 LTS, 22.04 LTS, 24.04 LTS |
| Windows Server | 2012 R2, 2016, 2019, 2022 |
Image Builder costs nothing to create custom AMI or container images per se.
However, standard pricing applies for the other services that are used by or in the process, like EC2 instances, EBS
volumes, and ECR storage.
Components can be specified at most once in an image recipe.
Steps:
AMI creation
- [optional] Create new components as needed.
- [optional] Create a new image recipe.
- [optional] Create a new infrastructure configuration.
- [optional] Create a new distribution configuration.
- Create a new pipeline.
Container image creation
TODO