'Simple boto call to get the instance based on the instance-id'

def get_ec2_instance_by_id(self, instance_id):

    instances = self.ec2_con.get_only_instances([instance_id])
    if (len(instances) == 1):
        return self.ec2_con.get_only_instances([instance_id])[0]
    else:
        return None
