Conditionally try to get ebs_optimized parameter from instance