Questions tagged [gcp]

Google Cloud Platform, offered by Google, is a suite of cloud computing services that runs on the same infrastructure that Google uses internally for its end-user products, such as Google Search, Gmail, Google Drive, and YouTube.

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

How to get output of STDOUT to GCP cloud logging

Hey I have a job running on a gcp VM where some imported libraries are logging to stdout with the print or python logging library, and I also have written a lot of code where the output is logged to ...
Matt Elgazar's user avatar
0 votes
1 answer
167 views

How long does it take for a GCP backend service to stop sending connections to an instance after being removed?

I am using a GCP region backend service to load balance across a set of instances in an unmanaged instance group. When I remove an instance from the group I want to know when I can safely delete the ...
dippynark's user avatar
  • 232
0 votes
0 answers
8 views

Configure Oauth Client 2.0 from other than console

I wanted to create or configure an existing oauth client 2.0 from other than console in google cloud platfrom. I went through gcp client library documentation. But couldn’t find any endpoint or gcloud ...
nuray jannat's user avatar
0 votes
1 answer
43 views

Issues connecting Data Fusion to CloudSQL Postgres instance - getting a 403 "The client is not authorized to make this request"

I've got DataFusion and Cloud SQL Postgres up and running in a single GCP project. I can connect to my postgres instance successfully using pgAdmin (as long as I add my IP address to the allowed ...
Sunny Matharu's user avatar
1 vote
0 answers
26 views

GCP VPC IPv6 routing to an OpenVPN instance

Previously, on premises, I successfully setup an OpenVPN server (on Ubuntu) that assigned globally routable IPv6 addresses to VPN clients (which is a project requirement). A generous /48 IPv6 prefix ...
Paulo's user avatar
  • 11
1 vote
0 answers
67 views

Multiple NICs on Google Cloud Platform VM with site-to-site VPN access on one NIC and external Internet on second NIC

Hello community hoping you can help. Background: we have a Web app running on CentOS/Rocky that needs to be accessible with low-latency from different regions: US East and West Coasts. We maintain ...
Antony Nguyen's user avatar
0 votes
0 answers
62 views

How to set up a persistent access token for service account?

I am trying to connect Google's Vertex AI API to a desktop app written in C++ using their REST APIs. Auth token is part of the process. Being very distant from devops and GCP tech in general I wonder ...
Michael IV's user avatar
0 votes
0 answers
16 views

How can I get IAM policies for a GCP service account that is Google-provided?

I can ask for the details of a service account with gcloud iam service-accounts describe <SA-email> --project=<PROJECT> This will give the description, display name, OAuth client, etc. ...
Mike Williamson's user avatar
0 votes
1 answer
56 views

GCP cloud run custom domains and correct ssl cert?

I setup a customer domain on GCP cloud run xxx.domain.com but when I go to https://xxx.domain.com, the cert served is the one for the generated url *.a.run.app for https://xxxxxxxxx-jynhcjgnea-uc.a....
Dean Hiller's user avatar
0 votes
0 answers
57 views

GCP load balancer can't connect to instance group: unhealthy upstream error

My Goal I want to connect my domain (dashboards.example.com) to my Google VM instance on port 3000 to showcase Metabase. I do so through a Google DNS and load balancer. My problem While trying to do ...
Arthur de Vries's user avatar
0 votes
0 answers
25 views

How Can I Update Encryption and Deffie Hellman Groups for VPN in GCP?

So, I've got a VPN set up at the moment that's connected to the client's VPN and it's all good. Now, the client wants to tweak the encryption method to AES256 and Deffie Hellman groups to 19. Is it ...
Jose Carro's user avatar
0 votes
0 answers
9 views

Serverless VPC Connector for Cloud Function cant access compute instance through private IP

I have two GCP compute instances set within a VPC 'myVpc' of subnet range, sayy 50.24.0.0/20. On one of this instances I have a docker container running on the port 2376. I want to be able to access ...
Tamunopriye 's user avatar
0 votes
0 answers
34 views

SSH -- Open in browser window (GCP) isn't working

I have a virtual machine in Google Cloud Platform. I have been able until this morning to open a window using "SSH Open in browser window". I haven't changed anything. I stopped the machine ...
Marcos Camargo's user avatar
0 votes
0 answers
20 views

GCP private DNS does not work

I am trying to connect my private load balancer IP with a Private DNS record on port 80. But this configuration does not work unless I add my private IP and DNS record to the /etc/hosts file in the ...
sidharth vijayakumar's user avatar
0 votes
0 answers
19 views

Unable to send TCP from Azure VM to GCP VM

I have setup a Ubuntu VM in Azure within a subnet 10.0.0.0/24 within a VNet's address space 10.0.0.0/16. Next I setup a Virtual Network Gateway with a tunnel to GCP vnet. I have an internal load ...
rams's user avatar
  • 247
0 votes
0 answers
52 views

SSH Egress Settings for Google Cloud Functions to connect to Egnyte SFTP

I'm attempting to use Google Cloud Function to connect with an Egnyte SFTP server and transfer files to Google Cloud Storage. Currently, I have a Python script that uses Paramiko to connect and that ...
ASM's user avatar
  • 1
0 votes
1 answer
539 views

Permission denied to enable service [cloudaicompanion.googleapis.com]

As account owner, I run the command: gcloud services enable cloudaicompanion.googleapis.com --project xxxx and get the error message: ERROR: (gcloud.services.enable) PERMISSION_DENIED: Permission ...
Shay Zalman's user avatar
0 votes
0 answers
131 views

gcloud compute ssh asking for password

Here is my situation - I have been SSHing into my VM instances on Google Cloud Platform for years without any issue using the command: gcloud compute ssh jackson@myservername I just got a new macbook ...
Jackson Behan's user avatar
0 votes
0 answers
30 views

GCP: Producer Portal : Test Deployment during creating Product fails with "One or more licenses are unhealthy."

I am creating a new product in Producer Portal following the steps in VM Creation I am using Deployment Manager as the way to deploy the package. On Validate step, the test deployment fails with this ...
Shreya K's user avatar
0 votes
0 answers
69 views

Pfsense breaks certification chain

I have a problem I was thinking it was a simple one. It seems it is not. Not from my point of vue :( In the same GCP Project, I have two independant VPC, one linked to the vtnet0 (LAN) of a pfsense 2....
mat.viguier's user avatar
0 votes
2 answers
73 views

Unable to run GCP VM Instance with a container

On GCP you can create VM instances and configure it to pull a docker image to run a container. The container doesn't seem to be running in my case. When I SSH into the VM and run docker images no ...
rams's user avatar
  • 247
0 votes
2 answers
40 views

gce-rescue failed to rescue a GCP instance

I tried using https://github.com/googlecloudplatform/gce-rescue to rescue a vm, however it failed with below error: test@cloudshell:~ $ gce-rescue --zone us-west2-b --name test-vm Traceback (most ...
nightWolf's user avatar
  • 118
0 votes
0 answers
20 views

How to specify container arguments when creating VM from container image in GCP

GCP VMs can be created using a container image. The form on GCP console has text boxes to enter the Command and Arguments. What is not clear is how to specify the arguments. The corresponding docker ...
rams's user avatar
  • 247
0 votes
0 answers
30 views

Many files were changed to root as owner by GCP. Can't delete them!

Many files had their ownership changed to root in GCP and now I can't remove them. How do I change it back? GCP help is hard to come by. Thanks, -Marcos
Marcos Camargo's user avatar
0 votes
0 answers
31 views

How to troubleshoot quota problems on Firebase to BigQuery integraton?

I'm trying to link my App's Firebase account to a BigQuery sandbox. It worked a few months ago and stopped when it reached a limit. Therefore I cleaned all BQ data to give enough space for it to work ...
Roberto Victor's user avatar
2 votes
1 answer
331 views

GCP Secret Manager Access "Invalid Grant" error 503 with Python 3.11

really losing it here. I wrote a simple piece of code just to be able to access secrets, and every time I run it it simply throws the following error: google.api_core.exceptions.RetryError: Deadline ...
Flavio Fenley's user avatar
0 votes
1 answer
226 views

How to connect to a GCP Cloud SQL Postgres server using client certs?

I'm attempting to authenticate with a cloud SQL instance using a client cert: psql -h "$IP" "sslmode=verify-ca sslkey=certs/tls.key sslcert=certs/tls.crt sslrootcert=certs/ca.crt dbname=...
Thanatos's user avatar
  • 356
0 votes
0 answers
11 views

GCP VM instance not showing LESS keys as GCP editing instance metadata?

authorized_keys is missing AFTER I add my ssh key to an instance in GCP so then I connect via browser and authorized_keys is generated with 1. 'TWO keys'. I then click edit on instance and I see 2. '...
Dean Hiller's user avatar
1 vote
1 answer
88 views

Build a failover strategy inside GCP to redirect if compute engine stop responding or is on an error state

Currently I have a architecture inside GCP (Google Cloud Plataform) of a Wordpress application that works this way Cloud DNS -> Load Balancer (with Cloud CDN enabled) -> Compute Engine (with ...
Alan Nicolas de Oliveira's user avatar
0 votes
0 answers
38 views

GCloud compute snapshots list doesn't show creation type

Trying to sort out the GCP disk snapshots i have, and filter which snapshots had made by policy or backup software like veeam, or these snapshots made manualy by persone. While in the console i can ...
yosisviva's user avatar
0 votes
1 answer
57 views

sftp and ssh password less auth

we have created the VM instance on GCP and Google assigned the default user xx we have configured the ssh key we are able to log in without a password and added the new group Sftp yy and added user zz ...
chetan kittur's user avatar
0 votes
1 answer
3k views

Authentication failed while git clone

I created a VM and installed docker and git and then tried to clone a github project. git clone "project_url" Gave correct username and pwd but after that I am getting below error remote: ...
Vikram Kumar's user avatar
0 votes
1 answer
44 views

Certificate not served from GCP with a CNAME pointing to an external domain (Zendesk)

GCP subdomain CNAME points to an external domain and has a self-managed certificate assigned to it on GCP Certificate Manager. When trying to access the subdomain it shows that there is no SSL and the ...
devops on the road's user avatar
0 votes
1 answer
52 views

Not able to access the ejabberd server even in ejabberdctl if ejabberdnode name is changed in GCP deployment using environment variable

As a first step in using ejabberd cluster in GCP, I tried to change the node name using the environment variable "ERLANG_NODE_ARG=ejabberd@main" as mentioned in the readme file. But I am not ...
Navin Vinayagam's user avatar
1 vote
1 answer
844 views

Unable to SSH to GCP VM after reboot

I used to do the remote development via VS code. I created SSH key on my local Windows 10 and added the public key to the VM instance. Everything was fine for a week. But my VS Code suddenly show ...
Philip's user avatar
  • 25
0 votes
1 answer
32 views

Exporting Wordpress Database from GCP

I am trying to create a local replica of wordpress database by exporting it on gcloud console (after logged in via gcloud compute ssh) but facing this problem. Is there a way out to resolve this or ...
Atul Vaish's user avatar
0 votes
1 answer
56 views

Require ip in apache2 works for index.html but not

I am using apache 2.4.56 and my site is hosted on Google Cloud Compute. "Require ip ip-number" works for /var/www/html/index.html like mysite.com but it doesn't work for mysite.com/cgi-bin/...
Marcos Camargo's user avatar
0 votes
1 answer
125 views

Connecting to MySQL on GCP CE instance (WordPress)

I installed WordPress from the Google Cloud Marketplace into a Compute Engine instance, and am trying to connect to the MySQL instance on that machine using DataGrip on my local machine (macOS). I can ...
serlingpa's user avatar
  • 109
0 votes
1 answer
475 views

Provisionning a GKE cluster stuck at Deploying step

I am provisionning a simple GKE cluster thank to terraform with the more basic config and it is stuck at "Deploying" "64% - Cluster is being deployed..." And in my terminal ...
Hugo Maitre's user avatar
0 votes
1 answer
117 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
2 answers
120 views

How to get a google issued certificate for my service behind l4 load balancer

I am running a mqtt broker behind gke LoadBalancer type service. The lb type service is a l4 load balancer and I need to handle the tls termination at my service/broker level. I have associated an A ...
java_doctor_101's user avatar
0 votes
0 answers
27 views

Jenkins with GCP ephemeral agents take much longer to start agent with declarative pipeline

We have a jenkins instance using ephemeral agents in gcp. We use container image to build in. Our existing pipeline (scripted and setup via gui) takes about 5-10 seconds to spin up an agent and start ...
s_qw23's user avatar
  • 101
0 votes
1 answer
168 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
144 views

Unable to change "on host maintenance" option for an instance template on GCP

I've been using instance templates for Instance Groups, and I never had to go to "Advanced Options" because everything was working as expected. But today, while creating a new instance group ...
Hasnain's user avatar
0 votes
0 answers
74 views

Compute engine stopped by itself

I did not perform any operations and did not set any auto-stop, but the compute engine stopped on its own. The logs for the day, which can be viewed from GCP, are as follows. ----------Log below-------...
hajime's user avatar
  • 1
0 votes
0 answers
46 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
1 answer
343 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
0 votes
2 answers
26 views

metada conflict when deploying Openstack on GCP

We ran an openstack environnement on GCP with an arch of 1control_1compute_2ceph. When creating VM on openstack, the VM can't initialte the cloud-init, because wit reaches the metadata of GCP instead ...
fsidiosidi's user avatar
0 votes
0 answers
188 views

SSH from cloudbuild to a Compute instance

I created an SSH user and I can SSH in from my local machine using the id_rsa keyfile, I stored the same keyfile as a google cloud secret and logging in using the same creds but i cant get any access ...
Kravitz's user avatar
  • 167
0 votes
1 answer
256 views

How to create Iptables rules for squid to only handle web traffic request

I'm using Squid Proxy for (DNS Filtering), I have configured squid proxy behind my GCP Cloud NAT in transparent mode to intercept HTTP and HTTPS Web Traffic, I have added only below rules to redirect ...
sanket jaiswal's user avatar