Supercharge Azure ML code development with new VS Code integration

Published 04-08-2021 08:25 AM 8,888 Views
Microsoft

This post is co-authored by Abe Omorogbe, Program Manager, Azure Machine Learning.

 

The Azure Machine Learning (Azure ML) team is excited to announce the release of an enhanced developer experience for ‘compute instance’ and ‘notebooks’ users, through a VS Code integration in the Azure ML Studio! It is now easier than ever to work directly on your Azure ML compute instances from within Visual Studio Code, , and with full access to a remote terminal, your favorite VS Code extensions, Git source control UI, and a debugger.

 

vscode-small.gif

 

Bringing VS Code to Azure Machine Learning

The Azure Machine Learning and VS Code teams have been working in collaboration over the past couple of months to better understand user workflows for authoring, editing, and managing code files. The demand for VS Code became clear after speaking to a wide variety of users tasked with managing larger projects and operationalizing their models. Users were eager to continue working on their Azure ML compute resources and retain the development context initially defined through the Studio UI.

 

The first step to enabling a better editing experience for users was to evaluate what was currently used in VS Code. Users were familiar with extensions such as Remote-SSH and , the former used to connect to their remote compute and the latter to author notebook files. The advantage of using Jupyter, JupyterLab, or Azure ML notebooks was that they could be used for all compute instance types without requiring any additional configuration or networking changes.

 

To enable users to work against their compute instances without requiring SSH or additional networking changes, the Azure ML and VS Code teams built a Notebook-specific compute instance connect experience. The Azure ML extension was responsible for facilitating the connection between VS Code – Jupyter and the compute instance, taking care of authenticating on the user’s behalf. After a month or so of releasing this capability, it was clear that users were excited about connectivity without SSH and being able to work from directly within VS Code. However, working in the editor implied expectations around being able to use other VS code features such as the remote terminal, debugger, and language server. Users expressed their frustration with being limited to working in a single Notebook file, being unable to view files on the remote server, and not being able to use their preferred extensions.

 

VS Code Integration: Features

Learning from prior releases and talking to users led the Azure ML and VS code teams, to build a complete VS Code experience for compute instances without using SSH. Getting started with this experience is trivial – entry points have been integrated within the Azure ML Studio in both the Compute Instance and Notebooks tabs.

 

Studio UI Compute Entry PointStudio UI Compute Entry Point

 

Studio UI Notebooks Entry PointStudio UI Notebooks Entry Point

 

Through this VS Code integration customers will now have access to the following features and benefits:

  • Full integration with Azure ML file share and notebooks: All file operations in VS Code are fully synced with the Azure ML Studio. For example, if a user drags and drops files from their local machine into VS Code connected to Azure ML, all files will be synced and appear in the Azure ML Studio.
  • Git UI Experiences: Fully manage Git repos in Azure ML with the rich VS Code source control UI.
  • Notebook Editor: Seamlessly click out from the Azure ML notebooks and continue to work on notebooks in the new native VS code editor.
  • Debugging: Use the native debugging in VS Code to debug any training script before submitting it to an Azure ML cluster for batch training.
  • VS Code Terminal: Work in the VS Code terminal that is fully connected to the compute instance.
  • VS Code Extension Support: All VS Code extensions are fully supported in VS Code connected to the compute instance.
  • Enterprise Support: Work with VS Code securely in private endpoints without additional, complicated SSH and networking configuration. AAD credentials and RBAC are used to establish a secure connection to VNET/private link enabled Azure ML workspaces.

VS Code Integration: How it Works

Clicking out to VS Code will launch a desktop VS Code session which initiates a secondary remote connection to the target compute. Within the remote connection window, the Azure ML extension creates a WebSocket connection between your local VS Code client and the remote compute instance.

The connected window now provides you with:

  1. Access to the mounted file share, with consistent syncing between what is seen in Jupyter* and the Azure ML Notebooks experience.
  2. Access to the machine’s local SSD in case you would like to clone and manage repos outside of the shared file share.
  3. The ability to manage repositories through the source control UI.
  4. The ability to create, interact and debug running applications.
  5. A remote terminal for executing commands directly against the remote compute.

Below is a high-level overview of the remote connection

 

Remote Connection Architecture Diagram (High-Level)Remote Connection Architecture Diagram (High-Level)

 

This new connect capability and direct integration in the Azure ML Studio creates a better-together experience between Azure ML and VS Code! When working on your machine learning projects you can get started with a notebook in the Azure ML Studio for early data prep and exploratory work, when you’re ready to start fleshing out the rest of your project, work on multiple file types, and use more advanced editing capabilities and VS Code extension, you can seamlessly transition over to working in VS Code. The retained context and file share usage enables you to move bi-directionally (from notebooks to VS Code and vice-versa) without requiring additional work.

 

Getting Started

You can initiate the connection to VS Code directly from the Studio UI through either the Compute Instance or Notebook pages. Alternatively, there are routes starting directly within VS Code if you would prefer. Given you have the Azure Machine Learning extension installed, you can find the compute instance in the tree view and right-click on it to connect. You can also invoke the command “Azure ML: Connect to compute instance” and follow the prompts to initiate the connection.

 

Azure ML extension commandAzure ML extension command

 

Azure ML extension tree view context menu optionAzure ML extension tree view context menu option

 

For more details on how you can get started with this experience, please take a look at our public documentation.

 

Both the Azure ML and VS Code extension teams are always looking for feedback on our current experiences and what we should work on next. If there is anything you would like us to prioritize, please feel free to suggest so via our GitHub repo; if you would like to provide more general feedback, please fill out our survey.

%3CLINGO-SUB%20id%3D%22lingo-sub-2260129%22%20slang%3D%22en-US%22%3ESupercharge%20Azure%20ML%20code%20development%20with%20new%20VS%20Code%20integration%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2260129%22%20slang%3D%22en-US%22%3E%3CP%3E%3CEM%3EThis%20post%20is%20co-authored%20by%20Abe%20Omorogbe%2C%20Program%20Manager%2C%20Azure%20Machine%20Learning.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Azure%20Machine%20Learning%20(Azure%20ML)%20team%20is%20excited%20to%20announce%20the%20release%20of%20an%20enhanced%20developer%20experience%20for%20%E2%80%98compute%20instance%E2%80%99%20and%20%E2%80%98notebooks%E2%80%99%20users%2C%20through%20a%20VS%20Code%20integration%20in%20the%20Azure%20ML%20Studio!%20It%20is%20now%20easier%20than%20ever%20to%20work%20directly%20on%20your%20Azure%20ML%20compute%20instances%20from%20within%20Visual%20Studio%20Code%2C%20%3CSTRONG%3E%2C%3C%2FSTRONG%3E%20and%20with%20full%20access%20to%20a%20remote%20terminal%2C%20your%20favorite%20VS%20Code%20extensions%2C%20Git%20source%20control%20UI%2C%20and%20a%20debugger.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22vscode-small.gif%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F270923i4A4EF83FBEBCE7EB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22vscode-small.gif%22%20alt%3D%22vscode-small.gif%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--494791341%22%20id%3D%22toc-hId--494791394%22%3EBringing%20VS%20Code%20to%20Azure%20Machine%20Learning%3C%2FH2%3E%0A%3CP%3EThe%20Azure%20Machine%20Learning%20and%20VS%20Code%20teams%20have%20been%20working%20in%20collaboration%20over%20the%20past%20couple%20of%20months%20to%20better%20understand%20user%20workflows%20for%20authoring%2C%20editing%2C%20and%20managing%20code%20files.%20The%20demand%20for%20VS%20Code%20became%20clear%20after%20speaking%20to%20a%20wide%20variety%20of%20users%20tasked%20with%20managing%20larger%20projects%20and%20operationalizing%20their%20models.%20Users%20were%20eager%20to%20continue%20working%20on%20their%20Azure%20ML%20compute%20resources%20and%20retain%20the%20development%20context%20initially%20defined%20through%20the%20Studio%20UI.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20first%20step%20to%20enabling%20a%20better%20editing%20experience%20for%20users%20was%20to%20evaluate%20what%20was%20currently%20used%20in%20VS%20Code.%20Users%20were%20familiar%20with%20extensions%20such%20as%20%3CA%20href%3D%22https%3A%2F%2Fcode.visualstudio.com%2Fdocs%2Fremote%2Fssh%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ERemote-SSH%3C%2FA%3E%20and%20%2C%20the%20former%20used%20to%20connect%20to%20their%20remote%20compute%20and%20the%20latter%20to%20author%20notebook%20files.%20The%20advantage%20of%20using%20Jupyter%2C%20JupyterLab%2C%20or%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-ai%2Fimproving-collaboration-and-productivity-in-azure-machine%2Fba-p%2F2160906%22%20target%3D%22_blank%22%3EAzure%20ML%20notebooks%3C%2FA%3E%20was%20that%20they%20could%20be%20used%20for%20all%20compute%20instance%20types%20without%20requiring%20any%20additional%20configuration%20or%20networking%20changes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20enable%20users%20to%20work%20against%20their%20compute%20instances%20without%20requiring%20SSH%20or%20additional%20networking%20changes%2C%20the%20Azure%20ML%20and%20VS%20Code%20teams%20built%20a%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-ai%2Fpower-your-vs-code-notebooks-with-azml-compute-instances%2Fba-p%2F1629630%22%20target%3D%22_blank%22%3ENotebook-specific%20compute%20instance%20connect%20experience%3C%2FA%3E.%20The%20Azure%20ML%20extension%20was%20responsible%20for%20facilitating%20the%20connection%20between%20VS%20Code%20%E2%80%93%20Jupyter%20and%20the%20compute%20instance%2C%20taking%20care%20of%20authenticating%20on%20the%20user%E2%80%99s%20behalf.%20After%20a%20month%20or%20so%20of%20releasing%20this%20capability%2C%20it%20was%20clear%20that%20users%20were%20excited%20about%20connectivity%20without%20SSH%20and%20being%20able%20to%20work%20from%20directly%20within%20VS%20Code.%20However%2C%20working%20in%20the%20editor%20implied%20expectations%20around%20being%20able%20to%20use%20other%20VS%20code%20features%20such%20as%20the%20remote%20terminal%2C%20debugger%2C%20and%20language%20server.%20Users%20expressed%20their%20frustration%20with%20being%20limited%20to%20working%20in%20a%20single%20Notebook%20file%2C%20being%20unable%20to%20view%20files%20on%20the%20remote%20server%2C%20and%20not%20being%20able%20to%20use%20their%20preferred%20extensions.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1992721492%22%20id%3D%22toc-hId-1992721439%22%3EVS%20Code%20Integration%3A%20Features%3C%2FH2%3E%0A%3CP%3ELearning%20from%20prior%20releases%20and%20talking%20to%20users%20led%20the%20Azure%20ML%20and%20VS%20code%20teams%2C%20to%20build%20a%20%3CSTRONG%3Ecomplete%20VS%20Code%20experience%3C%2FSTRONG%3E%20for%20compute%20instances%26nbsp%3B%3CSTRONG%3Ewithout%20using%20SSH%3C%2FSTRONG%3E.%20Getting%20started%20with%20this%20experience%20is%20trivial%20%E2%80%93%20entry%20points%20have%20been%20integrated%20within%20the%20%3CA%20href%3D%22http%3A%2F%2Fml.azure.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EAzure%20ML%20Studio%3C%2FA%3E%20in%20both%20the%20Compute%20Instance%20and%20Notebooks%20tabs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22compute-entry-point.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F270905i713BCB471336A361%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22compute-entry-point.png%22%20alt%3D%22Studio%20UI%20Compute%20Entry%20Point%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EStudio%20UI%20Compute%20Entry%20Point%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22notebooks-entry-point.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F270907i6BE6C0DEA9E84831%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22notebooks-entry-point.png%22%20alt%3D%22Studio%20UI%20Notebooks%20Entry%20Point%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EStudio%20UI%20Notebooks%20Entry%20Point%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThrough%20this%20VS%20Code%20integration%20customers%20will%20now%20have%20access%20to%20the%20following%20features%20and%20benefits%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EFull%20integration%20with%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmachine-learning%2Fhow-to-manage-files%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20ML%20file%20share%20and%20notebooks%3C%2FA%3E%3A%3C%2FSTRONG%3E%20All%20file%20operations%20in%20VS%20Code%20are%20fully%20synced%20with%20the%20Azure%20ML%20Studio.%20For%20example%2C%20if%20a%20user%20drags%20and%20drops%20files%20from%20their%20local%20machine%20into%20VS%20Code%20connected%20to%20Azure%20ML%2C%20all%20files%20will%20be%20synced%20and%20appear%20in%20the%20Azure%20ML%20Studio.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcode.visualstudio.com%2FDocs%2Feditor%2Fversioncontrol%23_git-support%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSTRONG%3EGit%20UI%20Experiences%3C%2FSTRONG%3E%3C%2FA%3E%3CSTRONG%3E%3A%3C%2FSTRONG%3E%20Fully%20manage%20Git%20repos%20in%20Azure%20ML%20with%20the%20rich%20VS%20Code%20source%20control%20UI.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcode.visualstudio.com%2Fdocs%2Fpython%2Fjupyter-support%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSTRONG%3ENotebook%20Editor%3C%2FSTRONG%3E%3C%2FA%3E%3A%20Seamlessly%20click%20out%20from%20the%20Azure%20ML%20notebooks%20and%20continue%20to%20work%20on%20notebooks%20in%20the%20new%20native%20VS%20code%20editor.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcode.visualstudio.com%2Fdocs%2Fpython%2Fdebugging%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSTRONG%3EDebugging%3C%2FSTRONG%3E%3C%2FA%3E%3CSTRONG%3E%3A%3C%2FSTRONG%3E%20Use%20the%20native%20debugging%20in%20VS%20Code%20to%20debug%20any%20training%20script%20before%20submitting%20it%20to%20an%20Azure%20ML%20cluster%20for%20batch%20training.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fcode.visualstudio.com%2Fdocs%2Feditor%2Fintegrated-terminal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSTRONG%3EVS%20Code%20Terminal%3C%2FSTRONG%3E%3C%2FA%3E%3CSTRONG%3E%3A%3C%2FSTRONG%3E%20Work%20in%20the%20VS%20Code%20terminal%20that%20is%20fully%20connected%20to%20the%20compute%20instance.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fcode.visualstudio.com%2Fdocs%2Feditor%2Fextension-gallery%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EVS%20Code%20Extension%20Support%3C%2FA%3E%3A%3C%2FSTRONG%3E%20All%20VS%20Code%20extensions%20are%20fully%20supported%20in%20VS%20Code%20connected%20to%20the%20compute%20instance.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%20style%3D%22font-family%3A%20inherit%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmachine-learning%2Fconcept-enterprise-security%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EEnterprise%20Support%3C%2FA%3E%3A%3C%2FSTRONG%3E%3CSPAN%20style%3D%22font-family%3A%20inherit%3B%22%3E%20Work%20with%20VS%20Code%20securely%20in%20private%20endpoints%20without%20additional%2C%20complicated%20SSH%20and%20networking%20configuration.%20AAD%20credentials%20and%20RBAC%20are%20used%20to%20establish%20a%20secure%20connection%20to%20VNET%2Fprivate%20link%20enabled%20Azure%20ML%20workspaces.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CH2%20id%3D%22toc-hId-185267029%22%20id%3D%22toc-hId-185266976%22%3EVS%20Code%20Integration%3A%20How%20it%20Works%3C%2FH2%3E%0A%3CP%3EClicking%20out%20to%20VS%20Code%20will%20launch%20a%20desktop%20VS%20Code%20session%20which%20initiates%20a%20secondary%20remote%20connection%20to%20the%20target%20compute.%20Within%20the%20remote%20connection%20window%2C%20the%20Azure%20ML%20extension%20creates%20a%20WebSocket%20connection%20between%20your%20local%20VS%20Code%20client%20and%20the%20remote%20compute%20instance.%3C%2FP%3E%0A%3CP%3EThe%20connected%20window%20now%20provides%20you%20with%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EAccess%20to%20the%20mounted%20file%20share%2C%20with%20consistent%20syncing%20between%20what%20is%20seen%20in%20Jupyter*%20and%20the%20Azure%20ML%20Notebooks%20experience.%3C%2FLI%3E%0A%3CLI%3EAccess%20to%20the%20machine%E2%80%99s%20local%20SSD%20in%20case%20you%20would%20like%20to%20clone%20and%20manage%20repos%20outside%20of%20the%20shared%20file%20share.%3C%2FLI%3E%0A%3CLI%3EThe%20ability%20to%20manage%20repositories%20through%20the%20source%20control%20UI.%3C%2FLI%3E%0A%3CLI%3EThe%20ability%20to%20create%2C%20interact%20and%20debug%20running%20applications.%3C%2FLI%3E%0A%3CLI%3EA%20remote%20terminal%20for%20executing%20commands%20directly%20against%20the%20remote%20compute.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3EBelow%20is%20a%20high-level%20overview%20of%20the%20remote%20connection%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22remote-connect-hl-arch.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F270909iF0AB1D7C0143EE92%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22remote-connect-hl-arch.png%22%20alt%3D%22Remote%20Connection%20Architecture%20Diagram%20(High-Level)%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ERemote%20Connection%20Architecture%20Diagram%20(High-Level)%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20new%20connect%20capability%20and%20direct%20integration%20in%20the%20Azure%20ML%20Studio%20creates%20a%20better-together%20experience%20between%20Azure%20ML%20and%20VS%20Code!%20When%20working%20on%20your%20machine%20learning%20projects%20you%20can%20get%20started%20with%20a%20notebook%20in%20the%20Azure%20ML%20Studio%20for%20early%20data%20prep%20and%20exploratory%20work%2C%20when%20you%E2%80%99re%20ready%20to%20start%20fleshing%20out%20the%20rest%20of%20your%20project%2C%20work%20on%20multiple%20file%20types%2C%20and%20use%20more%20advanced%20editing%20capabilities%20and%20VS%20Code%20extension%2C%20you%20can%20seamlessly%20transition%20over%20to%20working%20in%20VS%20Code.%20The%20retained%20context%20and%20file%20share%20usage%20enables%20you%20to%20move%20bi-directionally%20(from%20notebooks%20to%20VS%20Code%20and%20vice-versa)%20without%20requiring%20additional%20work.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1622187434%22%20id%3D%22toc-hId--1622187487%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId-865325399%22%20id%3D%22toc-hId-865325346%22%3EGetting%20Started%3C%2FH2%3E%0A%3CP%3EYou%20can%20initiate%20the%20connection%20to%20VS%20Code%20directly%20from%20the%20Studio%20UI%20through%20either%20the%20Compute%20Instance%20or%20Notebook%20pages.%20Alternatively%2C%20there%20are%20routes%20starting%20directly%20within%20VS%20Code%20if%20you%20would%20prefer.%20Given%20you%20have%20the%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Faml-ext%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Machine%20Learning%20extension%3C%2FA%3E%20installed%2C%20you%20can%20find%20the%20compute%20instance%20in%20the%20tree%20view%20and%20right-click%20on%20it%20to%20connect.%20You%20can%20also%20invoke%20the%20command%20%E2%80%9CAzure%20ML%3A%20Connect%20to%20compute%20instance%E2%80%9D%20and%20follow%20the%20prompts%20to%20initiate%20the%20connection.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22ci-command.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F270910iB2F852D3AA9A8056%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22ci-command.png%22%20alt%3D%22Azure%20ML%20extension%20command%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAzure%20ML%20extension%20command%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22ci-context-menu.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F270911i0915A8CE80FADF31%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22ci-context-menu.png%22%20alt%3D%22Azure%20ML%20extension%20tree%20view%20context%20menu%20option%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EAzure%20ML%20extension%20tree%20view%20context%20menu%20option%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20more%20details%20on%20how%20you%20can%20get%20started%20with%20this%20experience%2C%20please%20take%20a%20look%20at%20our%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmachine-learning%2Fhow-to-set-up-vs-code-remote%3Ftabs%3Dextension%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Epublic%20documentation%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBoth%20the%20Azure%20ML%20and%20VS%20Code%20extension%20teams%20are%20always%20looking%20for%20feedback%20on%20our%20current%20experiences%20and%20what%20we%20should%20work%20on%20next.%20If%20there%20is%20anything%20you%20would%20like%20us%20to%20prioritize%2C%20please%20feel%20free%20to%20suggest%20so%20via%20our%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvscode-tools-for-ai%2Fissues%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%20repo%3C%2FA%3E%3B%20if%20you%20would%20like%20to%20provide%20more%20general%20feedback%2C%20please%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Faml-ext-survey%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Efill%20out%20our%20survey%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2260129%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20Azure%20Machine%20Learning%20(Azure%20ML)%20team%20is%20excited%20to%20announce%20the%20release%20of%20an%20enhanced%20developer%20experience%20for%20%E2%80%98compute%20instance%E2%80%99%20and%20%E2%80%98notebooks%E2%80%99%20users%2C%20through%20a%20VS%20Code%20integration%20in%20the%20Azure%20ML%20Studio!%20It%20is%20now%20easier%20than%20ever%20to%20work%20directly%20on%20your%20Azure%20ML%20compute%20instances%20from%20within%20Visual%20Studio%20Code%2C%20%3CSTRONG%3E%2C%3C%2FSTRONG%3E%20and%20with%20full%20access%20to%20a%20remote%20terminal%2C%20your%20favorite%20VS%20Code%20extensions%2C%20Git%20source%20control%20UI%2C%20and%20a%20debugger.%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Version history
Last update:
‎Apr 07 2021 08:02 PM
Updated by: