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 ...