Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
7 views

Python import self package or .py file into streaming dataflow

I want to import some .py files into main dataflow file. I look at many examples like: https://github.com/apache/beam/tree/master/sdks/python/apache_beam/examples/complete/juliaset/juliaset https://...
1
vote
0answers
13 views

SQLSTATE[HY000] [2002] No such file or directory, google cloud app engine flexible

I am trying to connect cloud sql with google cloud app engine flexible. My code is as bellow: $dsn = getenv('MYSQL_DSN'); $user = getenv('MYSQL_USER'); $password = getenv('MYSQL_PASSWORD'); try { ...
-3
votes
1answer
23 views

How to Enable IPV6 on Windows Server 2012 R2 (Cloud Google VPS)

I'm currently new to Cloud Google VPS. since it's free i test some Windows Server 2012 R2 OS for the machine and my problem is how can i enable my IPv6 IP Address. https://i.stack.imgur.com/vbFcc.png ...
0
votes
1answer
28 views

Google Cloud Platform VPN and multiple projects

Is it possible, and does it make sense, to route traffic for multiple GCP projects through a single project back to my head office over VPN? Before I get too far down the rabbit hole the idea was to ...
0
votes
1answer
18 views

Service account with only objectViewer

I have a Google Cloud Registry for docker images and want to create a service account that can´t push images to the registry, just pull. When I creates a service account it inherits my permissions ...
0
votes
0answers
11 views

Chat System on Firebase/GCP [on hold]

I'm looking for a solution to add the chat feature in a client app. This has a maximum peak of 500k simultaneous connections. Users are divided into groups of 8-12 people. My client would like to make ...
0
votes
1answer
28 views

Alternative of AWS SSM for configuration compliance in GCP

we want to implement compliance monitoring in our cloud environment. For AWS, we are using AWS SSM to do it. But there is no alternative product in GCP, the only thing that will have the same ...
-3
votes
1answer
67 views

Google Cloud Compute Engine CentOS 7 Sudo command

Till Friday 12/10/2018 I was able to run sudo commands (Ex:sudo mongodump --db iot_ac). Today When I tried to run any command as root(sudo),i get the below message(Connected through SSH): We trust ...
-2
votes
0answers
21 views

“watchForNewFiles” interface not found in Python SDK Dataflow GCP [on hold]

"watchForNewFiles" interface not found in Python SDK Dataflow GCP, any advise or alternative on this? Or should I use Java for GCP because most of the online resources & example are in JAVA.
-2
votes
0answers
14 views

PBX on GCP pricing [on hold]

Anyone have a guess (or better yet, experience) on what the pricing for Google cloud platform would be if it was just running a PBX? Specifically, 3CX with 7 phones and only ever 2-3 simultaneous ...
0
votes
0answers
8 views

How to store database credentials in Google App Engine Standard?

I'm experimenting with hosting a Django application on Google App Engine Standard and to do that I followed the tutorial Running Django on App Engine Standard Environment. That tutorial completely ...
0
votes
1answer
20 views

How do I execute manage.py in Google App Engine?

I followed this tutorial: https://codeburst.io/beginners-guide-to-deploying-a-django-postgresql-project-on-google-cloud-s-flexible-app-engine-e3357b601b91 to get a Django app deployed to Google App ...
0
votes
1answer
39 views

GCP Firewall - Deny by User Agent

Is it possible to block user agents in the Google Cloud Platform Firewall? I have a specific one I require to block. However as I offload SSL to the Load Balancer it is that which makes the request ...
-1
votes
0answers
52 views

(Help) Register for GCP,but accidentally upgraded the account,how can I cancel the upgrade and return to the trial state [closed]

(Help) Register for Google Cloud Platform,Free Trial,just started, but accidentally upgraded the account, how can I cancel the upgrade and return to the trial state, just a simple trial, no other ...
-3
votes
1answer
56 views

Google Cloud - Virtual machine down (RDP)

I have a VM on google cloud and I have been using it for few years. Every now and then, I suddenly won't be able to connect anymore via RDP. It simply says that the IP is unreachable, like when a ...
0
votes
0answers
22 views

google cloud - How to access repository from a different project

I have a source code repository in Project 'A' I want to use it in Project 'B's Cloud Builder trigger. Which User/Role do i need to provide in Project A to make this work?
-2
votes
0answers
50 views

how to enable/disable internet access on compute?

I am using EVE-NG network simulator on GCP, I created a ubuntu image with nested virtualization enabled, everything is working fine but one issue that i am not able to access the internet inside node ...
0
votes
0answers
21 views

Get “gs_secret_key” and “gs_access_key” values for Google Bucket

I need to create a directory in a Google Cloud Bucket using Ansible. I would like to know where I can find the values to complete "gs_secret_key" and "gs_access_key" to use "gc_storage" module in ...
1
vote
1answer
35 views

Using “Let's Encrypt” TLS with a Google Load Balancer? (Kubernetes/GKE)

I've been trying to test out Kubernetes on Google Cloud, but would need HTTPS/TLS (only) exposed on the deployed application. To start, I just followed this tutorial, which worked fine for plain HTTP ...
-1
votes
0answers
13 views

Can´t upload files, folders and create new ones

I receive a message that there is an existing folder with the same name (and there is nothing). Ot that the zip already exists (and it doesn´t) https://console.cloud.google.com/storage/browser?...
1
vote
0answers
23 views

GKE - Kube-DNS stubDomain resolution to VPN network not working

New to GCloud and GKE and having a frustrating time with DNS. We have a VPN between our office and GCloud running a Shared VPC. Existing firewall rules seem to work fine. We can ping both ways, we ...
0
votes
0answers
17 views

Google Appengine unable to look up SRV record

I have an instance of mongodb running on Atlas and a Spring Boot application running on GAE trying to access this database. I have no problem running it locally but when running on GAE I see this ...
0
votes
0answers
59 views

Call to undefined function imagewebp() Jetware Optimized LEMP Stack PHP 7 image for gcloud

I have on Compute Engine the Jetware Optimized Lemp Stack Php 7 vm istance , loaded from the google cloud platform marketplace: Jetware Optimized Lemp Stack Php 7 jetware: Linux lemp7-optimized-g2-1-...
0
votes
1answer
34 views

Googe Cloud - VM-metadata controlled scopes - Alpha Access

I want to run gcloud from inside a GCE VM that's using VM-metadata controlled scopes, since otherwise gcloud installed on a local machine will typically already be using broad scopes to include all ...
1
vote
1answer
28 views

Google Cloud - Monitor running on Microsoft Display Driver instead of NVIDIA K80 GPU

My Google Cloud Instance is running on Microsoft Display Driver,instead of the GPU.I tried to install Hyper-V,but Google Cloud Processors don't support it.Please help,i need to run Unity,but can't ...
0
votes
1answer
33 views

Is creating firewall rule for nodeport a security concen?

This question is regarding firewall rule on GCP. I run my development and production server on the same cluster and separating them by namespace only. For development, I expose a nodeport (e.g. ...
1
vote
1answer
38 views

GCP auto scaler : How to configure auto scaler to scale up only if CPU usage has crossed 70% for more than 5 minutes?

I have a managed instance group with an HTTP(S) LB in front of it. Currently, I have set up an auto-scaler policy to scale up or down based on CPU utilization and the threshold is set to 70%. But I ...
2
votes
1answer
45 views

Query database in Cloud Platform / PaaS {AWS, Azure, GCP} from outside the platform/PaaS?

Is it generally possible to query a database housed in PaaS "A" from a request originating in a different PaaS "B" (or does it depend on the PaaS)? Asked in another way: Can an app that is hosted in ...
0
votes
2answers
34 views

google_compute_instance_group Creation Issue

I am trying to create an instance group using the example in the terraform doc at https://www.terraform.io/docs/providers/google/r/compute_instance_group.html . resource "...
0
votes
1answer
45 views

Kubernetes in production. Problems with a working pod

I have a question with kubernetes when deploying a new version. My yaml configuration of Kubernetes has the RollingUpdate strategy. The problem comes when it comes to changing versions this way. If I ...
0
votes
0answers
29 views

Synology & HyperBackup on Google Cloud Storage via S3 fails when almost finished with “SignatureDoesNotMatchException” - too many files?

I am doing backups of a large number of files using HyperBackup from a Synology diskstation to Google S3. While backup jobs with less numbers of files work well, it always fails with the error "...
0
votes
1answer
60 views

PAM deny rule not applied on Ubuntu in Google Cloud

I added auth requisite pam_deny.so as the first line of every file in /etc/pam.d/ (including sshd), but SSH connections still succeed without a problem. This is on a default Google Cloud Ubuntu ...
0
votes
0answers
47 views

How to connect to VM

how are I trying to create a proxy server with the CCProxy program and an instance of Windows server 2012 in Compute engine already configures the program but the problem I have is that the VM is ...
0
votes
1answer
30 views

Terraform & GCP: How to get inventory of current disks?

My goal is to utilize terraform's "google_compute_snapshot" feature (https://www.terraform.io/docs/providers/google/r/compute_snapshot.html) to schedule daily snapshots for all disks in a project. ...
0
votes
0answers
21 views

App Engine: Enable Managed Security

I have had an app with a custom domain hosted on Google App Engine for several years. I'm finally getting around to enabling managed security, and it won't work for me. I select the custom domain and ...
0
votes
0answers
23 views

How to attach physical SSD disk in gce using KOPS?

I want to setup a cluster using GCE instance using kops. I am unable to find the parameter corresponding to add local disk number in kops. In AWS, we can choose machine type which has pre-defined no....
0
votes
2answers
57 views

eliminate boot time of cloud instance

I am working on an automated project that requires high computing power at irregular intervals. My original ideas to solve this problem in economically efficient way was to create a couple of google ...
0
votes
1answer
21 views

Google Cloud Datastore showing up as compute engine in usage reports

I have been using datastore for some weeks now and can't see any record of it in the usage reports, but i do have lots of "Compute Engine API" items. I am not running App Engine, i have my server on ...
0
votes
1answer
84 views

api_server.cc:184 Metadata request unsuccessful: Server responded with 'Bad Request' (400): Transport endpoint is not connected

We are using google cloud instances with container option, we are seeing below error every minute in stack driver logs. we are not sure what is this error for. api_server.cc:184 Metadata request ...
0
votes
0answers
27 views

long boot times of Google Compute Engine windows instances when using custom disk images

I've configured a windows machine with all the tools and scripts that I'll need. Some of the script are places in shell:startup folder. I then created disk image and use it to replicate instance. ...
0
votes
3answers
29 views

Create Gcloud maintenance to restart instance if stops responding on port 80

we're using Google Cloud Platform, and running an instance Ubuntu which has Apache listening on port 80. Sometimes the instance stops responding, and the server goes down in Cloudflare (but that's ...
1
vote
4answers
87 views

Best solution for docker volume persistance [closed]

I'd like to setup proper way to persist docker volumes. Currently all our docker volumes are local only, so in case of server failure our data are lost. I'm thinking about buying two servers and ...
0
votes
1answer
65 views

Cannot ssh to ubuntu gcp instance

I migrated the vm from libvirt to Google Cloud Platform using Cloudendure. The initial sync is complete and is in Data Replication stage from over a week. Once the VM is launched using test mode and ...
0
votes
1answer
46 views

How do I use Google Cloud VPN to connect to a client's network, when the client has reserved all possible internal IP addresses?

Goal I would like to make use of an API by a 3rd party. This 3rd party requires that I establish a VPN connection to their network. As such, they need a remote peer IP address to establish the VPN, ...
0
votes
0answers
32 views

Using Google Cloud Buckets how to limit what source bucket can save usage logs in the destination bucket?

I have a bucket i use to store usage logs from other buckets in the same project. I followed the guide and set up the required ACL on the bucket logs as gsutil acl ch -g cloud-storage-analytics@...
0
votes
2answers
34 views

How to log backend latency in Google Http Load Balancer and Stack Driver

We have a running kubernetes cluster on GKE and we Google HTTP Load Balancer in front of it. HTTP Load Balancer logs all requests and we can access them in stack driver logging. But latency is not ...
0
votes
2answers
93 views

Google Cloud Compute Enable PTR Record - Invalid value for field 'resource.publicPtrDomainName

I have followed the proceedure in google cloud documentation...https://cloud.google.com/compute/docs/instances/create-ptr-record verify domain ownership (done and verified) in google cloud console, ...
1
vote
2answers
38 views

Deploying as service account (using `gcloud app deploy`) gives “API [appengine.googleapis.com] not enabled on project [%id%].”

I am struggling to make automated deployment using a service account work. First I created a new service account and now I am using a default %my-project-name%@appspot.gserviceaccount.com because ...
0
votes
1answer
48 views

GCP: external ip becomes unreachable sporadically

We have a bunch of compute engine VMs on GCP with static external ip addresses. We observe the external ip addresses become unavailable once and then. http, ssh or ICMP connections are not accepted. ...
0
votes
1answer
65 views

Google Cloud VPC Alias IP Routing Across Zones

I have a multi-cluster/multi-zone k8s platform running on Google Kubernetes Engine. The underlying GCP VPC network is running in global routing mode. The k8s services are assigned internal IP (...