Questions tagged [google-cloud-shell]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
178 views

gcloud compute commands sometimes getting stuck in WSL

I am running various gcloud compute commands from the linux subsystem on Windows 11 using Debian. In general, it works great. However, sometimes the gcloud command simply does not return, even after ...
user avatar
0 votes
0 answers
1k views

Why am I getting 'Unable to connect to the server: context deadline exceeded' error when creating GKE job?

am trying to create a GKE job by following the instructions in the official documentation. I am doing it though via Cloud Shell. I have created the yaml file, however when I run the command: kubectl ...
user avatar
  • 1
0 votes
1 answer
149 views

Can find RSA private key for uploading my SSL certificate to Google App Engine

Right now I am trying to upload a SSL certificate from GoDaddy so That I am able to enable HTTPS for my custom domain name for the website hosted on the app. Whenever, I try to upload the SSL ...
user avatar
0 votes
0 answers
69 views

Where can I find and access my vm django instance files?

I create a vm instance from marketplace called djangostack I can connect to the files on ssh button on Compute engine page! But how can I access the files of that django and re-write codes and do the ...
user avatar
0 votes
0 answers
73 views

“Google cloud shell is temporarily unavailable. Try connecting in a few minutes.” error

tried to restart the cloud shell or using admin account still get the same return. I am still using trial credit and locate in South East Asia. Any idea on this error ?
user avatar
0 votes
1 answer
78 views

Permanent storage in GCP Cloud Shell lost

Google Cloud Platform (GCP) offers an interactive shell with free permanent storage of 5GB. The only condition to keep it is to connect to it at least every 90 days. If you let this time pass, you are ...
user avatar
1 vote
3 answers
3k views

web servers attached on front end of HTTP(s) Load Balancer

I am very new to the google cloud platform. How do I make sure to attach webservers to the front end of a HTTP(s) load balancer, from the gcloud console? When finishing a challenge qwiklab on the ...
user avatar
  • 111
0 votes
1 answer
53 views

My development code went missing after GCP cloud shell disruption #20006

I am referring to GCP incident https://status.cloud.google.com/incident/developers-console/20006 I couldn't use GCP's cloud shell for few hours yesterday. And today i can get into Cloud shell but i ...
user avatar
  • 101
0 votes
1 answer
189 views

How do I permanently upgrade psql client version in Google Cloud Shell?

From this answer I need to upgrade the psql in the Google Cloud Shell. But any upgrade I do there it shows a warning like this: Note that your Cloud Shell machine is ephemeral and no system-wide ...
user avatar
  • 101
0 votes
1 answer
689 views

Connecting to VPC internal services from Google Cloud Shell

Is it possible to access services (like CloudSQL or some custom applications) that are running on internal IPs only (VPC) from cloud shell? The idea behind it, I want to keep Cloud SQL on private IPs ...
user avatar
2 votes
0 answers
92 views

How to auto init direnv on Google Cloud Shell?

my .bashrc has these lines at the bottom: if [ -f $HOME/tools/bashrc ]; then source $HOME/tools/bashrc fi and $HOME/tools/bashrc has this code at the bottom: eval "$(pyenv init -)" pyenv ...
user avatar
  • 121
0 votes
1 answer
2k views

GCP cloud shell disconnecting frequently

I logged into Google cloud and cloud shell keeps on disconnecting . Not sure why it is. Internet is fine. Error: The connection to your Google Cloud Shell was lost.
user avatar
0 votes
2 answers
279 views

Why can't I use opening curly & square brackets on google cloud shell with macOS?

I usually need to use opening curly & square brackets when I open GShell. When using GShell on macOS, I can't use opening curly & square brackets. I guess the key combination is binded to ...
user avatar
  • 3
1 vote
1 answer
372 views

Can I hook up my Google Compute Engine VM to Cloud Shell?

I am wondering if there is a way to hook up my Google Compute Engine VM to Cloud Shell. The purpose is so that I can edit files in my VM using Cloud Shell editor. Thanks.
user avatar
  • 13
-1 votes
1 answer
3k views

Disabling SSH access into prod VM on GCP

As per title, for example if I disable SSH access into VM on GCP, but someone wants to remotely manage VMS , build docker containers or manage Cloud storage objects what they have to do? Grant people ...
user avatar
2 votes
1 answer
2k views

Google cloud sdk error : token exchange failed

I am totally new to Google Cloud. I am trying to push a Docker image on Google Cloud Registry. I have performed following steps : Installed Google Cloud SDK. Downloaded a JSON key file for my IM ...
user avatar
0 votes
1 answer
560 views

google-cloud-sdk - This account has no projects

When I accessed the project of a company that is a member from the Cloud SDK in the Gsuite account, it returned "This account has no projects." Logging in with the browser, I can log in to the company'...
user avatar
0 votes
2 answers
1k views

Recover Google Cloud Shell Home Directory

My G Suite user which I log into GCP with has been renamed from firstname@domain.com to firstname.lastname@domain.com I have now logged back into Cloud Shell and my home directory content is gone. ...
user avatar
1 vote
2 answers
1k views

scp to google cloud-shell fails (ssh works)

I'm trying to use scp to copy a large file over to cloud shell. Using the suggested command from this SO answer gcloud alpha cloud-shell scp \ localhost:~/Sites/my-app/big_file cloudshell:~/...
user avatar
  • 285
6 votes
3 answers
13k views

default ssh is not working from GCP Console and browser crashes or hang

After creating an instance in Google Cloud Platform(GCP), I was able to click on SSH and open the browser based SSH console to access the instance. (Auto key copying and connect from console itself ...
user avatar
  • 161
0 votes
1 answer
1k views

How to get Google Cloud Shell within Firefox ESR 52.5.0 on CentOS6 to work reliably?

In a single browser window, Google Cloud Shell only lets me have one instance that is not corrupt. Screenshots explain. Is there something one can do using Firefox 57 Quantum on Windows 10 or ...
user avatar
  • 568