Loading...
Loading...
Creates and automates custom image builds with EC2 Image Builder - Linux, Windows, and macOS AMIs, and container images to ECR. Covers the build IAM role, Amazon-managed and custom components, image recipes, infrastructure and distribution configuration (launch templates, SSM parameters, other Regions), one-off builds, recurring scheduled pipelines for golden AMI automation and OS patching, custom image workflows, and diagnosing failed builds. Applies when creating, automating, or scheduling AMI or container image builds with Image Builder, or when debugging a failed build. Not for launching instances from existing AMIs, AMI lifecycle/retirement, or general EC2 fleet management.
npx skill4agent add aws/agent-toolkit-for-aws amazon-ec2-image-builderretrieve_skillretrieve_skillfilefile="references/creating-images.md"file_read.kiro/skills/amazon-ec2-image-builder/~/.claude/skills/amazon-ec2-image-builder/retrieve_skill| The user wants | Do this |
|---|---|
| One custom AMI, once | Follow creating-images.md through step 7a: |
| A golden AMI that stays current (scheduled rebuilds that pick up base-image updates and patches) | An image pipeline: follow creating-images.md — the schedule is part of the create-image-pipeline call (step 7b). |
| Use this skill | When the request is about |
|---|---|
| launching-ec2-instance-with-best-practices | Launching instances from an AMI the user already has |
| setting-up-ec2-instance-profiles | Instance profiles in general (not the build IAM role this skill creates) |
| aws-compute | AMI sharing, retiring, and lifecycle management; general EC2 fleet questions |
| User need | Read |
|---|---|
| Create an image or pipeline end to end: role, components, recipe, infrastructure, schedules, patching, scanning, chaining | creating-images.md |
Get the output AMI where it's needed: launch templates, SSM parameters (the service-linked role writes only under | distribution-options.md |
| A build failed, hangs, or an Image Builder API call errors | troubleshooting.md |
| Windows (exit-3010 reboots), macOS (Mac Dedicated Hosts required), container images to ECR (extra build-role policy) | other-image-types.md |
| Custom image workflows (advanced — always require an execution role) | custom-workflows.md |
--filters "name=name,values=Amazon Linux 2023 x86"x.x.xssm:/aws/imagebuilder/<image-name>1943010get-imageget-image-pipelinelaunchTemplateConfigurationsssmParameterConfigurationsinstanceMetadataOptions httpTokens=requiredaws imagebuilder list-components --owner Amazon/aws/imagebuilder/...aws logs associate-kms-keyaws.imagebuilderEC2 Image Builder Image State Change