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.
63
questions
1
vote
0answers
26 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 ...
0
votes
0answers
20 views
Unable to login to Google Compute Engine using winscp after downgrading
I was running one Compute Instance on GC and used winscp to login fine for 1.5 years. Earlier, I added SSH keys under metadata and all I had to do whenever I restarted the instance is to change the ...
0
votes
1answer
262 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
...
0
votes
0answers
23 views
Cannot run sudo apt-get update on Google Compute engine
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions about general computing hardware and software on Stack Overflow. You can ...
0
votes
0answers
23 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-...
0
votes
1answer
87 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. ...
1
vote
0answers
328 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....
0
votes
0answers
27 views
I cannot connect to the ssh console on my VM instance
I am currently having problem connecting to the ssh console of my vm instance. If you need info on the vm instance I think the operating system is a Linux Debian 3.7.4. I think it has something to do ...
0
votes
1answer
59 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 ...
0
votes
0answers
8 views
Stopped the GCP server like 14 hrs ago, and it's still loading to stop. What could be the possible issue?
I've stopped the gcp server of region us central-a like 14 hrs ago, and it's still loading to stop. I've seen that google was facing such issue, so I thought that it would be solved once google ...
0
votes
1answer
570 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 ...
1
vote
1answer
163 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 ...
1
vote
0answers
143 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 ...
1
vote
2answers
881 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, ...
0
votes
1answer
26 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 ...
0
votes
1answer
52 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....
0
votes
1answer
20 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 ...
0
votes
1answer
345 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. ...
1
vote
0answers
372 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 ...
0
votes
1answer
51 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: ...
3
votes
1answer
788 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 ...
1
vote
0answers
69 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 ...
1
vote
0answers
11 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
5
votes
4answers
5k 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 ...
0
votes
0answers
38 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 ...
17
votes
1answer
12k 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:
...
0
votes
0answers
39 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 --...
0
votes
2answers
3k 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 ...
0
votes
1answer
634 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-...
1
vote
0answers
145 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 ...
0
votes
1answer
491 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 ...
0
votes
2answers
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 ...
0
votes
2answers
47 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, ...
1
vote
0answers
375 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 ...
0
votes
0answers
30 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 ...
0
votes
1answer
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.
0
votes
1answer
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 ...
1
vote
0answers
55 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.
...
2
votes
1answer
908 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 ...
0
votes
1answer
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.
...
-1
votes
1answer
342 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, ...
1
vote
0answers
158 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@...
0
votes
1answer
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?
0
votes
1answer
969 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 ...
1
vote
1answer
677 views
Unattended Upgrades in Google Cloud fill up disk
I created a micro instance in the Google Cloud Engine with a 10GB boot disk, using the Google-provided Ubuntu 14.04 image. The server hosted a small nginx/php/mysql app.
A few months later, the app ...
1
vote
1answer
416 views
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 (...
1
vote
1answer
2k views
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 ...
0
votes
0answers
60 views
Google compute instance froze
I am running several instances with Ubuntu 14.04 with a custom kernel. All was great (for about a week or two) but for some reason my instances started freezing when booting - I get an "ssh operation ...
1
vote
2answers
4k views
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 ...
6
votes
1answer
9k views
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 ...