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.
Questions tagged [google-compute-engine]
69 questions
47
votes
2 answers
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:
OpenSSH_7.4p1, LibreSSL 2.5.0
debug1: Reading…
oarfish
- 896
15
votes
5 answers
How can I copy files from a Google Cloud Compute Server to my local machine?
I'm trying to download all of the server files from Google Cloud Compute (running Linux Debian). I'm extremely unfamiliar with SSH and Google Cloud Compute as a whole. I'd prefer either copying all of the files (similar to a git pull request) or…
user1890328
- 253
7
votes
1 answer
Copy files from Google Compute Engine instance to Google Cloud Storage bucket
Is there a way to copy files from a Google Compute Engine instance directly to a Google Cloud Storage bucket? There doesn't seem to be any info on the gcloud compute copy-files help page or in the Google Cloud Storage documentation.
The only…
sathishvj
- 467
6
votes
5 answers
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 another SSH client as well. As per…
Wil Koetsier
- 91
5
votes
3 answers
`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 such file or directory".
I have tried setting…
Snoober
- 101
- 1
- 5
3
votes
2 answers
Where does the httpd.conf reside in GCE Apache?
I have a simple, Django application which I would like to push to production on a Google Compute Engine (GCE) server. The GCE server is running Debian-Wheezy. I have installed Apache 2, Django 1.6.2 and mod-wsgi on the server and set up a firewall…
user714852
- 293
3
votes
1 answer
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 session is terminated, TeamViewer says the remote…
f-see
- 31
2
votes
0 answers
"No supported authentication methods available" when connecting to gcloud with FileZilla
I've followed this guide:
https://cloud.google.com/compute/docs/tutorials/lamp/transfer-files
I have my private key generated and added to FileZilla but I can't seem to connect.
The guide specifies to insert sftp://instanceip but FileZilla keeps…
ebeing
- 21
2
votes
0 answers
ssh-add on compute engine ubuntu vm for out going
I have an id_rsa key that I use to connect via scp to a remote server that I've moved to my Ubuntu GCE. I have dropped the key (id_rsa) into main user .ssh folder, chmod 600 but ssh-add won't pick it up.
sftp -v -o 'IdentityFile2 id_rsa'…
barnamos
- 21
2
votes
2 answers
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://myBucket/myova.ova
I do get the Error :
ERROR:…
A. T.
- 21
2
votes
1 answer
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 state information... Done
php5-curl is already the…
Daz
- 71
1
vote
1 answer
Google Cloud SSH Authentication
I just recently started to use Google Cloud Platform and I'm using SSH for several purposes.
As security is highly important in this project, I'm trying to figure out how the SSH authentication works (specifically with GCP).
I'm following Google's…
Lior Ohana
- 275
1
vote
1 answer
Upload my own VM image to GCE
I have prepared a very light-weight, stripped-down and optimized for CPU-intense tasks Debian system to run on a Google Cloud Engine. But as on AWS, I can't find a way to upload this VM to Google. Is it possible?
Bruno Finger
- 332
1
vote
1 answer
Original sources.list of Ubuntu 15.04 Google Cloud Compute VM instance
I accidentally deleted the sources.list file from my Ubuntu VM running on a Google Compute Engine instance.
As Amazon Web Services, they also have their own optimized sources.list. I need an original unmodified one, please.
UPDATE: According to…
Bruno Finger
- 332
1
vote
2 answers
Google Compute Engine as a Minecraft server
I'm working on using a Google Compute Engine instance running CentOS 6.6 as a Minecraft server, and I'm curious if it is technically possible to use port forwarding to allow other users to access it. I've been working with it for a couple hours now,…
PinSeventy
- 51