Code to create an Amazon EC2 AMI