I posted how to create an Amazon Linux image on the AWS Developer Forum ( copied from https://forums.aws.amazon.com/message.jspa?messageID=574500 ) :
For anyone interested, I got this working. I'd push up the image to the registry, but I'm not sure if I have permission to do so. If someone from AWS would like, I can put the file somewhere (~100mb).
- Boot up an amazon linux ami (I used amzn-ami-hvm-2016.03.0.x86_64-gp2).
- yum install -y docker && service docker start
- wget -q https://raw.githubusercontent.com/docker/docker/master/contrib/mkimage-yum.sh
- bash mkimage-yum.sh ambakshi/amazon-linux
At this point you have an image with the specified name, tagged by the os version. You can run it, retag it and push it to a private registry, export it, etc. Came in real handy during our move from centos to amazon linux when I was testing puppet.