You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-studio/how-to/configure-private-link.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -271,6 +271,8 @@ If you need to configure custom DNS server without DNS forwarding, use the follo
271
271
> * Compute instances can be accessed only from within the virtual network.
272
272
> * The IP address for this FQDN is **not** the IP of the compute instance. Instead, use the private IP address of the workspace private endpoint (the IP of the `*.api.azureml.ms` entries.)
273
273
274
+
*`<instance-name>.<region>.instances.azureml.ms` - Only used by the `az ml compute connect-ssh` command to connect to computes in a managed virtual network. Not needed if you are not using a managed network or SSH connections.
275
+
274
276
*`<managed online endpoint name>.<region>.inference.ml.azure.com` - Used by managed online endpoints
275
277
276
278
To find the private IP addresses for your A records, see the [Azure Machine Learning custom DNS](../../machine-learning/how-to-custom-dns.md#find-the-ip-addresses) article.
1. When a compute instance is running, the terminal window for that compute instance appears.
40
-
1. When no compute instance is running, use the **Compute** section on the right to start or create a compute instance.
40
+
1. When no compute instance is running, use the **Compute** section to start or create a compute instance.
41
41
:::image type="content" source="media/how-to-use-terminal/start-or-create-compute.png" alt-text="Start or create a compute instance":::
42
42
43
-
In addition to the steps above, you can also access the terminal from:
43
+
In addition to the previous steps, you can also access the terminal from:
44
44
45
45
* RStudio or Posit Workbench (formerly RStudio Workbench) (See [Add custom applications such as RStudio or Posit Workbench)](how-to-create-compute-instance.md?tabs=python#add-custom-applications-such-as-rstudio-or-posit-workbench)): Select the **Terminal** tab on top left.
46
46
* Jupyter Lab: Select the **Terminal** tile under the **Other** heading in the Launcher tab.
47
47
* Jupyter: Select **New>Terminal** on top right in the Files tab.
48
-
* SSH to the machine, if you enabled SSH access when the compute instance was created.
48
+
* SSH to the machine, if you enabled SSH access when the compute instance was created. If the compute instance is in a managed virtual network and doesn't have a public IP address, use the `az ml compute connect-ssh` command to connect to the compute instance.
49
49
50
50
## Copy and paste in the terminal
51
51
@@ -55,7 +55,7 @@ In addition to the steps above, you can also access the terminal from:
55
55
56
56
## <aname=git></a> Use files from Git and version files
57
57
58
-
Access all Git operations from the terminal. All Git files and folders will be stored in your workspace file system. This storage allows you to use these files from any compute instance in your workspace.
58
+
Access all Git operations from the terminal. All Git files and folders are stored in your workspace file system. This storage allows you to use these files from any compute instance in your workspace.
59
59
60
60
> [!NOTE]
61
61
> Add your files and folders anywhere under the **~/cloudfiles/code/Users** folder so they will be visible in all your Jupyter environments.
@@ -64,7 +64,7 @@ To integrate Git with your Azure Machine Learning workspace, see [Git integrati
64
64
65
65
## Install packages
66
66
67
-
Install packages from a terminal window. Install packages into the kernel that you want to use to run your notebooks. The default kernel is **python310-sdkv2**.
67
+
Install packages from a terminal window. Install packages into the kernel that you want to use to run your notebooks. The default kernel is **python310-sdkv2**.
68
68
69
69
Or you can install packages directly in Jupyter Notebook, RStudio, or Posit Workbench (formerly RStudio Workbench):
70
70
@@ -81,13 +81,13 @@ Or you can install packages directly in Jupyter Notebook, RStudio, or Posit Work
81
81
82
82
To add a new Jupyter kernel to the compute instance:
83
83
84
-
1. Use the terminal window to create a new environment. For example, the code below creates `newenv`:
84
+
1. Use the terminal window to create a new environment. For example, the following command creates `newenv`:
85
85
86
86
```shell
87
87
conda create --name newenv
88
88
```
89
89
90
-
1. Activate the environment. For example, after creating `newenv`:
90
+
1. Activate the environment. For example, after creating `newenv`:
91
91
92
92
```shell
93
93
conda activate newenv
@@ -105,13 +105,13 @@ Any of the [available Jupyter Kernels](https://github.com/jupyter/jupyter/wiki/J
105
105
106
106
To add a new R kernel to the compute instance:
107
107
108
-
1. Use the terminal window to create a new environment. For example, the code below creates `r_env`:
108
+
1. Use the terminal window to create a new environment. For example, the following command creates `r_env`:
109
109
110
110
```shell
111
111
conda create -n r_env r-essentials r-base
112
112
```
113
113
114
-
1. Activate the environment. For example, after creating `r_env`:
114
+
1. Activate the environment. For example, after creating `r_env`:
115
115
116
116
```shell
117
117
conda activate r_env
@@ -135,7 +135,7 @@ To add a new R kernel to the compute instance:
135
135
q()
136
136
```
137
137
138
-
It will take a few minutes before the new R kernel is ready to use. If you get an error saying it is invalid, wait and then try again.
138
+
It takes a few minutes before the new R kernel is ready to use. If you get an error saying it's invalid, wait and then try again.
139
139
140
140
For more information about conda, see [Using R language with Anaconda](https://docs.anaconda.com/free/anaconda/packages/using-r-language/). For more information about IRkernel, see [Native R kernel for Jupyter](https://cran.r-project.org/web/packages/IRkernel/readme/README.html).
141
141
@@ -144,7 +144,7 @@ For more information about conda, see [Using R language with Anaconda](https://d
144
144
> [!WARNING]
145
145
> While customizing the compute instance, make sure you do not delete conda environments or jupyter kernels that you didn't create.
146
146
147
-
To remove an added Jupyter kernel from the compute instance, you must remove the kernelspec, and (optionally) the conda environment. You can also choose to keep the conda environment. You must remove the kernelspec, or your kernel will still be selectable and cause unexpected behavior.
147
+
To remove an added Jupyter kernel from the compute instance, you must remove the kernelspec, and (optionally) the conda environment. You can also choose to keep the conda environment. You must remove the kernelspec, or your kernel is still selectable and cause unexpected behavior.
148
148
149
149
To remove the kernelspec:
150
150
@@ -174,11 +174,11 @@ To also remove the conda environment:
174
174
conda env remove -n ENV_NAME
175
175
```
176
176
177
-
Upon refresh, the kernel list in your notebooks view should reflect the changes you have made.
177
+
Upon refresh, the kernel list in your notebooks view should reflect the changes you made.
178
178
179
179
## Manage terminal sessions
180
180
181
-
Terminal sessions can stay active if terminal tabs are not properly closed. Too many active terminal sessions can impact the performance of your compute instance.
181
+
Terminal sessions can stay active if terminal tabs aren't properly closed. Too many active terminal sessions can impact the performance of your compute instance.
182
182
183
183
Select **Manage active sessions** in the terminal toolbar to see a list of all active terminal sessions and shut down the sessions you no longer need.
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-custom-dns.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,20 +75,23 @@ Access to a given Azure Machine Learning workspace via Private Link is done by c
75
75
-```<per-workspace globally-unique identifier>.workspace.<region the workspace was created in>.api.azureml.ms```
76
76
-```<per-workspace globally-unique identifier>.workspace.<region the workspace was created in>.cert.api.azureml.ms```
77
77
-```<compute instance name>.<region the workspace was created in>.instances.azureml.ms```
78
+
-`<compute instance name>-22.<region the workspace was created in>.instances.azureml.ms` - Used by the `az ml compute connect-ssh` command to connect to computes in a managed virtual network.
-```<managed online endpoint name>.<region>.inference.ml.azure.com``` - Used by managed online endpoints
80
81
81
82
**Microsoft Azure operated by 21Vianet regions**:
82
83
-```<per-workspace globally-unique identifier>.workspace.<region the workspace was created in>.api.ml.azure.cn```
83
84
-```<per-workspace globally-unique identifier>.workspace.<region the workspace was created in>.cert.api.ml.azure.cn```
84
85
-```<compute instance name>.<region the workspace was created in>.instances.azureml.cn```
86
+
-`<compute instance name>-22.<region the workspace was created in>.instances.azureml.cn` - Used by the `az ml compute connect-ssh` command to connect to computes in a managed virtual network.
-```<managed online endpoint name>.<region>.inference.ml.azure.cn``` - Used by managed online endpoints
87
89
88
90
**Azure US Government regions**:
89
91
-```<per-workspace globally-unique identifier>.workspace.<region the workspace was created in>.api.ml.azure.us```
90
92
-```<per-workspace globally-unique identifier>.workspace.<region the workspace was created in>.cert.api.ml.azure.us```
91
93
-```<compute instance name>.<region the workspace was created in>.instances.azureml.us```
94
+
-`<compute instance name>.<region the workspace was created in>.instances.azureml.us` - Used by the `az ml compute connect-ssh` command to connect to computes in a managed virtual network.
-```<managed online endpoint name>.<region>.inference.ml.azure.us``` - Used by managed online endpoints
94
97
@@ -134,7 +137,7 @@ The following list contains the fully qualified domain names (FQDNs) used by you
134
137
> [!NOTE]
135
138
> * Compute instances can be accessed only from within the virtual network.
136
139
> * The IP address for this FQDN is **not** the IP of the compute instance. Instead, use the private IP address of the workspace private endpoint (the IP of the `*.api.azureml.ms` entries.)
137
-
140
+
*`<instance-name>-22.<region>.instances.azureml.ms` - Only used by the `az ml compute connect-ssh` command to connect to computes in a managed virtual network. Not needed if you are not using a managed network or SSH connections.
138
141
*`<managed online endpoint name>.<region>.inference.ml.azure.com` - Used by managed online endpoints
139
142
140
143
#### Microsoft Azure operated by 21Vianet region
@@ -152,6 +155,7 @@ The following FQDNs are for Microsoft Azure operated by 21Vianet regions:
152
155
153
156
* The IP address for this FQDN is **not** the IP of the compute instance. Instead, use the private IP address of the workspace private endpoint (the IP of the `*.api.azureml.ms` entries.)
154
157
158
+
*`<instance-name>-22.<region>.instances.azureml.cn` - Only used by the `az ml compute connect-ssh` command to connect to computes in a managed virtual network. Not needed if you are not using a managed network or SSH connections.
155
159
*`<managed online endpoint name>.<region>.inference.ml.azure.cn` - Used by managed online endpoints
156
160
157
161
#### Azure US Government
@@ -167,6 +171,8 @@ The following FQDNs are for Azure US Government regions:
167
171
*`<instance-name>.<region>.instances.azureml.us`
168
172
> * The IP address for this FQDN is **not** the IP of the compute instance. Instead, use the private IP address of the workspace private endpoint (the IP of the `*.api.azureml.ms` entries.)
169
173
174
+
*`<instance-name>-22.<region>.instances.azureml.us` - Only used by the `az ml compute connect-ssh` command to connect to computes in a managed virtual network. Not needed if you are not using a managed network or SSH connections.
175
+
170
176
*`<managed online endpoint name>.<region>.inference.ml.azure.us` - Used by managed online endpoints
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-manage-compute-instance.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,6 +145,10 @@ For each compute instance in a workspace that you created (or that was created f
145
145
146
146
* Access Jupyter, JupyterLab, RStudio on the compute instance.
147
147
* SSH into compute instance. SSH access is disabled by default but can be enabled at compute instance creation time. SSH access is through public/private key mechanism. The tab gives you details for SSH connection such as IP address, username, and port number. In a virtual network deployment, disabling SSH prevents SSH access from public internet. You can still SSH from within virtual network using private IP address of compute instance node and port 22.
148
+
149
+
> [!TIP]
150
+
> If the compute instances is in a *managed* virtual network and the public IP address is disabled, use the `az ml compute connect-ssh` command to connect to the compute instance.
151
+
148
152
* Select the compute name to:
149
153
* View details about a specific compute instance such as IP address, and region.
150
154
* Create or modify the schedule for starting and stopping the compute instance. Scroll down to the bottom of the page to edit the schedule.
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-managed-network-compute.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,7 @@ You can't create a compute cluster or compute instance from the Azure portal. In
158
158
## Limitations
159
159
160
160
* Creating a compute cluster in a different region than the workspace isn't supported when using a managed virtual network.
161
+
* If the compute is in a managed network and also configured for no public IP, use the `az ml compute connect-ssh` command to connect to the compute instance over SSH.
Copy file name to clipboardExpand all lines: articles/machine-learning/how-to-managed-network.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1104,6 +1104,7 @@ The Azure Machine Learning managed VNet feature is free. However, you're charged
1104
1104
* Creating a compute cluster in a different region than the workspace isn't supported when using a managed VNet.
1105
1105
* Kubernetes and attached VMs aren't supported in an Azure Machine Learning managed VNet.
1106
1106
* Using FQDN outbound rules increases the cost of the managed VNet because FQDN rules use Azure Firewall. For more information, see [Pricing](#pricing).
1107
+
* If your compute instance is in a managed network and is configured for no public IP, use the `az ml compute connect-ssh` command to connect to it using SSH.
0 commit comments