Agent skill · hashicorp

aws-ami-builder

Build Amazon Machine Images (AMIs) with Packer using the amazon-ebs builder. Use when creating custom AMIs for EC2 instances.

What it needs

About 2k tokens when loaded.

What this skill does

AWS AMI Builder Build Amazon Machine Images (AMIs) using Packer's amazon-ebs builder. Reference: Amazon EBS Builder Note: Building AMIs incurs AWS costs (EC2 instances, EBS storage, data transfer). Builds typically take 10-30 minutes depending on provisioning complexity. Basic AMI Template Common Source AMI Filters Ubuntu 22.04 LTS Amazon Linux 2023 Multi-Region AMI Authentication Packer uses AWS credential resolution: 1. Environment variables: AWSACCESSKEYID, AWSSECRETACCESSKEY 2. AWS credentials file: ~/.aws/credentials 3. IAM instance profile (when running on EC2) Build Commands Common Issues SSH Timeout Ensure security group allows SSH (port 22) Verify subnet has internet access AMI Already Exists AMI names must be unique Use timestamp in name: my-app-${local.timestamp} Volume Size Too Small Check source AMI's volume size Set launchblockdevicemappings.volumesize accordingly References Amazon EBS Builder AWS AMI Documentation

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills hashicorp/aws-ami-builder--9ebc2b

View the source on GitHub

Browse the @skills marketplace