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
1 answer
23 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 ...
user avatar
0 votes
0 answers
13 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 ...
user avatar
2 votes
2 answers
861 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://...
user avatar
  • 21
0 votes
0 answers
27 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/&...
user avatar
  • 1
0 votes
1 answer
561 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 ...
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 ...
user avatar
0 votes
1 answer
20 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 ...
user avatar
0 votes
1 answer
558 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 ...
user avatar
  • 11
1 vote
0 answers
149 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 ...
user avatar
0 votes
0 answers
49 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 ...
user avatar
  • 101
1 vote
0 answers
132 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 ...
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 ...
user avatar
1 vote
0 answers
175 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-...
user avatar
  • 111
0 votes
1 answer
839 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. ...
user avatar
  • 101
1 vote
0 answers
646 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....
user avatar
0 votes
1 answer
194 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 ...
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 ...
user avatar
1 vote
1 answer
191 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 ...
user avatar
  • 2,047
1 vote
0 answers
203 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 ...
user avatar
1 vote
2 answers
2k 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, ...
user avatar
0 votes
1 answer
34 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 ...
user avatar
0 votes
1 answer
68 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....
user avatar
0 votes
1 answer
45 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 ...
user avatar
0 votes
1 answer
541 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. ...
user avatar
1 vote
0 answers
531 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 ...
user avatar
0 votes
1 answer
134 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: ...
user avatar
3 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
89 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 ...
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
user avatar
  • 11
6 votes
5 answers
6k 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 ...
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 ...
user avatar
27 votes
2 answers
27k 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 user@host.domain It shows this: ...
user avatar
  • 596
0 votes
0 answers
44 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 --...
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 ...
user avatar
0 votes
1 answer
720 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-...
user avatar
1 vote
0 answers
167 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 ...
user avatar
  • 21
0 votes
1 answer
532 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 ...
user avatar
0 votes
2 answers
1k 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 ...
user avatar
  • 101
0 votes
2 answers
51 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, ...
user avatar
  • 1
1 vote
0 answers
441 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 ...
user avatar
  • 1,104
0 votes
0 answers
31 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 ...
user avatar
0 votes
1 answer
1k 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.
user avatar
  • 111
0 votes
1 answer
2k 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 ...
user avatar
  • 1,062
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. ...
user avatar
2 votes
1 answer
965 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 ...
user avatar
  • 71
0 votes
1 answer
1k 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. ...
user avatar
-1 votes
1 answer
408 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, ...
user avatar
1 vote
0 answers
163 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@...
user avatar
  • 136
0 votes
1 answer
2k views

Using Ubuntu GUI on cloud server

I have a Google Compute Engine VM instance running Ubuntu 14.04. I use command line through SSH so far to interact with the server. How can I interact with the Ubuntu VM via a graphical interface?
user avatar
  • 1,053
0 votes
1 answer
1k views

How to limit Google Compute Engine CPU utilization to 100%

I'm running batch jobs on n1-highcpu-32 Ubuntu 14.04 instances, which have 16 physical (32 virtualized) cores. This should be a trivial case (compared to MPI), but the CPU utilization is all over the ...
user avatar