Adding CreateImage for creating amis of instances