
Skill
creating-ec2-image-builder-pipeline
create EC2 Image Builder pipelines
Description
Creates a complete EC2 Image Builder pipeline that builds a custom AMI with pre-installed software, distributes it to target regions, executes the pipeline, and creates a launch template. Use when setting up automated AMI creation with IAM roles, build components, image recipes, and infrastructure configuration.
SKILL.md
Creating an EC2 Image Builder Pipeline
Overview
Domain expertise for creating and managing EC2 Image Builder pipelines that automate custom AMI creation. Covers the full lifecycle: IAM role setup, build component definition, image recipe creation, infrastructure and distribution configuration, pipeline execution, and launch template creation.
Create an Image Builder pipeline
To create a complete EC2 Image Builder pipeline with custom AMI builds and cross-region distribution, follow the procedure exactly. See EC2 Image Builder pipeline procedure.
Troubleshooting
InvalidParameterValueException on pipeline operations
Use the exact ARN returned by API calls — do not construct ARNs manually. Pipeline
ARNs must follow arn:<partition>:imagebuilder:<region>:<account>:image-pipeline/<name>.
InstanceProfileNotFoundException
Wait 10–15 seconds after creating the instance profile before using it. IAM changes are eventually consistent.
ResourceAlreadyExistsException
Delete the existing resource first or use a different name/version.
Build instance fails to launch
Verify the instance profile exists, all three IAM policies are attached, and the instance type is available in the region.
More skills from the agent-toolkit-for-aws repository
View all 105 skillsagents-build
add capabilities to existing agent projects
Jul 12AgentsAutomationAWSEngineeringagents-connect
connect agents to external services
Jul 16AgentsAPI DevelopmentAuthenticationAWSagents-debug
debug agent and environment issues
Jul 16AgentsAWSDebuggingObservabilityagents-deploy
deploy AI agents to AWS
Jul 12AgentsAWSCI/CDDeploymentagents-get-started
scaffold and deploy new agent projects
Jul 12AgentsAWSDeploymentagents-harden
harden agents for production
Jul 16AgentsAWSBest PracticesSecurity
More from AWS (Amazon)
View publisheragents-optimize
optimize agent quality and performance
agent-toolkit-for-aws
Jul 12AgentsAWSEvalsObservability +1amazon-aurora-mysql
manage Amazon Aurora MySQL clusters
agent-toolkit-for-aws
Jul 12AWSDatabaseMySQLServerlessamazon-aurora-postgresql
configure Amazon Aurora PostgreSQL clusters
agent-toolkit-for-aws
Jul 16AWSDatabasePostgreSQLServerlessamazon-bedrock
build generative AI apps with Amazon Bedrock
agent-toolkit-for-aws
Jul 19AgentsAWSLLMamazon-documentdb
manage Amazon DocumentDB clusters
agent-toolkit-for-aws
Jul 12AWSDatabaseMongoDBNoSQLamazon-dynamodb
design and debug DynamoDB data layers
agent-toolkit-for-aws
Jul 16AWSDatabaseNoSQL