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 VMsTo view VMs in your Google Cloud project and the VM instance details in the Google Cloud console, follow these steps:
In your IDE, sign into Cloud Code if you haven't already, and select your Google Cloud project.
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.
To view the VM instance details in the Google Cloud console, right-click the VM instance and select Open in Cloud Console.
To connect to the VM instance in your IDE with Cloud Code using the built-in IDE terminal and SSH, follow these steps:
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.
If the connection to the VM instance fails:
For Windows and Linux users, see Troubleshooting SSH errors for common errors that you might run into when connecting to a VM using SSH, ways to resolve errors, and methods for diagnosing failed SSH connections.
For macOS users, after pressing any key to clear the error message in the terminal, an error message dialog appears. To view information in the terminal about the issue and potential resolutions, click Troubleshoot. Or, to view the Troubleshooting SSH errors documentation, click Learn more.
To view the application logs of a VM instance, follow these steps:
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.
To view logs in real time, turn on the Streaming toggle.
To view the logging page for a particular VM instance in the Google Cloud console, click open_in_new Open in browser.
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.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.
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