Questions tagged [google-cloud-platform]

Google Cloud Platform provides cloud computing services that let you build applications and websites, store data, and analyze data on Google's infrastructure.

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

Prevent IAM escalation in GCP

I want to create a GCP project and to grant access on specific APIs / permissions to a team. But I want them to be autonomous : they should be able to create their own service accounts on the scopes ...
0
votes
1answer
9 views

fail to submit job to f1-micro with gcloud ml-engine (or ai-platform) command in jupyter notebook

I am trying to submit a google cloud job that trains cnn model for mnist digit. since I am new to gcp, I want to train this job on f1-micro machines first for practice. but not successful. I have two ...
0
votes
0answers
5 views

Google Cloud SSL Proxy Load Balancer Not Forwarding Traffic

I have a Compute Engine app that listen on Port 110 for TCP traffic in my backend. On the frontend, I'm trying to set up a Google Cloud SSL Proxy Load Balancer to sit in front of my instances. I'd ...
0
votes
0answers
11 views

GCP Instance Template with Container undefined

I have a nasty problem where any new instance templates I attempt to create will not register my Container Registry containers, no matter what I do. My existing container images work, but any new ...
0
votes
0answers
9 views

Cannot access GCP projects anymore

my development team has been sparingly trying out Google Cloud Platform for about 10 months. Every member was using the same account to access GCP, say [email protected] We created three projects ...
1
vote
2answers
23 views

Can google cloud functions listen to multiple event triggers?

I am currently trying to deploy a Google cloud function using the REST API, in order to listen to a Google cloud storage bucket for changes/deletions. However, I noticed that I can only specify one ...
0
votes
0answers
8 views

unable access website using custom domain and external ip address in compute engine

Hi I have created compute engine and external static ip and I have changed A record on my domain manager. When I try to access domain/ip in browser it redirect to different ip and This site can’t be ...
-1
votes
0answers
6 views

Processing speed in google cloud vision api (much less under quota)

We are running an application for label detection using cloud vision api. Application runs in 10 threads sending image urls to google cloud vision api, but we get google error code: 4 We can not ...
0
votes
1answer
21 views

Problems connecting one GCE instance to another via SSH

I am attempting to connect (via SSH) one GCE VM instance to another GCE VM instance (which will be referred to as Machine 1 and Machine 2 from now one). So far I have generated (via ssh-keygen -t ...
0
votes
0answers
11 views

How to make requests in third party APIs and load the results periodically on google BigQuery? What google services should I use?

I need to get the data from a third party API and ingest it in google BigQuery. Perhaps, I need to automate this process through google services to do it periodically. I am trying to use Cloud ...
1
vote
0answers
21 views

Jupyter notebook cannot pick up the latest python version installed on Google VM

I cannot upgrade the version of the Python Notebook on Google Cloud from 3.5 to 3.6. I have installed Python 3.6. On terminal, it shows me the python3 version has been updated to 3.6. [email protected]
0
votes
0answers
7 views

Dataflow job drain does not end and system latency grows for a long time

We have a dataflow pipeline that ends with either send a PubSub message to "Done" topic OR send a PubSub message to "DLQ" topic For the scenarios when we have some messages sent on both topics, ...
0
votes
0answers
6 views

Microsoft Authenticode Code Signing ( EV ) + Google Cloud HSM?

Our company uses EV codesigning certificate on eToken usb dongle, but we are currently planning to move our build and signing procedures to virtual server in cloud, everything is fine, except one ...
0
votes
1answer
18 views

Configure Google App Engine to serve a JS client side app

I have a basic flask app that uses the flask_restful extension (for making restful services): main.py from google.cloud import datastore from flask import Flask from flask_restful import Resource, ...
0
votes
1answer
14 views

Running Knex migrations during build with process Google Cloud

I am able to run migrations once the application has started. But am having trouble with making the migrations run before the application has started. My database connection is through Private IP and ...
2
votes
0answers
19 views

How to use Stackdriver Trace to create custom spans in App Engine Standard?

I try to add custom spans and annotations to an AppEngine Standard application. In the Traces page of the GCP console, I see the default spans but not the custom spans that I have added. I follow the ...
-3
votes
0answers
21 views

How can I get PHP working in GCP? I simply want contact forms + MySQL database communications [on hold]

I'm attempting to develop a Website with GCP with a simple contact form but cannot get PHP to run or exchange information with my public HTML on my static site. Please send help. ❤
0
votes
1answer
19 views

Job fail while attempting to train a model with scikit-learn on Google Cloud AI Platform

Using the tutorial by Google I manage to successfully submit the training application through Cloud Shell but the job fails soon after. I've tried using a blank .py file, just to try see if that was ...
3
votes
0answers
33 views

Why App Engine can't connect to Cloud SQL with my Spring Boot app?

I'm trying to connect my App Engine application (in Java Spring Boot) with a Cloud SQL database. Deployment is working and app start but block on Connection to Cloud SQL : main] c.g.cloud.sql.core....
1
vote
0answers
48 views

Google API returns a response 200 empty JSON

I'm trying to make an HTTP GET request to the Google Street View Publish API, inside a Google Apps Script script, to fetch the photos list and save metadata about them to a Google spreadsheet. The ...
0
votes
0answers
8 views

Using kubernetes/client-node lib

I have kubernetes cluster on my GCP platform and I want to get Node's list in my cluster by using client-node lib. const cluster = { name: 'my-cluster-1', server: 'https://...
0
votes
1answer
21 views

Why boot disk is not which i created

I just created a google instance choosing centos-7 boot disk, but when I logged in to check the Linux version, the output is Debian 9.9, not centos-7. Why does this happen? 1.I rebooted the instance ...
1
vote
0answers
23 views

How to push a docker image to Google Cloud Registry using GitLab ci pipeline

I am trying to push a Docker image to Google Cloud Registry via the GitLab ci pipeline. The image builds but when its time to push to registry i get the following error. denied: Token exchange ...
0
votes
1answer
42 views

GCP cloud functions connecting to cloud sql with private IP

I'm following this example to make a connection from cloud function to postgres cloud sql: https://cloud.google.com/functions/docs/sql. When I create a test cloud sql instance with Public IP and I ...
0
votes
0answers
13 views

Separating Hive storage from Spark cluster (compute layer)

We have a scenario to use Storage capabilities of Hive (HDFS underneath) and Computing power of Spark cluster in the cloud environment. Is there a way that we can separate the two layers clearly. ...
0
votes
0answers
17 views

How to specify BigQuery dataset location in R-Studio with bigrquery?

I am new to R, and wanted to work with BigQuery in R studio using BigQuery package. I am trying to run a simple query to BigQuery via Rstudio after our dataset location was changed from 'US' to '...
0
votes
2answers
29 views

how to download the big result in bigquery

I am new to gcp. My mission is to download the query result in patents dataset, but the result is too large. I cannot download it directly because gcp only supports download 16000 lines data. I ...
0
votes
1answer
23 views

Relationship between REST API and Google Cloud Endpoints?

Is it that Cloud Endpoints enable the implementation of a REST API? It looks like it is possible to create a REST API by just using Flask to handle different methods (GET, POST, PUT, etc.), so where ...
0
votes
1answer
30 views

Big query analytical function not giving expected results

I am trying to write a sql in bigquery and I have a requirement to filter records based on a group by column and another column in the table what I mean is I want to check if the group by column(...
-2
votes
0answers
16 views

How to shoot a sql query on Cloud-sql? [on hold]

I want to shoot sql queries on google cloud sql based table remotely from my pyspark script .
0
votes
0answers
46 views

jupyter notebook from GCP instance not able to import wget or fastai

I have a VM instance running on google cloud platform. I followed the instructions here: https://towardsdatascience.com/running-jupyter-notebook-in-google-cloud-platform-in-15-min-61e16da34d52 to ...
0
votes
0answers
10 views

Secure Mysql Install can't connect after secure install

So I'm following a tutorial on installing vanilla forums and I'm flowering the steps to create root mysql user I follow all steps set everything stop mysql and then restart it now when I try to login ...
0
votes
0answers
39 views

Error binding IAM policy when setting up cloud functions with endpoints

I am following these instructions to setup a Google Cloud Endpoints with Cloud functions. I've managed to setup ESP with Cloud Run, and configured the endpoint, but now at the point where I binding ...
0
votes
1answer
24 views

Can I specify VM names while creating a cluster in Google Cloud?

When I create Kubernates cluster in my Google cloud, it builds VMs with autogenerated names like k8s-cluster-xyz123. Is it possible to specify custom names for them? Also, how do I add a tag to it's ...
-1
votes
1answer
16 views

Google Cloud Platform networking: Resolve VM hostname to its assigned internal IP even when not running?

Is there any way in the GCP, to allow VM hostnames to be resolved to their IPs even when the VMs are stopped? Listing VMs in a project reveals their assigned internal IP addresses even when the VMs ...
0
votes
1answer
11 views

How to add GCloud Bucket in ingress manifest?

It's pretty straightforward to add Bucket to Load Balancer in Google Cloud console. Can I do the same from within ingress manifest (yaml) file? Cheers
0
votes
0answers
12 views

Error when i try to connect to project instance in GCP with LogginOptions.getDefaultInstance library

I am trying to write logs in Google Stackdriver, i found Google cloud Loggin library, so when i try to do it, i get the following error. I have an error in this line try(Logging logging = options....
-2
votes
1answer
38 views

Why can't I download files inside the google cloud console? [on hold]

When I am in the editor and I click to download a file I cannot download it, the message appears: "Error: server error". I've been like this for a few days now. What I have tried is: Test in ...
1
vote
1answer
24 views

Service, installed on a template, doesn't persist on vm created

G'day So, here what I'm trying to do: 1) create a VM from an existing template 2) install Stackdriver-agent on the VM created 3) create a new template, using VM w/ agent installed as a source ...
1
vote
1answer
17 views

Kubernetes Engine API delete pod

I need to delete POD on my GCP kubernetes cluster. Actually in Kubernetes Engine API documentation I can find only REST api's for: projects.locations.clusters.nodePools, but nothing for PODs.
0
votes
1answer
24 views

How to connect to SQL DB from Java JDBC with mutual TLS/SSL encryption

Cloud databases are very prevalent today and sometimes we need to connect to one from a laptop or similar. Usually there is an option for an unencrypted connection but that's not very secure. So how ...
0
votes
1answer
23 views

Stream Process Scraped Audio in GCP

I'd like to scrape multiple audio channels from a website. I'd like to do the following simultaneously and in real-time: 1. Save the audio to GCP Storage. 2. Apply speech-to-text ML and send ...
0
votes
0answers
34 views

Anyway to connect to external databease from GCP ? (From PHP - Laravel app)

I want to "use Google Cloud SQL Proxy to connect to another vendors database" (Vendor's database is not stored in GCP, It's simple mysql database hosted in another server) since I have to update ...
1
vote
1answer
44 views

Python gcloud api client : How to get instance price, uptime and name of user that created a particular instance

Am using python googleapi client library to get instance data for a project Am getting instances like this: from googleapiclient import discovery from google.oauth2 import service_account scopes = [...
0
votes
2answers
39 views

Google Datastore: how to retrieve entities with children?

I only found the way to get children entities by parent one. But is there any way to retrieve the list of parent entities (by some parent entity's properties filter) with their children in single ...
0
votes
1answer
20 views

Setting x frame option header in GCS Bucket

I have to set X-Frame Options in my application, i have hosted my application in GCS bucket. Please let me know how i can set header in bucket. I am unable to figure it out where to set header in GCS ...
1
vote
1answer
33 views

How to download public files from google storage using html download tag

I have stored files on GCP storage and made public. I have a public URL for GCP files. when I am tried to download these files using HTML download tag, its opening autoplay embedded player but not ...
0
votes
1answer
14 views

Is there a feature to extract image font property using cloud vision api

Text extraction is used for extracting text from the image. Can we extract the image font properties such as font family, font style, font size, etc from a given image using text extraction feature ...
0
votes
0answers
24 views

How to create array of nested fields and arrays in BigQuery

I am trying to create a table in BigQuery according to a json schema which I will put in GCS and push to a pub/sub topic from there. I need to create some arrays and nested fields in order to achieve ...
0
votes
3answers
27 views

Google Container Registry images lifecycle

I would like to know if there is a way to setup an objects lifecycle in GCP Container Registry? I would like to keep the last n versions of an image, automatically deleting the older ones as new ones ...