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.

1
vote
1answer
68 views

Resolving addresses of the VM located in different regions : Google Cloud

I am an absolute beginner with Google Cloud Platform and the networking. I am trying to communicate between two VM located in different regions. When I ping the hosts or when I ssh using the IP ...
0
votes
2answers
142 views

Terraform GCP add VM to existing VPC

I'm starting to learn Terraform (I want to manage my growing GCP infrastructure). I'm trying to do an apparently simple thing -- create a VM in the different Project -- but: I already have a VPC ...
-1
votes
1answer
33 views

Disable gcloud notification

Is there any way to disable this notification: * - There is an upgrade available for your cluster(s). To upgrade nodes to the latest available version, run $ gcloud container clusters upgrade NAME ...
1
vote
1answer
47 views

Enforce 2FA on user accounts used in Cloud IAM

I have a GCP project where I work with people external to my team. For the moment I assigned them Cloud IAM roles, in order to give them permissions to different parts of the project. But I was ...
1
vote
0answers
309 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
1answer
106 views

EMAIL in Compute Engine

First of all, I apologize for my ignorance (and my English), but let me explain my problem: I read that GCloud does not allow sending emails and they suggest to use Sendgrid, Mailjet etc. I chose ...
0
votes
1answer
136 views

GCP Https Load Balancer SSL Certificate

I am trying to create a Https load balancer using yaml and Jinja files on GCP deployment manager. But I am not sure how to provide SSL certificate. In the "sslCertificates" of "compute.v1....
0
votes
0answers
59 views

Loadbalancer targetPort not forwarding to daemonset hostPort if port not same as hostPort

I have the following setup: A loadbalancer points to an ingress controller as daemonset, running in a gcp-kubernetes-cluster, as seen in the example below: apiVersion: v1 kind: Service metadata: ...
1
vote
1answer
39 views

I cannot connect to Gcloud instance using ssh, since cpu is 99.9% of use

I have a gcloud vm instance of type custom (4 vCPUs, 8 GB memory), with ubuntu 16.04, 10Gb disk space. Today at specific time (7:30 am), start using the 99% of cpu. I restart the machine but continue ...
0
votes
1answer
94 views

Connecting k8s services in GKE cross-region clusters

We are using GKE with Cloud VPN and have the following architecture: GKE example In the VPC there are two k8s clusters in different regions and one Cloud VPN. We’re trying to use internal services (...
3
votes
1answer
49 views

Compute Engine VM clock runs fast and gains 15 seconds per hour (or about 1 second per each 4 minutes)

I have a 2 vm instances in GCE that do not keep correct time in spite of the server OS being set to sync with NTP every 24 hours. The OS clock gains about 1 second of time every four minutes (or ...
0
votes
2answers
123 views

GCP to AWS VPN connectivity one way ping

I have VPC under AWS connected to VPC under GCP via VPN (Google VPN and AWS native). AWS Region A (10.10.0.0/16) <-> AWS VPN <-> internet <-> Google VPN <-> Google Region B (...
0
votes
1answer
86 views

all IPs of an instance group

How can I get a list into some sort of text file of all of the external IPs associated with my instance group. I can have hundreds of machines in my instance group and the vm list just isn't ...
0
votes
1answer
108 views

mount GCPs buckets with write access

I can successfully mount my bucket using the following command sudo mount -t gcsfuse -o rw,noauto,user,implicit_dirs,allow_other fakebucket thebucket/ I can go into the bucket find the subfolders ...
0
votes
1answer
618 views

Issue Connecting to Cloud SQL Postgres using Private IP from GKE

Steps I have followed: 1. Create VPC network gcloud compute networks create stg-vpc \ --subnet-mode custom 2. Create IP range for VPC Peering for this network gcloud beta compute addresses ...
0
votes
1answer
57 views

Unable to run Spark Cluster on Google DataProc

I am running a 6 node spark cluster on Google Data Proc and within few minutes of launching spark, and performing basic operations, I get the below error OpenJDK 64-Bit Server VM warning: INFO: os::...
1
vote
0answers
33 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
1answer
77 views

Hyper-V virtualization with google compute engine image

I am trying to download an image from my Google Compute Engine VM Instances in Google Cloud Platform and I'm following this article to export the image to a GCS Bucket and download it locally. I need ...
0
votes
2answers
208 views

Google Cloud VPN: multiple tunnels from behind NAT

I would like to connect multiple separate NATted networks to a VPC Network using IPSec VPN. I do not fully understand the Google's documentation and I'm asking for some clarification here :) The doc ...
0
votes
2answers
75 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. ...
1
vote
2answers
168 views

What's the correct way of having a GCP account without a GSuit account?

My organization doesn't use GSuit but we still want to use the Google Cloud Platform. I signed up there with my non-gsuit email address and I have a GCP account I can log in to. There are two issues ...
1
vote
0answers
33 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-...
0
votes
2answers
132 views

GKE lost nodes and Google Console shows different number of nodes

Some of the nodes in my cluster disappeared just now according to Kubernetes Dashboard and kubectl. In the Google Console, it shows the old amount. This results in many pods not being schedulable due ...
1
vote
1answer
72 views

Rrdatas not ordered correctly by Google Cloud DNS

I am setting up a DKIM record which has more than 255 characters, in Google Cloud DNS. I have split it into 2 values as recommended in https://support.google.com/a/answer/173535. This is how it shows ...
1
vote
1answer
58 views

How do I find out what's taking up most of the space on my SQL CLOUD GCP?

I could not identify what is taking up most of my SQL Cloud Storage, in the last 24 hours something wrote almost 1 Gigabit on the storage, according to the GCP dashboards. enter image description ...
0
votes
1answer
114 views

Google Cloud External IP (Ephemeral) redirect to another IP for WordPress Admin Page

Recently, i moved my WordPress website to Google Cloud. Today, Google showed a "Recommendation" to change my server for saving some monthly fee. I clicked on it and it changed my plan. I observed ...
0
votes
1answer
54 views

Enable scope permission

I am trying to create a signed URL following this documentation but I fail to understand how to enable the scope for my Cloud Function. I am sure that my Cloud Function has cloudfunctions....
1
vote
1answer
43 views

google-compute-engine redundancy how does it handle equipment failure?

what happens to my virtual instance in the case of a hardware failure of the google compute-engine? Does the compute-engine auto migrate like it does when maintenance is performed?
1
vote
2answers
470 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
2answers
106 views

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

I'm new to Cloud Google VPS. Since it's free, I am testing some Windows Server with 2012 R2 OS, but having a problem enabling IPv6 IP Address. Help would be greatly appreciated!
0
votes
2answers
684 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
59 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
1answer
1k 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
190 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 ...
1
vote
1answer
61 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
109 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
144 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 ...
-2
votes
1answer
78 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
1answer
120 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
453 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
vote
0answers
154 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
71 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
1answer
56 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
45 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
47 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
67 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 ...
0
votes
1answer
63 views

SFTP Authentication Failed, cannot use sudo, cannot edit hosts file

I have used a snapshot on google cloud to create a new instance. My original instance has not been deleted...I don't want it deleted, I just need to access files on a backup from 24 hours ago that ...
2
votes
1answer
57 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
88 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
59 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 ...