Image components store common commands that are used to create an image. The commands include application commands, configuration commands, and test commands. When you create an image template, you can select one or more image components in the Elastic Compute Service (ECS) console to define the image template. This topic describes how to create an image component in the ECS console.
Background information
- Before you create an image component, take note of the following items:
- Only custom image components can be created.
- Image components can be used to create only Linux images.
- When you create an image component, you must set Component Type to Build.
- Each command used to create an image component cannot exceed 16 KB in size. A maximum of 127 commands can be configured to create an image component.
- For more information about the commands that the Image Template parameter of image components support, see Commands supported by Image Builder.