Questions tagged [google-cloud-shell]

Google Cloud Shell is a shell environment for managing resources hosted on Google Cloud Platform.

Google Cloud Shell is a shell environment for managing resources hosted on Google Cloud Platform. See documentation for more details.

390 questions
0
votes
2 answers

GCP: Dataflow [unrecognized arguments]: --subnetwork from cloud-shell & Invalid value from console

I am trying create dataflow with subnetwork pararameter, but getting these errors user@cloudshell:~ (project-id)$ unrecognized arguments: --subnetwork from Console Invalid value for field 'resource.properties.networkInterfaces[0].subnetwork gcloud…
BVSKanth
  • 111
  • 2
  • 16
0
votes
3 answers

I accidentally added an 'exit' in my CloudShell .bashrc, cannot get back to edit it, it exits immediately

While learning about/customizing my GCP Cloud Shell startup environment I inadvertently added an 'exit' in my .bashrc and now cannot even get the shell up long enough to reset it when I click on the Cloud Shell icon from GCP dashboard -- how to…
0
votes
1 answer

Whats the name of the "initial" GCP cloud shell instance?

When I login to Google Console and open the cloud shell, I have a (Bash) shell, and using the "three dots" menu, I can upload a file to this instance: How can I do that using my local command line (i.e. from my own OS running on my laptop)? I guess…
TMOTTM
  • 3,286
  • 6
  • 32
  • 63
0
votes
1 answer

Unable to setup mysql in google cloud shell

I'm trying to install mysql in a cloud engine through the cloud shell I installed it with: sudo apt-get -y install mysql-server And set password with: sudo mysql_secure_installation when I input the password, I receive this error: Enter current…
Filipe Ferminiano
  • 8,373
  • 25
  • 104
  • 174
0
votes
0 answers

Custom Cloud Shell Image Creation - git push problem

I'm creating a custom Google Cloud Shell image. I'm following Cloud Shell's own tutorial on how to create a custom image. Everything was fine to the step: Push image to Google Container Registry. $ git commit -a -m "Initial custom environment…
0
votes
1 answer

How to extract Bigquery table for every given length of rows to csv file in Google Storage?

For example, I have a table in bigquery with 10 million rows, I want to extract this table to Google Storage every 100 thousand rows. To make it clear, I want 100 csv files and each one have 100k distinct rows in the bigquery table. bq extract…
user11366694
  • 141
  • 1
  • 2
  • 8
0
votes
0 answers

Unable to Connect Flask with Google Cloud Shell

Objective :- I want o generate an web link for other users in my team to interact with the bot Here is the code which I am using in Google Cloud Shell from flask import Flask,Response import pandas as pd import gspread from…
0
votes
2 answers

Google Cloud Shell - How to resolve CERTIFICATE_VERIFY_FAILED error?

I have simple dataflow pipeline and trying to execute from cloud shell, Code: from __future__ import print_function import apache_beam as beam from apache_beam.options.pipeline_options import PipelineOptions with…
Jaison
  • 715
  • 1
  • 10
  • 33
0
votes
1 answer

Google Cloud SQL does not let me download console output. Permission for output not allowed, and mysql -u root does not work

Using: MySQL 5.7 What I want to achieve: To save console output of Cloud SQL output as a text. Error: Cloud SQL returns this: ERROR 1045 (28000): Access denied for user 'root'@'%' (using password: YES) Things I tried: Logging in with no password →…
0
votes
1 answer

How to combine GCP Cloud Shell commands that run across all projects with commands that are specific to one project?

I am looking to enable an API in all of my projects, but only create the BigQuery dataset in one project. I've tried different ways, but the dataset is being created in every project. Any suggestions on how to combine these two into one bash script…
Lucas
  • 65
  • 1
  • 1
  • 6
0
votes
1 answer

How to test an endpoint after facebook login with test user

I'm developing and app with facebook login but I want to check my node endpoint. I have create some users test and add the endpoint's url in Valid OAuth Redirect URIs settings. The endpoint's code is simple: router.get('/facebookToken', function…
0
votes
0 answers

Google Cloud Shell automatic shutdown

I'm just trying out a tutorial (https://cloud.google.com/ml-engine/docs/tensorflow/flowers-tutorial) to get familiar with model training & scoring for classification problems using ML compute engine. But soon after declaring variable vals for path,…
Prakash
  • 21
  • 6
0
votes
2 answers

Enabling Google Cloud Shell "boost" mode via gcloud cli

I use the method mentioned in this excellent answer https://stackoverflow.com/a/49515502/10690958 to connect to Google Cloud Shell via ssh on my ubuntu workstation. Occasionally, I need to enable "boost-mode". In that case, I currently have to open…
grill05
  • 171
  • 14
0
votes
0 answers

Is Google cloud terminal terminating multiple get requests?

I'm trying to send get requests through google cloud terminal. Get request is inside a map function so around 41 requests had to be made according to the 41 items. Unfortunately after 13 to 14 requests, it starts to throw this following…
Abrar A.
  • 113
  • 3
  • 11
0
votes
2 answers

Google Cloud Shell - cannot connect - client network error

Running Windows 10 home I keep getting the following error message when I try to open Google Cloud Shell in Chrome: Cannot connect to Cloud Shell due to a client network error. Please ensure you are connected to the internet and your network proxy…