ec2_register_image function

Registers an AMI