As of May 31, 2023, we have updated our Code of Conduct.

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
0 answers
23 views

Error handling in Cloud functions - Cloud Logging

I have a series of cloud functions and I want to get an alert when errors occur in them. I already have the alert set and it works. I decided to use the Cloud Logging logs: functions.logger.error(...
Marcela Cozzi's user avatar
0 votes
0 answers
14 views

Replacing arbitrary fields in Kubernetes YAML

I want to use configMap variables inside my Kubernetes YAML outside of my container specification. Basically, I am looking for a way to replace text in my configuration with the value of a configMap ...
dan1st's user avatar
  • 101
0 votes
0 answers
45 views

SSH Keys not propagating correctly from instance metadata to authorized_keys: missing keys, user discrepancy, and duplicate key

I want to add eight public keys via instance metadata to avoid adding them manually (i.e.: ssh to VMs, pasting the keys to .ssh/authorized_keys, etc.). I added the keys in Terraform (four distinct ...
mångata's user avatar
  • 109
0 votes
0 answers
20 views

Multiple domains for login with google

We are adding login in with google to an ecom website which powers multiple domains/locales where we have a different domain for each store. The problem is we have different privacy policies for each ...
Chris Mccabe's user avatar
0 votes
2 answers
46 views

Is there way to specify more resources for Google App Engine during build stage?

Let me start with context. I have react app that takes around 8192MB to during build. Deployment to GAE has been failing as fax memory we can have is 3072 MB (using instance_class: F4_1G). I was ...
Krishna Sunuwar's user avatar
0 votes
1 answer
54 views

Permission denied (publickey) error when managing GCP machine via Ansible (running on GCP VM) despite successful SSH connection

I deployed two machines to GCP via Terraform. Let's call them control-host and target-host. I want to manage the target-host via Ansible installed on the control-host. Unfortunately, I keep getting ...
mångata's user avatar
  • 109
0 votes
1 answer
166 views

Installing docker/compose-bin plugin on Google's Container Optimized OS

I am trying install the docker/compose-bin plugin on a Google Cloud VM with Container Optimized OS (https://hub.docker.com/r/docker/compose-bin/tags). Has anybody achieved this? I understand docker is ...
supercoco's user avatar
  • 121
0 votes
0 answers
36 views

App Engine > Subdomain > Add A, AAAA and CNAME record

I'm trying to add a subdomain subdomain.domain.com to App Engine. It asks to add the following DNS records But it's impossible to add a A record and a CNAME record with the same name subdomain.domain....
Robert Sinclair's user avatar
0 votes
1 answer
49 views

Why does the login node connect to external networks but allocated compute node fail in Slurm-GCP?

I've noticed that connecting to the internet from the allocated compute node via Slurm-GCP keeps failing. For example, using wget from the login node works successfully: [me@gcp-login0 ~]$ wget https:/...
Mathews24's user avatar
  • 101
0 votes
0 answers
21 views

Creating a non-public DNS alias for a database in Google Cloud Platform (GCP)

I am currently working on setting up a database in Google Cloud Platform (GCP), and I would like to create a non-public DNS alias for it. The purpose of this alias is to provide a more user-friendly ...
Isla Yoder's user avatar
1 vote
0 answers
46 views

Cannot ping internal IPv6 addresses of VM instances in Google Cloud

I'm testing a connection between two VM instances in the same subnet. The VPC has enabled dual stack with internal IPv6 addresses and both VMs received a IPv6 Unique Local Address. The VMs cannot ping ...
LaurentD's user avatar
0 votes
0 answers
39 views

Force close port 22 on GCP VM

For security reasons, I want to close port 22 (ssh) of my VM that is on GCP. Currently, if I execute the command telnet xx.xx.xxx.xxx 22 the server responds to me: Trying xx.xx.xxx.xxx... Connected to ...
Juan Ignacio Portilla Kitroser's user avatar
0 votes
1 answer
48 views

How can I compress files while uploading them to GCP?

I am trying to automate backups to a remote GCP bucket. I am using the gsutil CLI and Crontab to schedule transfers of all files in a given directory. I would like to compress the files as they are ...
chargingBrontosaurus's user avatar
0 votes
1 answer
47 views

How to customize sudo permissions when using OS Login?

When OS Login is enabled, and a user is granted access by having either the "Compute OS Login" or "Compute OS Admin Login" roles, they can run sudo. In my experience, the per-user ...
Giovanni Tirloni's user avatar
1 vote
1 answer
133 views

How to find the maximum number of nodes in a GCP Kubernetes cluster?

In a GCP Kubernetes cluster is there a command to find out the maximum number of nodes? I have a Kubernetes cluster and need to identify if I can fit my pods to the nodes since there is a taint ...
Phil's user avatar
  • 265
3 votes
1 answer
136 views

Google Cloud Engine - Network unreachable (with NAT)

Context & issue We would like to do maintenance on one of our Compute Engine instance (update dependencies via apt update/upgrade), but said instance does not have access to the public internet, ...
Philippe Hebert's user avatar
0 votes
0 answers
20 views

Tenant with name projects/**/tenants/** not found using Google Cloud talent solution API

Description: Code: String projectId = "*****"; String tenantId = "***-ay7tp"; try (JobServiceClient jobServiceClient = JobServiceClient.create()) { // Construct ...
khushbu shah's user avatar
0 votes
0 answers
95 views

how to resolve error like io.grpc.StatusRuntimeException: PERMISSION_DENIED when Implementing google Cloud talent solution api?

Description : Language: Java 8, Framework: Spring Boot Build type: maven Tool: Sring Tool Suite Here I implemented this Google Cloud talent solution API for job search below code : Code : ...
khushbu shah's user avatar
1 vote
0 answers
31 views

Permission denied while creating TPU VM

I encountered a similar issue when following the tutorial on using a cloud tpu VM to run Jax code.. The error message is PERMISSION_DENIED: Permission denied on 'locations/us-central2-b' (or it may ...
RanWang's user avatar
  • 111
0 votes
0 answers
25 views

GCP DNS Zone with Shared VPC - No Networks Available

I have host project A which has a couple DNS forwarder zones configured. One of those zones is called example.com. I have a shared VPC set up between host project A and service project B. I want hosts ...
RandyMarsh's user avatar
0 votes
0 answers
83 views

Creating a TAP network device in GCP VM

I am trying to create a QEMU VM within a GCP VM. I want the QEMU VM to use TAP network device to communicate with the host and external world. My desired set up looks like below. +-----------------...
onlygo's user avatar
  • 101
0 votes
0 answers
14 views

Google Cloud - OneTap - Issue - Anyone without an account can login

Under API & Services, user type is External Under Test Users, I have added users, however on testing anyone even if not on the test users list can log in successfully. Why is this so? And how can ...
CraigJem10's user avatar
0 votes
0 answers
9 views

Why there are multiple clicks on a single GclId (Google Click ID)

I am currently trying to create a flat table in Google Big Query using Google Ads data that has already been pushed into Big Query. My goal is to obtain the gclid from the raw Google Ads data and map ...
Punit Tiwari's user avatar
0 votes
0 answers
25 views

Will I be charged for GKE Autopilot if I didn't run anything?

If I have installed Google kubernetes autopilot cluster and didn't install anything on it, will I be charged? Here https://cloud.google.com/kubernetes-engine/docs/concepts/autopilot-overview is a ...
user avatar
0 votes
0 answers
35 views

How do I setup a Google Cloud Storage bucket to be accessible via the Simple Storage Service (S3) standard?

I understand from Google documentation that it's possible for google cloud storage to be accessed via the Simple Storage Service, which is just what I need for a program that supports this. The ...
AdamJones's user avatar
  • 113
0 votes
1 answer
127 views

How to correctly pass firewall rules to the google-terraform-network module?

I want to create a network using the google-terraform-network module. Additionally, I want to pass the firewall rules I made as a parameter to the module so that the created network contains these two ...
mångata's user avatar
  • 109
0 votes
0 answers
25 views

How to add gke node pool as backend to http loadbalancer in gcp

I tried with NEG but it has limitations to only point to zonal cluster.however i have regional cluster so want to point the node pool as backend to http loadbalancer.how can i do that?
Shrus's user avatar
  • 1
0 votes
1 answer
63 views

Cannot SSH to Google Cloud Platform Compute Engine anymore

I have a similar problem as outlined here: Cant access GCP Compute Engine Yesterday I lost access to my GCP server. I thought Google was having issues but almost 40 hrs later I'm thinking their ...
Adrian's user avatar
  • 101
0 votes
1 answer
78 views

Can't connect to server with port opened via Docker

I have a Docker container that runs with --net=host and binds directly to the host's port 7000 and 9042 on GCE. Here's my netstat on the VM: $ netstat -tulpn Proto Recv-Q Send-Q Local Address ...
hphp95's user avatar
  • 101
0 votes
0 answers
41 views

GKE pods unable to resolve Cloud DNS CNAME record and unable to connect to services outside vpc

Currently I have a GKE and GCE setup in the same VPC and for some reason I'm able to resolve the CNAME record in Cloud DNS as well as connect to that service from the GCE (the service locate in AWS ...
Ninh Pham's user avatar
0 votes
0 answers
37 views

Attach Cloud Storage as shared NFS storage for CloudRun

I want to attach a shared static storage that is not ephimeral after cloudrun instance gets terminated. Can we use gFuse with CloudStorage to achieve this ? IF so by introducing CloudFuse, do we get ...
user1014325's user avatar
0 votes
0 answers
17 views

my google api give me 'GET FILES ERRORS Error: invalid_grant' during access my g-drives folder and files

i am trying to access files and foldes through google api by using authenticated access token and other credential but i got error caller 'GET FILES ERRORS Error: invalid_grant', even i use proper ...
Neeraj Tyagi's user avatar
0 votes
0 answers
77 views

With GCloud CLI -- how to list all instances associated with a particular schedule (i.e. resource-policy)?

Here is a picture of the WebUI for GCP, showing an "instance schedule" that has 3 instances currently associated with it: How can I list those same 3 instances using the GCloud CLI? I found ...
CrashNeb's user avatar
  • 101
0 votes
0 answers
87 views

com.google.api.client.googleapis.json.GoogleJsonResponseException: 401 Unauthorized when I try to create a google people contact

Good day. I'm developing a java servlet that allow to add or update a contact on Google Contact. I've created a Google application having Google People service active. Before to use the Google People ...
stefano errani's user avatar
0 votes
0 answers
35 views

Eventarc Triggers Not Receiving Events When Deployment Packages Managed by ACM

Resolved. I am provisioning my project-related GCP resources using Anthos Config Management (ACM). For one of my use cases, I configured an Eventarc trigger to activate a Cloud Run service when a new ...
Eugene's user avatar
  • 1
0 votes
0 answers
126 views

oracle19c - Port 1521 open on remote VM and visible in netstat, but cannot ping with telnet

I am running into some issues while trying to access a remove oracle db 19.3. The VM (CentOS 7) is located inside GCP Cloud and I can ping it on other ports (22), but i cannot connect to the database ...
Flavian Rotaru's user avatar
0 votes
0 answers
95 views

Multi cloud provider kubernetes cluster pod logs got timeout

Hi all i have master node in digital ocean and worker node in google cloud, nodes are connected using public ip of master node and pods are in running status but when i run kubectl logs i'm getting ...
Thom's user avatar
  • 101
0 votes
1 answer
166 views

How to setup 301 redirections in GCP load balancer?

I've setup a static website on GCP using this tutorial. So I have a bucket and a load balancer. I'm trying to setup URL redirections in the load balancer to avoid BC breaks on old URLs. I want an user ...
Gregoire's user avatar
  • 103
0 votes
0 answers
54 views

Are files in a public GCS bucket discoverable?

I have a bucket in GCS that I have made publicly available. Are objects stored in this bucket publicly discoverable? For example, if the bucket is called my-public-bucket and I have an object in that ...
user35042's user avatar
  • 2,661
0 votes
1 answer
144 views

How do I delete a project in Google Cloud?

I got an email notifying me that Google will activate the service appenginereporting.googleapis.com on my Google Cloud project, called My Project. Which is a surprise to me because I have never ...
CAB's user avatar
  • 113
0 votes
0 answers
178 views

Unable to create new compute instances in GCP

I'm trying to create a new GPU instance in GCP but I keep getting the following error: A n1-standard-1 VM instance is currently unavailable in the us-central1-a zone. Alternatively, you can try your ...
ForeignerBR's user avatar
0 votes
0 answers
43 views

Wordpress deployment GCP - Site Address gone - shows as null

Not sure what happened, but my Wordpress instance on GCP seems to have gone away. My site address now shows "Site address https://null/". Any clue how to get it back? I have the following ...
Neos Design's user avatar
0 votes
1 answer
37 views

What would happen if I rm -rf on a mounted gcsfuse directory

Let's say I have a mounted bucket at path ~/path/to/mount/point on my local machine. What would happen if I rm -rf ~/path/to/mount/point. Only the mount point directory would be deleted or also all ...
LucG's user avatar
  • 103
0 votes
1 answer
63 views

Accessing to resources linked to a closed billing account at Google Cloud

Hi all I have a GCP account that Google closed my billing account due to unpaid invoices. It has been almost a year now that account remains closed. I need to know If I will have access to my ...
Murat's user avatar
  • 103
0 votes
0 answers
49 views

502 Server Error on GCP

My server is having Error 502 issue after every 10 to 15 mins and it is working fine again after few seconds. Can anyone tell me what is the exact issue is it because of load balancer or due to the ...
Robin's user avatar
  • 1
0 votes
0 answers
48 views

How do I set up a Cloud Run to communicate through our internal VPN using a custom URL

In GCP, we would like to connect to a Cloud Run application through our internal network using a custom URL. We have a cloud run answering on a custom URL, externally. We are using an IPsec VPN to ...
pt1xoom's user avatar
-4 votes
1 answer
38 views

How much effort is it to self-manage servers? PCI / SOC2 compliance?

TL;DR: How much effort is required to self-manage a low-traffic SaaS app? Is PCI / SOC2 compliance too much of a hassle? Currently we are using GCP. Our infrastructure is straightforward: A load-...
Jessie's user avatar
  • 93
0 votes
0 answers
27 views

Migrating recaptchaV2 Android to recaptcha Enterprise

we found an error during migration process from our recaptchaV2 android key to recaptchaEnterprise: ERROR: (gcloud.alpha.recaptcha.keys.migrate) FAILED_PRECONDITION: This site type is currently not ...
Nicolo Bevilacqua's user avatar
0 votes
0 answers
23 views

How to export ALL data included in a google takeout for Google Workspace

So, I am closing out a google workspace and I exported ALL of the data from the suite and it's sitting in my bucket. When I try to download ALL of the data, I get this popup that tells me I can only ...
Nadia Moolla's user avatar
0 votes
1 answer
110 views

GCP Cross-region Private Service Connect

We have an internal, regional LB in europe-west1 in Project A, and we have exposed it to Project B using Private Service Connect. We established connectivity from a caller in europe-west1, so we know ...
Jon Bates's user avatar
  • 107

1
2 3 4 5
60