Skip to content

Commit f2d5747

Browse files
author
Jill Grant
authored
Merge pull request #281878 from sdgilley/sdg-vs-code-ga2
VS Code GA
2 parents ac2784e + ffa6a4a commit f2d5747

File tree

13 files changed

+84
-99
lines changed

13 files changed

+84
-99
lines changed

articles/machine-learning/how-to-launch-vs-code-remote.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Launch Visual Studio Code integrated with Azure Machine Learning (preview)'
2+
title: 'Launch Visual Studio Code integrated with Azure Machine Learning'
33
titleSuffix: Azure Machine Learning
44
description: Connect to an Azure Machine Learning compute instance in Visual Studio Code to run interactive Jupyter Notebook and remote development workloads.
55
services: machine-learning
@@ -10,17 +10,15 @@ ms.topic: how-to
1010
ms.author: sgilley
1111
author: sdgilley
1212
ms.reviewer: lebaro
13-
ms.date: 04/10/2023
13+
ms.date: 08/05/2024
1414
monikerRange: 'azureml-api-1 || azureml-api-2'
1515
#Customer intent: As a data scientist, I want to connect to an Azure Machine Learning compute instance in Visual Studio Code to access my resources and run my code.
1616
---
1717

18-
# Launch Visual Studio Code integrated with Azure Machine Learning (preview)
18+
# Launch Visual Studio Code integrated with Azure Machine Learning
1919

2020
In this article, you learn how to launch Visual Studio Code remotely connected to an Azure Machine Learning compute instance. Use VS Code as your integrated development environment (IDE) with the power of Azure Machine Learning resources. Use VS Code in the browser with VS Code for the Web, or use the VS Code desktop application.
2121

22-
[!INCLUDE [machine-learning-preview-generic-disclaimer](includes/machine-learning-preview-generic-disclaimer.md)]
23-
2422
There are two ways you can connect to a compute instance from Visual Studio Code. We recommend the first approach.
2523

2624
1. **Use VS Code as your workspace's integrated development environment (IDE).** This option provides you with a **full-featured development environment** for building your machine learning projects.
@@ -39,10 +37,6 @@ Before you get started, you need:
3937
1. [!INCLUDE [workspace and compute instance](includes/prerequisite-workspace-compute-instance.md)]
4038
1. [!INCLUDE [sign in](includes/prereq-sign-in.md)]
4139

42-
1. In the **Manage preview features** panel, scroll down and enable **Connect compute instances to Visual Studio Code for the Web**.
43-
44-
:::image type="content" source="media/how-to-launch-vs-code-remote/enable-web-preview.png" alt-text="Screenshot shows how to enable the VS Code for the web preview.":::
45-
4640
## Use VS Code as your workspace IDE
4741

4842
Use one of these options to connect VS Code to your compute instance and workspace files.

articles/machine-learning/how-to-work-in-vs-code-remote.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Work in VS Code remotely connected to a compute instance (preview)'
2+
title: 'Work in VS Code remotely connected to a compute instance'
33
titleSuffix: Azure Machine Learning
44
description: Details for working with Jupyter notebooks and services from a VS Code remote connection to an Azure Machine Learning compute instance.
55
services: machine-learning
@@ -10,18 +10,16 @@ ms.topic: how-to
1010
ms.author: sgilley
1111
author: sdgilley
1212
ms.reviewer: lebaro
13-
ms.date: 04/17/2023
13+
ms.date: 08/05/2024
1414
#Customer intent: As a data scientist, I want to use Jupyter notebooks and tools while working from a VS Code remote connection to my Azure Machine Learning compute instance.
1515
---
1616

17-
# Work in VS Code remotely connected to a compute instance (preview)
17+
# Work in VS Code remotely connected to a compute instance
1818

1919
In this article, learn specifics of working within a VS Code remote connection to an Azure Machine Learning compute instance. Use VS Code as your **full-featured integrated development environment (IDE)** with the power of Azure Machine Learning resources. You can work with a remote connection to your compute instance in the browser with VS Code for the Web, or the VS Code desktop application.
2020

2121
* We recommend **VS Code for the Web**, as you can do all your machine learning work directly from the browser, and without any required installations or dependencies.
2222

23-
[!INCLUDE [machine-learning-preview-generic-disclaimer](includes/machine-learning-preview-generic-disclaimer.md)]
24-
2523
> [!IMPORTANT]
2624
> To connect to a compute instance behind a firewall, see [Configure inbound and outbound network traffic](how-to-access-azureml-behind-firewall.md#scenario-visual-studio-code).
2725
@@ -82,6 +80,6 @@ While there are a few ways to connect and manage kernels in VS Code, connecting
8280

8381
We recommend not trying to work on the same files in both applications at the same time as you may have conflicts you need to resolve. We'll save your current file in the studio before navigating to VS Code. You can execute many of the actions provided in the Azure Machine Learning studio in VS Code instead, using a YAML-first approach. You may find you prefer to do certain actions (for example, editing and debugging files) in VS Code, and other actions (for example, Creating a training job) in the Azure Machine Learning studio. You should find you can seamlessly navigate back and forth between the two.
8482

85-
## Next steps
83+
## Next step
8684

8785
For more information on managing Jupyter kernels in VS Code, see [Jupyter kernel management](https://code.visualstudio.com/docs/datascience/jupyter-kernel-management).

articles/machine-learning/includes/machine-learning-connect-ws-v2.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Replace your Subscription ID, Resource Group name, and Workspace name in the fol
1414
1. Open the workspace you wish to use.
1515
1. Select your workspace name in the upper right Azure Machine Learning studio toolbar.
1616
1. Copy the value for workspace, resource group, and subscription ID into the code.
17-
1. Copy one value, close the area and paste, then come back for the next one when you're pasting to a notebook inside studio.
1817

1918
[!INCLUDE [sdk v2](./machine-learning-sdk-v2.md)]
2019

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: include file
3-
description: include file
2+
title: Include file
3+
description: Include file
44
author: sdgilley
55
ms.service: azure-machine-learning
66
services: machine-learning
@@ -10,22 +10,25 @@ ms.author: sgilley
1010
ms.custom: include file
1111
---
1212

13-
## Set your kernel
13+
## Set your kernel and open in Visual Studio Code (VS Code)
1414

1515
1. On the top bar above your opened notebook, create a compute instance if you don't already have one.
1616

1717
:::image type="content" source="../media/tutorial-azure-ml-in-a-day/create-compute.png" alt-text="Screenshot shows how to create a compute instance." lightbox="../media/tutorial-azure-ml-in-a-day/create-compute.png":::
1818

19-
1. If the compute instance is stopped, select **Start compute** and wait until it is running.
19+
1. If the compute instance is stopped, select **Start compute** and wait until it's running.
2020

21-
:::image type="content" source="../media/tutorial-azure-ml-in-a-day/start-compute.png" alt-text="Screenshot shows how to start compute if it is stopped." lightbox="../media/tutorial-azure-ml-in-a-day/start-compute.png":::
21+
:::image type="content" source="../media/tutorial-azure-ml-in-a-day/start-compute.png" alt-text="Screenshot shows how to start a stopped compute instance." lightbox="../media/tutorial-azure-ml-in-a-day/start-compute.png":::
2222

23-
1. Make sure that the kernel, found on the top right, is `Python 3.10 - SDK v2`. If not, use the dropdown to select this kernel.
23+
1. Make sure that the kernel, found on the top right, is `Python 3.10 - SDK v2`. If not, use the dropdown to select this kernel.
2424

2525
:::image type="content" source="../media/tutorial-azure-ml-in-a-day/set-kernel.png" alt-text="Screenshot shows how to set the kernel." lightbox="../media/tutorial-azure-ml-in-a-day/set-kernel.png":::
2626

2727
1. If you see a banner that says you need to be authenticated, select **Authenticate**.
2828

29+
1. You can run the notebook here, or open it in VS Code for a full integrated development environment (IDE) with the power of Azure Machine Learning resources. Select **Open in VS Code**, then select either the web or desktop option. When launched this way, VS Code is attached to your compute instance, the kernel, and the workspace file system.
30+
31+
:::image type="content" source="../media/tutorial-azure-ml-in-a-day/open-vs-code.png" alt-text="Screenshot shows how to open the notebook in VS Code." lightbox="../media/tutorial-azure-ml-in-a-day/open-vs-code.png":::
32+
2933
> [!Important]
30-
> The rest of this tutorial contains cells of the tutorial notebook. Copy/paste them into your new notebook, or switch to the notebook now if you cloned it.
31-
>
34+
> The rest of this tutorial contains cells of the tutorial notebook. Copy/paste them into your new notebook, or switch to the notebook now if you cloned it.
-1.83 KB
Loading
-951 Bytes
Loading
20.4 KB
Loading
27.1 KB
Loading
11.4 KB
Loading
24.6 KB
Loading

0 commit comments

Comments
 (0)