Questions tagged [google-compute-engine]

Google Compute Engine offers scalable and flexible virtual machine computing capabilities in the cloud. Questions about cloud services are on topic here only if the question is about the operating system or using a PC application hosted there. Otherwise, other sites on the network may be more appropriate.

Filter by
Sorted by
Tagged with
0 votes
0 answers
43 views

Login to VM downloaded from Google Compute Engine

I downloaded the disk for a google compute instance as a vmdk and I'm able to bring it up in VMware Fusion (it's a debian 10 instance). However when I run it locally it's prompting me a for username &...
opike's user avatar
  • 193
0 votes
0 answers
106 views

How can I perform bulk operations (move, copy, etc) on files in (my own) Google Drive?

I have a folder on Google drive with several thousand frames from two different animations mixed together. I have tried downloading the entire folder as a zip archive, but when I do that half of the ...
FromTheAshes's user avatar
0 votes
1 answer
300 views

Unable to delete machine image using gcloud

I have a machine image called client-template, so that the output of gcloud compute machine-images list is: NAME: client-template STATUS: READY However, my attempt to delete this image: gcloud ...
AlwaysLearning's user avatar
0 votes
0 answers
98 views

Google VM broken after I applied recommended resize

I have a virtual machine on google's cloud platform which I had been running a website with no problems for a few months. Today, I followed the recommendations (as described here) to downsize my ...
Nathan Tew's user avatar
3 votes
2 answers
2k views

ERROR by trying to build instance via ova GC SDK : generic::failed_precondition: no concurrent builds quota available to create builds

i am trying to build an instnace by using an OVA import from my Cloud Storage. By executing the command : gcloud compute instances import myinstance --project myProject --byol --source-uri=gs://...
A. T.'s user avatar
  • 31
0 votes
0 answers
175 views

Copy from Docker image in VM directly to local machine

I have a Docker image running on a VM instance, which is running in GCE (Google Cloud Engine). To extract files from the Docker image to local machine, I usually do docker cp <DOCKER_IMG>:/root/&...
fff's user avatar
  • 1
0 votes
1 answer
1k views

Why Compute Engine SSH access doesn't work with username defined on SSH key creation?

I'm starting work with GCP and currently I'm learn how to work with the Compute Engine. I've followed the tutorial to set up the SSH keys on Compute Engine but an odd thing happens. My Google e-mail ...
Augusto's user avatar
  • 103
0 votes
0 answers
12 views

Not able to do ssh on Centos VM. Used to work earlier

I have a VM instance (Centos), which I used to login without much hastle. Now, from last 2-3 days I noticed, I couldn't login. I had ssh key configured. I also tried adding new ssh key. But, same ...
Gorav Singal's user avatar
0 votes
1 answer
21 views

How do I modify the gcloud sdk to be logged in indefinitely?

I have a google compute instance which hosts a computationally rigorous program. The machine is quite expensive so we would only like the machine to be on when it is in use. However, it is inefficient ...
chargingBrontosaurus's user avatar
5 votes
3 answers
4k views

`systemctl --user` results in "Failed to connect to bus" in google compute instance

I'm connected to a google compute instance via ssh with Debian 9. When I try any systemctl --user ... command (systemctl --user status for instance) I get an error: "Failed to connect to bus: No ...
Snoober's user avatar
  • 91
1 vote
0 answers
233 views

How to enable outgoing IPv6 traffic on Google Compute Engine VMs?

In order to test the accessibility and inaccessibility of my home network from the outside world I'm using Google Cloud Platform VMs with Debian 10. In ifconfig I'm seeing one internface with an IPv4 ...
Kalle Richter's user avatar
0 votes
0 answers
72 views

Google Compute E2 Increased CPU Usage Over Time

Is there a known issue for E2 CPU's regarding unexpected increase in CPU usage over time? I have replicated this multiple times already, and even for idle VM's. This is very critical, it is slowly ...
Manny's user avatar
  • 101
1 vote
0 answers
283 views

Unable to upgrade PHP version on the Debian (Google Compute Engine)

I've been trying to update PHP for my WordPress website on Google Compute Enginee, but I get un-expected errors. I've followed this guide and this too To update my PHP version to 7.4 but with no ...
Damien Doumer's user avatar
0 votes
1 answer
3k views

Can't run sudo apt get update on Update PHP on Google compute engine

I want to update my PHP version on my VM and for that, I have to run sudo apt-get update on my VM in compute engine (google cloud platform) But I keep getting an error saying public key not available ...
Damien Doumer's user avatar
1 vote
1 answer
365 views

Installing CUDA in GCP VM instance ( Debian 10.x)

I am just coming up to speed with GPU & CUDA and going around in circles. My GPU is Nvidia Tesla T4. However, Google documentation is lacking https://cloud.google.com/compute/docs/gpus/install-...
sunny's user avatar
  • 111
0 votes
1 answer
2k views

Can I use chown to change permission of file on external bootable disk?

I accidentally changed ownership of /usr/bin/sudo. Now I am getting sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set This is happening on google compute instance with linux OS. ...
dsharew's user avatar
  • 101
1 vote
1 answer
833 views

Port forwarding to local ip is not working in windows server 2019

I want to run Call Of Duty 4 host server. First I install the windows server 2019 in Google cloud platform. After that I install the call of duty game server and run it is running on local ip 10.128....
Azeem Haider's user avatar
0 votes
1 answer
400 views

SSH and scp work with Google Compute Engine VM, but SFTP doesn't work

I've read the other questions on setting up SFTP (using Transmit on OS X) into a Google Compute Engine VM. My issue is that I can currently SSH and use scp into the VM, but Transmit throws a bad login ...
BlueDogRanch's user avatar
0 votes
1 answer
1k views

Unable to SSH into VM instance on Google Cloud Platform

i have created a firewall rule in VPC network for port 22 by assigning an IP with the port e.g (192.168.xx.yy) instead of 0.0.0.0/0 in rules. Now, When I create a compute engine VM instance in Google ...
Saad Tahir's user avatar
1 vote
1 answer
211 views

Google Compute Engine: in your experience, is f1-micro free?

Does anyone have billing-related experience with the f1-micro VM instance on Google Cloud Platform? I observe from the document on always-free GCP services that in certain regions, it is free (up to ...
JellicleCat's user avatar
  • 2,234
1 vote
0 answers
251 views

ssh stops working on CentOS 8 (GCE VM)

ssh stops working on CentOS 8 (GCE VM) I had ssh working correctly with a pub/private key pair working just fine for two days on a GCE CentOS 8 VM, and it stopped working. Now I get: Permission ...
user10664542's user avatar
1 vote
2 answers
3k views

Copy files using WinSCP: Permission denied

Platform: Google Compute Engine VM instance: pytorch-latest-gpu-20190911 login command: $ gcloud compute ssh jupyter@my-fastai-instance -- -L 8080:localhost:8080 In order to save GCP billing time, ...
Bill Fujimoto's user avatar
0 votes
1 answer
43 views

GCP Instance group with less than requested instances for a long time

I have a GKE cluster with a single node pool, and the associated instance group has been with less than the required number of instances for more than 12h, recently it changed to 0 instances. I see ...
fgimenez's user avatar
0 votes
1 answer
97 views

Google Cloud Compute MongoDB Deployment security issue and keyFile issue

I've ran into this super annoying issue today. Basically, I have setup a MongoDB database using the GCP Marketplace offering. It sets up a primary node, secondary, and an arbiter. Which is super cool....
Dom Berk's user avatar
0 votes
1 answer
200 views

Create a GCP Kubernetes Cluster from existing config?

I have a GKE cluster.. I'd like to download this config and keep it in my local repository so that I may later recreate this in other projects/environments. Is there a way to do this? I was able to ...
Robin Singh's user avatar
0 votes
1 answer
655 views

Cloud Migration from AWS to GCP using Velostrata

During the VM Migration from AWS to GCP Cloud, the process is failing with the error: Finished job: StartFullMigration on VM: i-0240124484b1xxxxx, result: Failed, reason: [Connecting to Importer. ...
Syed Kamran Naqvi's user avatar
1 vote
0 answers
786 views

How can I upgrade the openGL version on a compute engine VM on GCP?

GCP Compute Engine Machine info - Windows server 2016 - Xeon (R) 2Ghz 8 cores - RAM 7.2 GB - 1 Nvidia Tesla T4 Virtual workstation GPU - Connection using RDP I'm trying to install Blender (3d ...
Shubhankar's user avatar
0 votes
1 answer
254 views

I have accidentally delete allow on ssh from ufw

I have configured a flask app on Googles compute engine/ vm instances and when I removed 'Nginx HTTP' rules from ufw, I accidentaly removed 'OpenSSH' rule also. When I try to connect to ssh ssh: ...
Dragos Vasile's user avatar
3 votes
1 answer
2k views

Using TeamViewer to connect to Windows Server VM instance in Google Compute Engine

TeamViewer is installed in my Windows Server in GCE. For some reason, I can connect through TeamViewer only when I or another user is connected to the VM through Windows Remote Desktop. When the RDP ...
f-see's user avatar
  • 31
1 vote
0 answers
150 views

Missing icons when installing zsh and powerlevel9k on Google compute instance?

I found this article on zsh and thought it looked interesting to have a nicer gui on command prompts so installed it via their instructions. Following the installation I've got missing icons as ...
Jesse Reza Khorasanee's user avatar
1 vote
0 answers
13 views

Compute Engine access SSH Console

It is not possible from the GCP web console to access my instance of the comute engine via SSH. Do you have any way to access? I do not have root keys.enter image description here
Oscar's user avatar
  • 11
6 votes
5 answers
7k views

Google Compute Engine SSH - different username after switching to OS Login

I created a Compute Engine VM (Ubuntu 18.04), and when I log into it using the SSH button in the VM instances list I'm logged in as user username. After a while, I realised I needed to be able to use ...
Wil Koetsier's user avatar
0 votes
0 answers
45 views

Google Compute Engine SSH - different username after switching to OS Login [duplicate]

I created a Compute Engine VM (Ubuntu 18.04), and when I log into it using the SSH button in the VM instances list I'm logged in as user username. After a while, I realised I needed to be able to use ...
Wil Koetsier's user avatar
35 votes
2 answers
43k views

What does it mean if SSH hangs after `Connection Established`?

I use a Google Cloud VM and every once in a while I switch back to my terminal and see my ssh session has frozen. When I then try to reconnect ssh -v -i ~/.ssh/key [email protected] It shows this: ...
oarfish's user avatar
  • 716
0 votes
0 answers
47 views

CENT OS 7 on Google Cloud sda1 is full of nothing?

I am on Google Cloud Linux CENTOS 7 Guest. I'm running out of disk! How is this possible? I don't use 25% what they say I do? (it looks about ~10Gb) # du --max-depth=1 --human-readable / | sort --...
Mr Heelis's user avatar
  • 121
0 votes
2 answers
4k views

FTP to Google cloud VM using sftp (FTP over SSH) *Simple Way*

So I have somehow waded my way through the heavily stinking gcloud sdk documentation, and managed to create a VM and connect to it. Now I wanted to upload some files to it, but as you'd imagine google ...
Mohd Abdul Mujib's user avatar
0 votes
1 answer
892 views

Copy files from GCP project to Google Cloud VM Instance

I have uploaded files to Google project in my home directory : I have an instance called sentiment-instance-1 I want to copy the file sentiment_insights.zip from google project social-media-analysis-...
Soumya Boral's user avatar
1 vote
0 answers
182 views

How to connect to a nested VM running on GCE instance directly from the internet

I have a nested VM running on a Google Cloud instance for the purpose of providing access to a legacy application in a redundant environment. Networking is working between the host and guest, and ...
Aosoft's user avatar
  • 21
0 votes
1 answer
563 views

GCP compute Engine SSH permissions Issue

Hi Everyone i've been banging my head against this issue all day and all the solutions seem to be tackling different SSH issues. My goal is to connect using FileZilla sFTP into my Google Compute ...
J Harry's user avatar
0 votes
2 answers
2k views

How to use TightVNC Java Viewer with built-in SSH to connect to an Ubuntu Google Compute Engine instance?

I am using the TightVNC Java Viewer downloaded from here: https://www.tightvnc.com/release-jviewer-2.6.php which has built-in SSH support. Using this, I would like to connect to my Google Compute ...
WebDev's user avatar
  • 101
0 votes
2 answers
52 views

Assign specific CPU's specific parallel processes on larger Google Compute Engine Machine Types

I've already found this SU question (it is similar but not the same): How to limit Google Compute Engine CPU utilization to 100% I don't want the parallel processing to be sandboxed from each other, ...
Jacob's user avatar
  • 1
1 vote
1 answer
550 views

Why startup-script runs multiple times in Google compute engine vm?

I don't understand why my startup-script runs multiple times at least, I think so because after I started the vm this morning at 6:00am now I just logged into google cloud console, checked the logs ...
neoDev's user avatar
  • 1,174
0 votes
0 answers
32 views

Loading Google Compute image onto VMWare

I'm trying to load a Google Compute image onto a VMWare (6.5) server. The image is a .raw file. However, I can't find .raw mentioned in any VMWare instructions, and more importantly, the ext HDD ...
Martin Moore's user avatar
0 votes
1 answer
2k views

Import VM into AWS from Google Cloud

I wonder how to import VM into AWS EC2 from Google Cloud ? There is this doc : https://aws.amazon.com/ec2/vm-import/ Am more worries about the potential issues.
quantCode's user avatar
  • 111
0 votes
1 answer
3k views

Unable to successfully start Chrome using Selenium on GCE

I have a Debian-based Google Compute Engine to run my Selenium scripts, but I cannot for the life of me run any scripts interfacing with Chrome. I have tried installing both Chrome and Chromium - and ...
oligofren's user avatar
  • 1,232
1 vote
0 answers
62 views

Compute Engine restrict SSH user to specific directory [duplicate]

How to create a new user that could connect Compute Engine instance via SSH but only access /var/www/[username]/html My instance is running Ubuntu 16.04 Currently, I have only the root user. ...
Silver Ringvee's user avatar
2 votes
1 answer
1k views

php5-curl not getting installed on Ubuntu 14.04

I have execute the below sudo apt-get install php5-curl result was root@digin-demo-app:/var/www/html# sudo apt-get install php5-curl Reading package lists... Done Building dependency tree Reading ...
Daz's user avatar
  • 71
0 votes
1 answer
2k views

Google Cloud - Filezilla FTP to compute engine running Plesk

With my current set up I have a Google Cloud compute engine machine running Debian and Plesk 12.5. The hosting, web space (https) etc... all work. However, I am having some issues trying to use FTP. ...
octo-carrot's user avatar
-1 votes
1 answer
502 views

Do startup scripts in Windows Server run asynchronously?

As I'm debugging a startup script for a remote VM, I'm trying to run some commands that rely on the ones before. The errors I'm getting are inconsistent; sometimes, 2 out of 3 steps will run, ...
janezdu's user avatar
1 vote
0 answers
167 views

Can't ssh to GCE instance after mounting /home

After creating a new instance (+ attached disk in /dev/sdb) and sshing to it via browser, i'm running: [root@instance-01 ~]# mkfs.ext4 -F /dev/sdb [root@instance-01 ~]# mkdir /media/disk [root@...
tiagojco's user avatar
  • 136