Skip to content

Commit 0841873

Browse files
committed
Adding a new page for data science virtual machines.
1 parent 2dc330a commit 0841873

File tree

2 files changed

+66
-31
lines changed

2 files changed

+66
-31
lines changed

articles/notebooks/configure-manage-azure-notebooks-projects.md

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -33,37 +33,7 @@ Azure Notebooks starts the underlying virtual machine whenever you run a noteboo
3333

3434
## Compute tier
3535

36-
The **Run** drop-down list on the project dashboard is where you select the compute tier on which the project runs. By default, projects run on the **Free Compute** tier, which is limited to 4GB of memory and 1GB of data to prevent abuse:
37-
38-
![Compute tier drop-down list on the project dashboard](media/project-compute-tier-list.png)
39-
40-
You can bypass these limitations by using a different virtual machine that you've provisioned in an Azure subscription. You must install and run JupyterHub on that virtual machine. The Data Science Virtual Machine for Linux (Ubuntu) image is a good choice because it is supported, it has a compatible JupyterHub by default, and it will be automatically discovered.
41-
42-
Once you have a suitably configured Azure virtual machine, select the **Direct Compute** option in the drop-down list, which prompts you for a name (to show in the list), the VM's IP address and port (typically 8000, the default port to which JupyterHub listens), and the VM credentials:
43-
44-
![Prompt to collect server information for the Direct Compute option](media/project-compute-tier-direct.png)
45-
46-
If the following conditions are true, the drop-down list also shows [Data Science Virtual Machine (DSVM)](/azure/machine-learning/data-science-virtual-machine) instances. (If any of these conditions aren't met, you can still connect to the DSVM using the Direct Compute option and enter the values obtained from the Azure portal.)
47-
48-
- You're signed into Azure Notebooks with an account that uses Azure Active Directory (AAD), such as a company account.
49-
- Your account is connected to an Azure subscription.
50-
- You have one or more virtual machines in that subscription, with at least Reader access, that use the Data Science Virtual Machine for Linux (Ubuntu) image.)
51-
52-
![Data Science Virtual Machine instances in the drop-down list on the project dashboard](media/project-compute-tier-dsvm.png)
53-
54-
When you select a DSVM instance, Azure Notebooks may prompt you for the specific machine credentials used when you created the VM.
55-
56-
To create a new DSVM instance, follow the instructions on [Create an Ubuntu Data Science VM](/azure/machine-learning/data-science-virtual-machine/dsvm-ubuntu-intro). Use the **Data Science Virtual Machine for Linux (Ubuntu)** image if you want the DSVM to appear in the drop-down list in Azure Notebooks.
57-
58-
> When a project is run on a VM the files will be mounted on the root directory of the Jupyter Server replacing the default Azure Notebooks files.
59-
>
60-
> If you would like to get the default files back then you will need to shutdown the compute.
61-
>
62-
> ![Shutdown compute](media/shutdown.png)
63-
>
64-
> Then the default files will reappear if you go to JupyterHub directly.
65-
>
66-
> ![Default Azure Notebooks files](media/juptyerhub-files.png)
36+
See [how to use Data Science Virtual Machines](use-data-science-virtual-machine.md).
6737

6838
## Edit project metadata
6939

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
title: Use Data Science Virtual Machines
3+
description: Why use a Data Science Virutal Machine (DSVM). How to connect to a DSVM, and how to access a DSVM from Azure Notebooks.
4+
services: app-service
5+
documentationcenter: ''
6+
author: getroyer
7+
manager: andneil
8+
9+
ms.assetid: 0ccc2529-e17f-4221-b7c7-9496d6a731cc
10+
ms.service: azure-notebooks
11+
ms.workload: na
12+
ms.tgt_pltfrm: na
13+
ms.devlang: na
14+
ms.topic: article
15+
ms.date: 05/08/2019
16+
ms.author: getroyer
17+
---
18+
19+
# Using Data Science Virtual Machines
20+
21+
## Why connect to a Data Science Virtual Machine (DSVM)
22+
23+
By default, projects run on the **Free Compute** tier, which is limited to 4GB of memory and 1GB of data to prevent abuse. You can bypass these limitations by using a different virtual machine that you've provisioned in an Azure subscription. Connecting to a DSVM can increase your compute power.
24+
25+
## How to create a DSVM
26+
27+
|Operating System|Azure Notebooks|
28+
|:---:|:---:|
29+
|Linux Ubuntu| Supported|
30+
|Windows 2016| Not Supported|
31+
|Windows 2012| Not Supported|
32+
|Linux CentOS| Not Supported|
33+
34+
To create a new DSVM instance, follow the instructions on [Create an Ubuntu Data Science VM](/azure/machine-learning/data-science-virtual-machine/dsvm-ubuntu-intro). Use the **Data Science Virtual Machine for Linux (Ubuntu)** image if you want the DSVM to appear in the drop-down list in Azure Notebooks.
35+
36+
## Ways to connect to a DSVM
37+
38+
The **Run** drop-down list on the project dashboard is where you select the compute tier on which the project runs.
39+
40+
![Compute tier drop-down list on the project dashboard](media/project-compute-tier-list.png)
41+
42+
### Discovery
43+
If the following conditions are true, the drop-down list also shows DSVM instances. (If any of these conditions aren't met, you can still connect to the DSVM using the Direct Compute option and enter the values obtained from the Azure portal.)
44+
45+
- You're signed into Azure Notebooks with an account that uses Azure Active Directory (AAD), such as a company account.
46+
- Your account is connected to an Azure subscription.
47+
- You have one or more virtual machines in that subscription, with at least Reader access, that use the Data Science Virtual Machine for Linux (Ubuntu) image.)
48+
49+
![Data Science Virtual Machine instances in the drop-down list on the project dashboard](media/project-compute-tier-dsvm.png)
50+
51+
When you select a DSVM instance, Azure Notebooks may prompt you for the specific machine credentials used when you created the VM.
52+
53+
### Direct Connect
54+
Once you have a suitably configured Azure virtual machine, select the **Direct Compute** option in the drop-down list, which prompts you for a name (to show in the list), the VM's IP address and port (typically 8000, the default port to which JupyterHub listens), and the VM credentials:
55+
56+
![Prompt to collect server information for the Direct Compute option](media/project-compute-tier-direct.png)
57+
58+
59+
## Accessing Azure Notebooks Files from DSVM
60+
61+
To preserve parity of file paths with free compute you are only able to open one project at a time on a DSVM. If you would like to open a new project after opening a project, you will need to shutdown the open project first.
62+
63+
When a project is run on a VM, the files are mounted on the root directory of the Jupyter server (the directory shown in JupyterHub), replacing the default Azure Notebooks files. When you shut down the VM using the **Shutdown** button on the notebook UI, Azure Notebooks restores the default files.
64+
65+
![Shutdown button in Azure Notebooks](media/shutdown.png)

0 commit comments

Comments
 (0)