A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/code/docs/vscode/manage-vms below:

Manage VMs in Cloud Code for VS Code

Skip to main content Manage VMs in Cloud Code for VS Code

Stay organized with collections Save and categorize content based on your preferences.

With Cloud Code's Compute Engine integration, you can view the Compute Engine VMs running your applications, establish connections to your VMs using SSH, view application logs, and upload files to a VM.

This document shows you how to access Compute Engine with Cloud Code in your IDE and manage your VM instances.

View VMs

To view VMs in your Google Cloud project and the VM instance details in the Google Cloud console, follow these steps:

  1. In your IDE, sign into Cloud Code if you haven't already, and select your Google Cloud project.

  2. To view VM instances in your Google Cloud project, in the activity bar of your IDE, click Cloud Code and then expand the Compute Engine explorer.

  3. To view the VM instance details in the Google Cloud console, right-click the VM instance and select Open in Cloud Console.

Connect to a VM

To connect to the VM instance in your IDE with Cloud Code using the built-in IDE terminal and SSH, follow these steps:

  1. To connect to a VM instance, in the Compute Engine explorer, hold the pointer over the VM instance and click terminal Open SSH or right-click the VM instance and select Open SSH.

    A terminal appears, displaying information about the remote instance.

  2. If the connection to the VM instance fails:

View application logs on a VM

To view the application logs of a VM instance, follow these steps:

  1. To view the application logs of a VM instance in Cloud Code, right-click the VM instance and select View Logs.

    The Logs Viewer window appears in your IDE, allowing you to filter by log type, time, severity, and instance.

  2. To view logs in real time, turn on the Streaming toggle.

  3. To view the logging page for a particular VM instance in the Google Cloud console, click open_in_new Open in browser.

Upload a file to a VM

To copy application files from your local IDE to your remote VM instance, follow these steps:

Note: Cloud Code only supports transferring files to Linux VMs. For additional options for Windows machines, see Transfer files to Windows VMs.
  1. To upload a file to a VM, in the Cloud Code Compute Engine explorer, hold the pointer over the VM instance and click cloud_upload Upload File via SCP, or right-click the VM instance and select Upload File via SCP.

  2. Navigate to the file that you want to upload and click Upload.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-07 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["Cloud Code enables you to view, manage, and connect to Compute Engine VMs directly within your IDE."],["You can establish SSH connections to your VMs using Cloud Code's built-in terminal, with troubleshooting resources available for connection issues."],["Cloud Code allows you to view application logs from your VM instances within the IDE's Logs Viewer, including real-time streaming and filtering options."],["With Cloud Code, you can upload files from your local machine to Linux VMs via SCP, facilitating application deployment and file transfer."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4