Skip to main content

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.

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> ...
Dimitris Efst's user avatar
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: ...
oarfish's user avatar
  • 806
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?
Ben Hizak's user avatar
  • 119
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 ...
posfan12's user avatar
  • 672
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 ...
Chris Garaffa's user avatar
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 ...
PatS's user avatar
  • 485
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 ...
Georgy Grigoryev's user avatar
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 ...
Wil Koetsier's user avatar
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 ...
Dan D.'s user avatar
  • 731
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
R. Doolan's user avatar
  • 125
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....
Erez Ben Harush's user avatar
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/...
nbneo's user avatar
  • 61
4 votes
1 answer
264 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! ...
Flock Dawson's user avatar
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 ...
Nathan Ricke's user avatar
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 ...
Matifou's user avatar
  • 141
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 ...
motiur's user avatar
  • 175
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 ...
Myles's user avatar
  • 161
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 ...
candccoder's user avatar
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-...
Pratyush Choudhary's user avatar
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 ...
Vinodh's user avatar
  • 33
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 ...
Fergusmac's user avatar
  • 141
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 ...
oligofren's user avatar
  • 1,369
2 votes
1 answer
734 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. ...
should_be_working's user avatar
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 ...
user1354010's user avatar
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 ...
Jademalo's user avatar
  • 139
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 ...
user2895444's user avatar
2 votes
1 answer
974 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: ...
Bhavik's user avatar
  • 131
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 ...
Calum's user avatar
  • 21
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. ...
C.M.C's user avatar
  • 21
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/...
Degand's user avatar
  • 11

15 30 50 per page
1
2 3 4 5 6