def read_settings(instance_id, remote_ip = nil)
      check_instance_ips(remote_ip, instance_id) if remote_ip

      get_instance(instance_id).settings
    end
def read_settings(instance_id, remote_ip = nil)
      check_instance_ips(remote_ip, instance_id) if remote_ip

      get_instance(instance_id).settings
    end
Reads instance settings
 @param [String] instance_id instance id
 @param [optional, String] remote_ip If this IP is provided,
        check will be performed to see if it instance id
        actually has this IP address according to the IaaS.