amazon-ec2-image-builder
Skill by aws
Creates and automates custom AMI and container image builds with EC2 Image Builder. Useful for engineers who build golden AMIs, schedule OS patching, or debug failed builds.
Install amazon-ec2-image-builder
Built from the published package, never by AI.
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws /tmp/agent-toolkit-for-aws && mkdir -p ~/.claude/skills && cp -r /tmp/agent-toolkit-for-aws/skills/specialized-skills/ec2-skills/amazon-ec2-image-builder ~/.claude/skills/amazon-ec2-image-builderRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install amazon-ec2-image-builder in Claude Code
git clone --depth 1 https://github.com/aws/agent-toolkit-for-aws /tmp/agent-toolkit-for-aws && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agent-toolkit-for-aws/skills/specialized-skills/ec2-skills/amazon-ec2-image-builder ~/.gemini/antigravity-cli/skills/amazon-ec2-image-builderAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install amazon-ec2-image-builder in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The EC2 Image Builder skill helps an AI assistant create and automate custom AMIs and container images with EC2 Image Builder. It covers the build IAM role, Amazon-managed and custom components, image recipes, infrastructure and distribution settings, and one-off or scheduled builds. It also covers diagnosing failed builds.
The skill routes each request to a reference file. These cover image creation, distribution options such as launch templates, SSM parameters, and other Regions, troubleshooting, Windows, macOS, and container image notes, and custom workflows. It is for engineers who build golden AMIs, apply OS patching on a schedule, or need to debug a build. The source says it works best with the AWS MCP server and also works with standard AWS CLI access.
Written from the project's SKILL.md and checked against it.
What it can do
- Build IAM role setupCovers the IAM role that Image Builder builds use.
- Components and recipesCovers Amazon-managed and custom components and image recipes.
- Infrastructure and distributionCovers build infrastructure, launch templates, SSM parameters, and other Regions.
- One-off and scheduled buildsCovers single image builds and recurring pipelines for golden AMI automation.
- Windows, macOS, and containersCovers Windows reboots, macOS Dedicated Hosts, and container images to ECR.
- Failed build diagnosisExplains where to find root causes for failed builds and API errors.
What you need
- AWS account with Image Builder permissions
- AWS CLI access or the AWS MCP server
Try asking
- Create a golden AMI pipeline that rebuilds weekly with OS patches
- Set up an Image Builder recipe for Amazon Linux 2023 with CloudWatch agent
- Publish my new AMI ID to an SSM parameter in another Region
Good to know
- Does not cover launching instances from existing AMIs
- Does not cover AMI sharing, retirement, or lifecycle management
- Does not cover VM or ISO image import and export
- macOS builds require Mac Dedicated Hosts
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/specialized-skills/ec2-skills/amazon-ec2-image-builder/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md18 KB -
references/creating-images.md27 KB -
references/custom-workflows.md9 KB -
references/distribution-options.md8 KB -
references/iac.md10 KB
Show all 8 files
-
references/other-image-types.md6 KB -
references/teardown.md14 KB -
references/troubleshooting.md17 KB
Alternatives to amazon-ec2-image-builder
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
amazon-ec2-image-builder: common questions
Can this skill create container images?
Yes. The source says it covers container images to ECR, which needs an extra policy on the build role.
Does it handle AMI cleanup or retirement?
No. The source says AMI lifecycle and retirement are not covered and should be routed to aws-compute.
Does it need the AWS MCP server?
The source says the MCP server is recommended for sandboxed execution and audit logging, but standard AWS CLI access also works.
How do I install amazon-ec2-image-builder?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is amazon-ec2-image-builder free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is amazon-ec2-image-builder safe to use?
It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to amazon-ec2-image-builder?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
