Azure / Azure/MachineLearningNotebooks

On-Prem VMs as Compute Targets

Offen
#1,212 10 Kommentare 1 Reaktion 1 zugewiesene Person Beansprucht von @sauryadas Auf GitHub ansehen
ADO Compute doc-enhancement product-gap
Vorherrschende Sprache
Jupyter Notebook
Sterne
4.4k
Forks
2.6k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.