An Azure machine learning service for building and deploying models.
Hello Raghu Aditya Kiran Chavali,
Welcome to Microsoft Q&A .Thank you for reaching out.
Based on the observations, the behaviour appears to be related to restricted outbound connectivity within a Managed Virtual Network configuration, which may prevent the compute instance from retrieving the required Visual Studio Code server components during the remote connection bootstrap process.
When a compute instance is deployed inside a secured network boundary such as Managed VNet or Private Endpoint setup, outbound access to required public repositories and service hosts becomes necessary for installing runtime dependencies used by the Azure Machine Learning VS Code remote extension.
In such configurations, the compute instance may not have outbound internet access by default, and additional configuration is required to enable connectivity to required resources used by compute runtime components
Please perform the following validation checks to confirm the same
- Verifying outbound access to required Visual Studio Code hosts -please Eesure outbound connectivity from the compute instance is permitted to the following endpoints used for installing Visual Studio Code server and extension components: •
code.visualstudio.com•update.code.visualstudio.com•*.vo.msecnd.net•marketplace.visualstudio.com•vscode.blob.core.windows.net•*.gallerycdn.vsassets.io•raw.githubusercontent.com/microsoft/vscode-tools-for-ai/master/azureml_remote_websocket_server/* - Validating DNS resolution for compute instance endpoints In Private Link or Managed VNet environments, ensure the following hostname resolves correctly within the virtual network: •
*.instances.azureml.msWebSocket communication for interactive compute sessions depends on this endpoint being reachable within the VNet boundary. - Revieing network routing and outbound policies
- to confirm outbound HTTPS (TCP 443) traffic to required public hosts is permitted , kindly review
- Network Security Group outbound rules
- Azure Firewall policies
- Custom Route Tables (UDR)
- Forced tunneling configurations
- Testing outbound connectivity from compute instance Connectivity to required hosts may be validated from compute terminal using
This confirms whether outbound egress required for VS Code server bootstrap is permitted.curl https://update.code.visualstudio.com - If applicable to validate proxy configuration -If outbound access is routed through an enterprise proxy, ensure proxy configuration on the compute instance allows traffic to required public repositories used by the VS Code extension runtime.
- Reviewing compute logs for extension installation failures - additional diagnostic information may be available within compute instance logs for VS Code server installation attempts.
The following references might be helpful , please check them out
- For networking considerations for secured compute environments - Work in VS Code remotely connected to a compute instance - Azure Machine Learning | Microsoft Learn
- For network configurations in Managed VNet environment - Secure training environments with virtual networks - Azure Machine Learning | Microsoft Learn
- For inbound and outbound traffic related issues and understanding - Configure inbound and outbound network traffic - Azure Machine Learning | Microsoft Learn
- For managed Virtual Networks in AML - Managed virtual network isolation - Azure Machine Learning | Microsoft Learn
- Trouble shooting guide for AML Managed Virtual networks - Troubleshooting managed virtual networks - Azure Machine Learning | Microsoft Learn
Thank you.