June 17, 2024

[ad_1]

Add recordsdata to your VMs

You would possibly need to attempt a debug model of your utility, run a script, or attempt a brand new code in an atmosphere equivalent to manufacturing, on this case on a growth VM occasion which could not have entry to full supply code or shouldn’t be part of your CI/CD pipeline. Cloud Code offers a straightforward method to add your code recordsdata right into a VM occasion.

Discover the VM you need to connect with in Cloud Code’s Compute Engine explorer, proper click on it, and choose “Add File by way of SCP”. Select a file out of your native system and Cloud Code will add it to a VM occasion utilizing SCP. As soon as add completes, Cloud Code gives to open a brand new SSH connection to entry the recordsdata and work with them on a distant VM occasion. Once more, if there’s any issue establishing a connection, Cloud Code can run a troubleshooting diagnostic to assist resolve the difficulty.

View your VM logs

As you are working together with your VM, you possibly can proper click on it and choose to view the VM occasion logs. From Visible Studio Code this can open a logs viewer within the IDE. From IntelliJ, the logs viewer within the Cloud Console will likely be opened.  When you’ve configured utility logs to be collected with Cloud Logging, you can too view these in these logs viewers as nicely. 

Get Began

We invite you to check out Compute Engine with Cloud Code to raised streamline your growth workflow. To study extra, try the Compute Engine documentation for Visible Studio Code and JetBrains IDEs. When you’re new to growth with IDEs, you possibly can take step one by putting in Visible Studio Code or IntelliJ.

[ad_2]

Source link