Stack Exchange Network

Stack Exchange network consists of 175 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.

10
votes
0answers
1k views

Enable VPC-native (alias IP) on an existing GKE cluster

Is there a way to enable Alias IP on existing GKE cluster (with disabled Alias IP)? (Besides using https://github.com/bowei/k8s-custom-iptables to create NATs on each node)
6
votes
0answers
637 views

Tailing logs with GCE and stackdriver

I have a running Kubernetes cluster that aggregates it's logfiles in stackdriver and would like to tail the aggregated logs on the command line. But so far I am only able to view the json stream float ...
4
votes
0answers
273 views

Google Cloud Platform can't perform action

Very strange but very annoying error on Google Cloud Platform when I try and import and SQL dump. Error You can't perform this action because we couldn't verify that you have accepted the ...
4
votes
0answers
97 views

Am I doing Google Cloud deployment wrong?

I've previously used Heroku and AWS and am now setting up a service on the Google Cloud platform using App Engine and Cloud SQL (Postgres). We've tried to build the app using 12 factor principles. ...
3
votes
0answers
130 views

RabbitMQ Paging in Kubernetes

I've read through the RabbitMQ Production Checklist and we've made some changes to ensure that RabbitMQ pods in our Kubernetes cluster don't crash by setting the memory limits in the deployment to 1....
2
votes
0answers
32 views

Google Cloud Run - How to mount FileStore / NFS?

Our application requires the presence of data on two filestores. On our current Kubernetes configuration, we use a persistent volume like so: apiVersion: v1 kind: PersistentVolume metadata: name: ...
2
votes
0answers
98 views

Using Nginx real_ip when you don't know the intermediate proxy IP addresses

Nginx's real_ip module allows you to set the $remote_addr variable based on values sent in particular header fields. It has a special understanding of the X-Forwarded-For header, and is able to use ...
2
votes
0answers
56 views

Locked myself out of Google Compute engine

I ran into an issue when I mistakenly changed my quotum for Google Compute engine queries per 100 seconds per user to 0. I thought 0 would mean 'unlimited' but apparently it's really 0. Making this ...
2
votes
0answers
278 views

GCP: Invalid resource usage: 'UEFI feature is not available for this project.'

I created an image using the --guest-os-features="UEFI_COMPATIBLE" option as described in the documentation but when trying to instantiate an VM Instance (using the Console and gcloud) I get the ...
2
votes
0answers
576 views

How to identity the source of network egress?

I've been getting billed for "Compute Engine Network Internet Egress from Americas to APAC" on the order of $60-$70 a month (500-600GB). My instances are all in us-central1. I've seen plenty of one-...
2
votes
0answers
441 views

GCP Cloud SQL postgres in bad state after maintenance

There was what looks like a planned maintenance in our HA managed postgres cloud sql instance and it's in a bad state since. Jan 7, 2018, 2:08:21 AM Update An unknown error occurred. The ...
2
votes
0answers
302 views

ServiceException: 401 Unauthorized WebHook callback channel

Can anyone help me with issue on setting up "Object Change Notification". I am trying to execute " gsutil notification watchbucket https://<my_project_id>.appspot.com/ gs://glrs_test_deepshikha ...
2
votes
0answers
473 views

GCP LB with static website and kubernetes

I am trying to migrate an application from AWS to Googles container engine. I have an S3 website (static files) living at my.domain.example and a backend living at the same url, but at the /api path. ...
1
vote
0answers
7 views

Provide internet access on the GCP side to an advertised bgp route

I have been looking for a solution for the above for a few days now and I've not come across a config that works. Current setup: I have a GCP CloudVPN with dynamic routing setup with an external ...
1
vote
0answers
16 views

ipsec google cloud server using 1 router which has been configured for failover between 2 ISPs

I have 1 fortigate router in which failover has been created between 2 ISPs means if one ISP is down then internet will work using another ISP.the internal network ip pool of my office network is 192....
1
vote
0answers
19 views

Google Cloud Platform console error?

When I go to the following page in the Google Cloud Platform console.. https://console.cloud.google.com/compute/instances ..and click on an instance's name, I get the following error: "Cannot read ...
1
vote
0answers
36 views

Enable CORS for GKE Kubernetes API

I have a Kubernetes Engine cluster set up in Google Cloud Platform and it's working wonderfully. I can query the Kubernetes API itself to get info on Kubernetes objects, using the IP-based URL of the ...
1
vote
0answers
23 views

Allow Websocket connections on Google Cloud Platform

We have a GCE project, with several servers behind a loadbalancer. The servers are running a NodeJS HTTPS server. We have recently tried to implement websocket support, but can't seem to connect to it ...
1
vote
0answers
41 views

Mount multiple buckets from different GCP projects with GCS-Fuse

I was able to setup GCP SDK with ease and mount a bucket from the SDK default project using GCS-Fuse. However, I can't find any documentation referring to multiple buckets from different projects. My ...
1
vote
0answers
55 views

How to start my instance again after trial expiring today, upgrading, enabling billing, adding money?

The error I get is that of this question and not of this other question. The OP in first question, however, says he solved his problem by paying for the service. I also thought payment was the ...
1
vote
0answers
77 views

Slow traceroute from GKE pod to GCE VPS

I've been troubleshooting issues with high latency on my GKE pods, and a traceroute yields results like the following when poking the database server for that cluster (which is a GCE VPS, but not part ...
1
vote
0answers
151 views

App Engine Flex restart signal

I have a long running process in Go on an App Engine flex instance, deployed via docker image. Most of the time when I deploy to the live version it sends a SIGTERM to the app. I can catch this and ...
1
vote
0answers
103 views

AppEngine - Client closed keepalive connection

I have deployed my Symfony 4 app to Google App Engine (Flexible environment). The build seems to have worked, but loading the app on in Chrome results in error: Oops! An Error Occurred The server ...
1
vote
0answers
37 views

How can we avoid an unstable work of Windows on Google cloud instance?

I created an "Instance" in Google Cloud (Windows server 2016 with RDP). On this server, I launch a console application (written in C ++), the simplest example of a web server. The web server listens ...
1
vote
0answers
219 views

Google cloud SQL instance is under “maintenance mode” for an exceedingly long time

I have encountered an issue on a managed/cloud SQL where an instance has unexpectedly (also, outside the maintenance window set) entered maintenance mode and has remained unavailable for more than 10 ...
1
vote
0answers
490 views

IP space is exhausted

I have an issue about GKE/GCE. I'm using GKE under shared VPC(alias ip) and I have 4 machines of 2 node pools. When I try to add more node pools(because I want to have more type of machines), it ...
1
vote
0answers
42 views

structured logging from a cloud function

So I've been banging my head against this for a while now, thought I'd ask here. Is it possible to use structured logging from within a Cloud Function? The log and metrics agents aren't available in ...
1
vote
0answers
35 views

Problems connecting to OpenStack-horizon

After installing OpenStack with LXD on GoogleCloud (Ubuntu 18.04) using conjure-up, I am unable to access horizon (via website). Per other people’s suggestions, I tried; ‘juju expose openstack-...
1
vote
0answers
251 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 ...
1
vote
0answers
68 views

Define loadBalancerIP via its GCP URI

I am configuring my GKE service to work with internal load balancer as described in the GCP docs: apiVersion: v1 kind: Service metadata: name: [NAME] annotations: cloud.google.com/load-...
1
vote
0answers
104 views

Google cloud load balancer not returning Content-Encoding: gzip

I'm using google cloud Load balancer that sits in front of an nginx backend service (in google cloud terms). When i'm accessing the nginx server directly i can see the 'Content-Encoding: gzip' header ...
1
vote
0answers
407 views

How to manage URL rewrites with a GCP load balancer?

We have a single-page web application deployed on a GCP bucket with a load balancer in front of it. All URLs such as example.com/login should be rewritten as example.com/#/login. Without being ...
1
vote
0answers
29 views

Autoscaling cloud web applications- what method do people use to establish which metric is most suitable to scale off?

I understand with applications hosted in the Cloud, autoscaling is now a very popular method of ensuring applications can scale based on fluctuations load/work. From my reading, I know that most, if ...
1
vote
0answers
533 views

Why does app engine return a 404 error on my wildcard subdomain?

I have set up a wildcard subdomain for our project custom domain in app engine. The DNS CNAME has also been updated with the wildcard record. Our nameservers are with Cloudflare which supports ...
1
vote
0answers
213 views

Configure Google Cloud Storage plugin with Curator cronjob on GKE Elasticsearch cluster

I deployed an Elasticsearch cluster on GKE, using this project as a starting point: https://github.com/pires/kubernetes-elasticsearch-cluster I would like to configure two Curator jobs by using ...
1
vote
0answers
86 views

Setting up classless static routes manually in GCE

In GCE, the DHCP server return the IP address with mask of 32 bits. Making the instance the only one in its subnet. It also return couple of static routes (RFC3442) that need to be configured. Example ...
1
vote
0answers
333 views

Headless OpenGL rendering on Google Compute

I created a GPU instance on Google Compute engine with NVIDIA Tesla K80 attached. I have installed GPU drivers and CUDA based on this guide. nvidia-smi check - ok. nvcc -V check - ok Now I am ...
1
vote
0answers
271 views

How to get the Compute Engine logs to end up in the structured jsonPayload instead of the textPayload?

I'm running an API on a Linux VM as a Compute Instance in the Google Cloud. The API is being run with systemd, and it's logging to syslog. I run the StackDriver logging agent to transfer the logs to ...
1
vote
0answers
300 views

Port accessing error for a docker app on google compute engine VM instance

I'm trying to deploy an web app in a VM instance at Google Compute Engine (GCP). I connect to instance via ssh and deployed docker-compose orchestrated app. Which runs two docker containers as below. ...
1
vote
0answers
655 views

Manage domains and subdomains between multiples app engine/compute engine instances

The question is simple. How can "distribute" domains and subdomains between app engine/compute engine in Google Cloud? For example, I have the following domain: example.com I want to use the subdomain ...
1
vote
0answers
82 views

Google Compute Engine Random Shutdown

Our Compute Engine which runs the backend for a mobile game randomly shutdown today (8/3/18) and the logs are unable to tell me which user or IP address initiated it. I've been doing some digging and ...
1
vote
0answers
2k views

Cannot edit VM or access it via SSH. error:Supplied fingerprint does not match current metadata fingerprint

I have a Linux machine on Google Cloud, created with Bitnami. It was working well, and it could be accessed through SSH, usign the web console or putty. However suddenly today it can not be accessed ...
1
vote
0answers
47 views

Reauthorize Google Container Registry GCR to read from Github

When trying to create a new Build Trigger I get the following response, after selecting Github as a source: Google Cloud Platform was not authorized to list repositories. Its access was most likely ...
1
vote
0answers
336 views

Ephemeral IP not getting changed after stop and start

As per the Google Cloud Documentation Ephemeral external IP address are released from a resource if you delete the resource. For VM instances, if you stop the instance, the IP address is also ...
1
vote
0answers
223 views

TCP request is getting drop on Google cloud load balancer

We are using TCP Google Cloud Loadbalancer for one of our services. The architecture is the following: There is a TCP load balancer on which a range of ports are allowed on frontend and its backend ...
1
vote
0answers
252 views

Multiple Node Apps on one server, Nginx serving just one site

Posted this on stackoverflow but figured it would be better here. I have a server that I want to use to host two node apps, yet no matter what I do, my second domain is serving domain1.com. Domain1....
1
vote
0answers
90 views

Unable to connect application-server listening port on VM instance

I have deployed an application server on Linux VM instance. Application is running successfully and listening on port 3465. I opened the port 3465 by adding firewall rule, But still not able to ...
1
vote
0answers
229 views

Windows clock issues

Our server 2008 R2 (non domain member) GCE instance has had system clock issues in the past couple weeks. Using the Windows clock interface, the time zone was set to Mountain Time (UTC-07:00) and ...
1
vote
0answers
57 views

Unable to create repository on Google Cloud

Listing works fine: $ gcloud source repos list --project=<myproj> REPO_NAME PROJECT_ID URL backend-django <myproj> https://source.developers.google.com/p/<myproj>/r/...
1
vote
0answers
244 views

gcloud compute forwarding-rule: 1st entry allows for address by name. 2nd+ only allow by IP address

When using the 'gcloud compute forwarding-rules create' command, the --address flag allows for you to set the address by name or IP. If you set a forwarding rule --address by name in the first entry, ...