get proper ami id for ec2