Article ID: 000096278 Content Type: Install & Setup Last Reviewed: 09/08/2023

How to Remotely Access Intel® Developer Cloud Instance with Visual Studio Code?

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Steps to remotely access Intel® Developer Cloud instance with Visual Studio Code.

Description
  • Unable to determine if Intel® Developer Cloud has any plans to support Visual Studio Code via Remote Access extension.
  • Tried to establish a connection to Visual Studio Code via Remote Access extension for the Intel® Max Series GPU (PVC) on 4th Gen Intel® Xeon® processors - 1100 series (4x) (Batch Processing/Scheduled access) instance.
  • Connection became unresponsive after trying a wget command.
Resolution

In order to remotely access Intel® Developer Cloud instance with Visual Studio Code, please follow the steps below.

  1. Install Remote - Tunnels extension in Visual Studio Code.
  2. Click on Profile icon at the bottom left of the Visual Studio Code and click Turn On Remote Tunnel Access.
  3. Select the Turn On For This Session option at the top center of the Visual Studio Code and click Sign In With GitHub.
  4. Complete the GitHub authentication until Remote Tunnel Access is On.
  5. Open a new terminal and establish SSH into the Intel® Developer Cloud instance.
  6. Download code and create a tunnel directly on the instance.
    $ curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' --output vscode_cli.tar.gz
    $ tar -xf vscode_cli.tar.gz
    $ ./code tunnel
  7. Accept the terms in the License Agreement and complete the Device Activation.
  8. Go to Remote Explorer panel in Visual Studio Code and click the Refresh button on Remotes(Tunnels/SSH).
  9. Connect to the instance which can be found under Tunnels section and successfully open a remote session.

Related Products

This article applies to 1 products