Azure / Azure/MachineLearningNotebooks

On-Prem VMs as Compute Targets

未关闭
#1,212 10 条评论 1 个 reaction 已指派 1 人 已被 @sauryadas 认领 在 GitHub 查看
ADO Compute doc-enhancement product-gap
主要语言
Jupyter Notebook
星标
4.4k
派生
2.6k
PR 合并指标
30 天内没有已合并 PR

描述

The [documentation](https://docs.microsoft.com/en-us/azure/machine-learning/how-to-attach-compute-targets#vm) says that we can attach remote VMs such as _"an Azure VM, **a remote server in your organization, or on-premises**. Specifically, given the IP address and credentials (user name and password, or SSH key), you can use any accessible VM for remote runs."_

However, in both the studio as well as the provided code snippet, a resource ID is required.

```python
from azureml.core.compute import RemoteCompute, ComputeTarget

# Create the compute config
compute_target_name = "attach-dsvm"

attach_config = RemoteCompute.attach_configuration(resource_id='',
ssh_port=22,
username='',
password="")

# Attach the compute
compute = ComputeTarget.attach(ws, compute_target_name, attach_config)

compute.wait_for_completion(show_output=True)
```

As such, I was wondering if it's possible to do as the documentation suggests and attach our SSH-accessible servers to AML.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。