Azure / Azure/MachineLearningNotebooks

On-Prem VMs as Compute Targets

Open
#1,212 10 comments 1 reaction 1 assignee Claimed by @sauryadas View on GitHub
ADO Compute doc-enhancement product-gap
Dominant language
Jupyter Notebook
Stars
4.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.