creating-ec2-image-builder-pipeline
aws/agent-toolkit-for-aws
How to install creating-ec2-image-builder-pipeline
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill creating-ec2-image-builder-pipelineFull instructions (SKILL.md)
Source of truth, from aws/agent-toolkit-for-aws.
name: creating-ec2-image-builder-pipeline 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. version: 1
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.
Related skills
More from aws/agent-toolkit-for-aws and the wider catalog.

creating-production-vpc-multi-az
Creates a production-ready VPC with public and private subnets across multiple Availability Zones, including internet gateway, NAT gateways, route tables, and security groups following AWS Well-Architected principles. Use when deploying multi-AZ VPC infrastructure with automatic CIDR planning and DNS resolution.

creating-secrets-using-best-practices
Create and manage AWS Secrets Manager secrets with production-grade security controls and best practices.

debugging-lambda-timeouts
Systematically debug AWS Lambda timeout failures by analyzing configuration, logs, metrics, and dependencies.

enabling-lambda-vpc-internet-access
Enables internet access for AWS Lambda functions deployed in VPC subnets by creating NAT Gateway infrastructure, configuring public/private subnet routing, and updating security groups. Use when a VPC-attached Lambda function cannot reach the internet.

exploring-data-catalog
Full inventory and audit of AWS Glue Data Catalog, S3 Tables, Redshift-federated, and remote Iceberg catalogs.

exporting-rds-to-s3
Exports Amazon RDS or Aurora database snapshots to Amazon S3 in Apache Parquet format for analytics, backup, or data migration. Handles snapshot selection or creation, IAM role setup, KMS encryption, S3 bucket preparation, export task execution, progress monitoring, and data verification. Use when exporting RDS/Aurora data to S3 for Athena, Glue, or Redshift Spectrum consumption.