Questions tagged [google-cloud-platform]
Cloud computing platform offered by Google. 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.
171
questions
44
votes
5
answers
40k
views
Docker / GCloud | How to fix docker-credential-gcloud not installed or not available in PATH?
I am trying to do a simple docker-compose command. But the console errors with that:
Building patch-panel
Traceback (most recent call last):
File "bin/docker-compose", line 6, in <module>
...
40
votes
2
answers
55k
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:
...
11
votes
3
answers
5k
views
Prevent gcloud from using Putty (google cloud sdk on windows)
When using google-cloud-sdk for windows, gcloud compute ssh will launch a built in Putty. Is it possible to specify a different default ssh client for gcloud compute ssh command?
10
votes
1
answer
21k
views
Can I connect to Google Cloud VM using a GUI?
I am considering creating a Debian VM on Google Cloud. Here are the newbie instructions:
https://cloud.google.com/compute/docs/quickstart-linux
It says in that article in the "Connect to your ...
7
votes
1
answer
1k
views
gsutil Crashes on macOS Catalina
I need to download a large directory from Google Cloud Platform, which I'd normally use gsutil for.
After upgrading to Catalina (10.15.1) and upgrading everything installed via homebrew, the gsutil ...
7
votes
3
answers
17k
views
GCP - sudo works in GoogleCloudShell but not when I ssh into vm
I created a brand new Google Compute Engine VM (Debian 9) and opened a shell to it using the GoogleCloud shell. I can sudo from that browser shell window.
I then setup my ssh-keys and ssh into the ...
6
votes
1
answer
1k
views
Open google cloud console with a certain user account
By default whenever you navigate to google cloud console it uses first default account. Is there a way to construct a link (for example) which would use a certain account from the list? I'm aware ...
6
votes
5
answers
8k
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 ...
5
votes
2
answers
4k
views
How to view RAM utilistion of a Google Cloud VM instance?
I'm using Google Cloud VM instances but I can't find the RAM Utilisation chart.
When accessing through https://console.cloud.google.com, go to Hamburger Menu >> Compute Engine >> VM instances, click ...
4
votes
2
answers
6k
views
Where are gcloud credentials stored
Where are the google cloud credentials stored in linux. I tried searching in the home folder but couldn't find anything relevant. For aws for example they are stored in ~/.aws
4
votes
2
answers
3k
views
Delete default network from google cloud
When trying to delete the default network from a google cloud project using the following command:
gcloud compute networks delete default
The following error is returned:
`ERROR: (gcloud.compute....
4
votes
4
answers
3k
views
ssh keeps asking for passphrase with gcloud
I'm trying to automate copying some local files from my mac (Mojave) into a GCP instance, using gcloud compute scp.
Works fine, but it keeps asking for the passphrase for the ~/.ssh/...
4
votes
1
answer
262
views
npm install google-cloud fails
When I try to install the google-cloud npm module,
npm install google-cloud
the installation fails
...
npm http 200 https://registry.npmjs.org/@google-cloud/language/-/language-0.5.0.tgz
npm ERR! ...
3
votes
1
answer
2k
views
Kubernetes and gcloud: how to stop using service account?
I work with a number of Google Cloud Services. Some of the Cloud Storage buckets where I work are in project-A, which is accessible from my own account, and some are in project-B, which I can only ...
3
votes
2
answers
7k
views
google cloud storage: find size of sub-folders with gsutil du?
I want to find the size of my sub-folders at the first depth in Google Cloud Storage. There is the function gsutil du, that is quite similar to du, but with some differences.
I am not able to just ...
3
votes
1
answer
12k
views
Is it possible to ssh to Google cloud linux vm using username and password
It is possible to connect to Google linux VM using public and private key - however, is it possible to connect to the VM using username and password only. There is such a solution for linux VM on ...
3
votes
1
answer
3k
views
Firebase hosting location
I'm trying to use Firebase hosting rewrites config to use a Firebase function at Asia region. But I cannot find any document to do this.
Basically, I want to access my Firebase app function at the ...
2
votes
1
answer
2k
views
ARP cache MAC and Docker
When I run cat /proc/net/arp I see two entries* bound to :
IP address HW type Flags HW address Mask Device
35.224.99.156 0x1 0x0 00:00:00:00:00:00 ...
2
votes
1
answer
2k
views
Error while installing gcloud on Mac
I'm trying to install gcloud on Mac using the following guide: Quickstart for macOS
I got the following error while executing the install.sh script
Pratyushs-MacBook-Pro-2:~ pratyush$ ./google-cloud-...
2
votes
1
answer
2k
views
GCE exported disk image to VMDK / VDI to boot as a local VM
I've taken a snapshot of GCE instance then converted it to a standalone disk then finally into an image.
This image is in the Google cloud, so as to make it downloadable I had it pushed to google ...
2
votes
1
answer
6k
views
How do I stop chrome remote desktop on Unix or prevent it running on startup?
I have an Ubuntu 20 VM on Google Cloud Platform. Mostly, I only need to SSH into the VM. However, very occasionally, I need to use a desktop environment. I am not particularly skilled with Unix.
I ...
2
votes
1
answer
5k
views
Unable to use publickey authentication on Win32 Open SSH server
I have been using pubkey auth for SSH on Linux for years, and now I am trying to get it working on the Win32 port on a Windows 2016 server. So far unsuccessfully. I have read the help file for ...
2
votes
1
answer
731
views
Kubernetes a job is moved to another pod
A long running job (45h) is moved to another pod causing it to restart.
From the logs I can see that the job received a SIGTERM then it was restarted on another pod and probably on another node too.
...
2
votes
0
answers
1k
views
Install @AngularFire Error:The package that you are trying to add does not support schematics
I am trying to install @angular/fire using the ng add @angular/fire command. However, I keep getting the error:
The package that you are trying to add does not support schematics. You can try using a ...
2
votes
0
answers
79
views
Hard limiting monthly upload
I have a 1GB upload cap on my internet connection.
Because of this, I want to hard limit my upload on my Debian machine to never exceed this cap in a given month.
After searching for how to do this ...
2
votes
0
answers
77
views
Restore an SQL database from FTP to Google Cloud
I have an FTP site from a third-party vendor that updates with weekly .bak files and daily .diff files for a Microsoft SQL 2016 database. I do not have access to the original database. My eventual ...
2
votes
1
answer
972
views
Google Cloud SDK Installer - Unzip Failed for Windows Installer
I am trying to install the Google Cloud SDK command-line interface using Windows Installer.
Running the Windows installer on Windows 10 machine, it always gives the following error:
Unzip failed: ...
2
votes
3
answers
539
views
FTP upload failing apart from one location
I'm trying to migrate a website from one server to another and I am having an FTP issue on the new server. The site has content pushed up to it by FTP by an in house piece of software, I know using ...
2
votes
0
answers
687
views
Unable to connect to google cloud platform instance via SFTP with Filezilla
Does anyone know the proper way to connect Filezilla SFTP to WordPress Instance on Google's Compute Engine?
I generated the SSH keys and input it into Filezilla but it connects and then kicks me out.
...
1
vote
2
answers
3k
views
Google Cloud Platform Change Ubuntu Kernel to generic
It is possible to change google cloud vm kernel?
I created Ubuntu 16.04.6 LTS with kernel GNU/Linux 4.15.0-1030-gcp x86_64 machine.
I downloaded 4.4.0-146-generic
I tried to change the /etc/...
1
vote
1
answer
164
views
Google Cloud Run billing SKUs
While using the Billing Reports in the Google Cloud Console, I am trying to filter down the SKUs related to Cloud Run.
What are the SKUs associated with Cloud Run?
1
vote
2
answers
456
views
Concerning sshd login attemps from unknown IP
I am running a Google Cloud Rocky Linux instance
For some operations, SFTP is required
I have found some concerning sshd login attemps from an unknown IP, limited logs below
Mar 09 15:29:16 server-...
1
vote
1
answer
3k
views
Which hypervisor is Google Compute Engine (GCE) using for its VM instances?
Which hypervisor is Google Compute Engine (GCE) using for its VM instances?
Although it might be an implementation detail, I'm interested in knowing which hypervisor Google Compute Engine (GCE) is ...
1
vote
1
answer
3k
views
GCP Instance refuses key
I recently created a VM instance on the Google Cloud Platform and attempted to connect to it using WinSCP via the following steps:
Created a ssh key pair using puttygen with [my_username]@gmail.com ...
1
vote
2
answers
3k
views
fix sudo access on Google Cloud Ubuntu 18 instance
I edited /etc/sudoers.d/google_sudoers and /etc/sudoers.d/90-cloud-init-users to remove password free sudo access. I use SSH access keys to log in and (apparently) I don't know the login password. ...
1
vote
1
answer
3k
views
gcp - no concurrent builds quota available to create builds
in Google Cloud i am trying to import a Win10 vmdk from my Bucket via the "google cloud SDK" and am receiving following error:
C:\Users\olli\AppData\Local\Google\Cloud SDK>gcloud compute ...
1
vote
1
answer
58
views
I need to change my digital fingerprints so it would like an ordinary computer from USA [closed]
I know that Tor can do that, but as I understood, it changes your data every time. But I need constant data, so web site that I use would recognize me without any suspicion. Is there any way to do ...
1
vote
2
answers
3k
views
Cannot SSH to Google Cloud Engine from ubuntu or debian
i try to ssh to my google cloud insance using the local linux. I generated the keys using the docs
ssh-keygen -t rsa -f ~/.ssh/my-ssh-key -C [USERNAME]
Then putting the pub key to the meta data. But ...
1
vote
1
answer
1k
views
Public and private keys in Google Cloud and WinSCP
I'm trying to transfer a directory of files from my local Windows 10 machine to the remote machine in Google Cloud. I'm following this tutorial to connect WinSCP to the GCP.
But in step 7 I have to ...
1
vote
1
answer
735
views
Getting "fatal: 'path' does not appear to be a git repository" when pushing to Google Cloud instance
I am in a Git repository:
$ cd /Users/me/dev/example
$ git status
On branch master
nothing to commit, working tree clean
$ pwd
/Users/me/dev/example
I ran these:
gcloud compute config-ssh
ssh example....
1
vote
2
answers
6k
views
packet_write_wait: Connection to x.x.x.x: Broken pipe
I have been running codes on Google cloud GPU for some days now. Recently, a problem occurred frequently and had become a headache of mine for days.
For some time, an error message will occur
...
1
vote
2
answers
347
views
My Google Kubernetes Cluster is down, how can I recover?
My Google Kubernetes is down and the only message I see on the dashboard is "The cluster has a problem."
When I execute
gcloud container clusters describe [cluster-name]
The second to last line ...
1
vote
1
answer
261
views
GCP vpc vm private access to googleapis blocked (firewall not working)
According to the GCP doc, for security reasons, we restrict egress requests from vpc instances to only 199.36.153.4/30 by creating a high priority firewall rule -- allowing egress traffic, with next ...
1
vote
1
answer
143
views
Cloud search settings not found
I am trying to create custom google cloud search using the following document:
G Suite Admin Help - Create a Custom Search
For some reason, the Search settings under Cloud Search are not appearing
...
1
vote
2
answers
2k
views
Linux/Google Cloud VM Instance give permissions to SSH key user
I created an SSH key to connect my google VM instance to FileZilla. But I get permission errors.
For example, I want to replace the index.html.
But I get:
How do I get my SSH key user to have full ...
1
vote
1
answer
87
views
Low Windows bandwidth in google cloud platform
I have an on-premise site with mainly Windows resources and an up-to-date Forti firewall as the central communication device. This site is connected through a partner interconnect created according to ...
1
vote
0
answers
115
views
Adding Keys to a GCP Instance(VM)
I have created a GCP instance and want to add SSH keys for use with Putty. I followed their tutorial steb by step. Created the keys via Puttygen as advised and added to the section during instance ...
1
vote
0
answers
202
views
Unable to do SFTP after enabling IAP for vms in GCP
I have enabled IAP to ssh the vm , but the problem is after enabling it I am not able to do sftp , previously I was able to sftp using the vpn.
IAP configuration page
I can do ssh with gcp console ...
1
vote
2
answers
1k
views
Working in GCP free tier rather than free trial, or suspending the free trial [closed]
I believe I've made a mistake today. I wanted to start doing some things with the Google Cloud Platform free tier, without starting the clock on their offer of a $300 credit for three months.
I went ...
1
vote
1
answer
1k
views
Google cloud platform: unable to connect to compute instance via SSH
I'm struggling to connect to my GCP instance via SSH. Connecting via SSH from the the web based console is fine, and I can connect using the Google cloud SDK shell from my laptop, which rules out a ...