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.
3,012
questions
4
votes
1
answer
374
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
2
answers
992
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 ...
4
votes
1
answer
430
views
Docker + Ansible + google-compute-engine debian packages - a confusing story
Dear fellow Server Faulters!
I have stumbled upon a problem that confuses me A LOT and you are my only help! Long story short:
1. I have a set of ansible playbooks to configure servers
2. These ...
4
votes
2
answers
963
views
GKE how to have ingress modify existing load balancer
Is it possible to get GKE to augment the rules for an existing load balancer instead of creating a new one for each ingress object created?
We have multiple ingress objects created from multiple ...
3
votes
2
answers
4k
views
Is there any way to disable at least TLS 1.0 in GCE HTTPS Load Balancer?
I'm trying to pass the Trustwave pci DSS scan but i can't because it fails in "TLSv1.0 supported" and i think the problem is in GCE HTTPS loadbalancer that enables TLSv 1.0, 1.1 and 1.2 by default (...
3
votes
2
answers
1k
views
Unable to run the Google Cloud SDK CLI on Windows + Powershell 7 due to python issues
Recently after having no problems for months I suddenly am unable to run the Google Cloud SDK CLI / gcloud commands in Windows Terminal / PowerShell 7 (7.3).
The error I am getting is:
>gcloud
C:\...
3
votes
1
answer
6k
views
Permalinks in Wordpress not working on Google Cloud Platform
I’ve been beating my head against the wall for three weeks trying to get permalink settings in Wordpress to work on Google Cloud Platform. Here’s a quick summary of what I have, what I’m trying to do, ...
3
votes
2
answers
4k
views
getting a new permanent IP address on google cloud compute
I've created a few instances in google compute engine by using the web interface. I want to start doing it at the command line instead so that I can create more and automate the process. The web ...
3
votes
2
answers
2k
views
Enable logical replication on Google Cloud Postgres
Is there anyway to enable logical replication wal_level = logical on Google Cloud Postgres instance? I want to do CDC (change data capture) to stream WAL Record to Apache Kafka.
Thanks for your help!
3
votes
2
answers
18k
views
Google Compute Engine ssh: connect to host <IP> port 22: Operation timed out
I have setup my VM on Google compute engine and connect to it from my Mac using SSH via Gcloud. I have installed my Django website and after that when I run the command below:
sudo ufw enable
After ...
3
votes
3
answers
7k
views
Unable to reach a python flask-enabled web server on gce
I am running a very simple http server on a VM in GCE.
The code is very simple
from flask import Flask, render_template, request, json, abort
app = Flask(__name__)
@app.route('/', methods=['GET'])
...
3
votes
2
answers
5k
views
What is the difference between zones in the same region in Google Compute Engine?
What kind of differences are there between different zones in the same region in Google Compute Engine?
For example, in Eastern Asia-Pacific, you can access to a set of different zones in Taipei ...
3
votes
2
answers
1k
views
EXTERNAL: The user does not have access to service account "default"
When trying to create a new container I get the error "EXTERNAL: The user does not have access to service account "default" ". This has recently started happening. This happens from any user ...
3
votes
2
answers
538
views
Google container engine - error creating aufs mount
We are using Kubernetes hosted on Google Container Engine. We have started to see regular pod failures with the following status:
API error (500): error creating aufs mount to /var/lib/docker/aufs/...
3
votes
5
answers
685
views
How big is a cloud? [closed]
I'm trying to come up with some data on how much computing power the current cloud platforms represent. (Microsoft Azure, Amazon Elastic Compute Cloud, Google App Engine. Others?)
Stuff like how many ...
3
votes
1
answer
2k
views
Google Cloud S3 & rclone: Error 400: Cannot insert legacy ACL for an object when uniform bucket-level access is enabled
I'm trying to configure rclone to access a google cloud bucket (which happens to be managed by terra.bio. My rclone config reads as follows:
[terra]
type = google cloud storage
object_acl = private
...
3
votes
2
answers
4k
views
Google Cloud Compute Engine persistent disk snapshot schedule not working
i created a VM with terraform on GCP and also a persistent disk separately with the google_compute_disk , google_compute_resource_policy, google_compute_disk_resource_policy_attachment resources to ...
3
votes
2
answers
2k
views
Google Cloud Kuberbetes run-away systemd 100% CPU usage
Last week, after upgrading our GKE cluster to Kubernetes 1.13.6-gke.13, all of our nodes in the cluster started to fail due to high CPU usage. It's the Kubernetes software on the nodes themselves ...
3
votes
1
answer
3k
views
How to handle retention policies in GCP Container Registry
GCP Container Registry is built on top of GCP Cloud Storage and one can set quite complex retention policies there.
However there's no such functionality in Container registry and as there's no ...
3
votes
2
answers
4k
views
Google Cloud Container Builder timeout
The Google Cloud Container Builder API documentation says that you are able to set the timeout through the API.
Our build are triggered by webhooks, meaning that the API is irellevant for us. Is ...
3
votes
4
answers
1k
views
How to run DNF without going OOM on GCP e2-micro
I'm trying to run Fedora Cloud Base 36 on an e2-micro in the US central region of Google Cloud Platform (GCP). I haven't upgraded packages in a couple months so I tried to do that today. When I run:
$ ...
3
votes
3
answers
1k
views
Google Kubernetes Engine - cannot see logs containing pod's output
In freshly installed cluster (Kubernetes version: v1.22.8-gke.201) I have the following test deployment:
apiVersion: apps/v1
kind: Deployment
metadata:
name: busybox
labels:
app: busybox
spec:
...
3
votes
3
answers
7k
views
Getting "Quota 'CPUS' exceeded. Limit: 0.0 in region asia-south1" error while add an instance
as titile, I checked the project quota, it display the limitation of CPU quota is '0' in the region of asia-south1, please guide me how to do the next, thanks.
3
votes
3
answers
21k
views
Connection via Cloud Identity-Aware Proxy Failed
We have an instance running in US-central-1 zone which started getting an error as follows:
Connection via Cloud Identity-Aware Proxy Failed
Code: 4003
Reason: failed to connect to backend
You may be ...
3
votes
2
answers
2k
views
Only allow connection to GCP Compute Engine VM originating from Cloud Run service
I have a DB server running as a Compute Engine VM, and an API running on Cloud Run. Both are part of the same project. I want the DB VM to only be accessible from the Cloud Run code.
At first I ...
3
votes
1
answer
654
views
gsutil rsync "too many values to unpack" error
I'm trying to sync a folder with over 3k files to a bucket on Google Cloud with gsutil. The problem is that less than half of the files are uploaded and then I get this error:
too many values to ...
3
votes
2
answers
13k
views
GCP Service Account can't access IAM operations with permissions
I'm using Terraform to automate a lot of my GCP management because clicking is bad. I've got a "shared services" project that I'm trying to use to manage other projects. I'm trying to setup a new ...
3
votes
1
answer
2k
views
Secure static web page hosted on Google Cloud Storage
I would like to add basic authentication to the website that hosts on Google Cloud Storage.
The site is connected to a load balancer, has a working SSL certificate and CDN.
Basic authentication ...
3
votes
1
answer
1k
views
How to successfully transfer GCP projects from personal account to Cloud Identity-enabled GCP account?
Currently I have a personal GCP account with various projects. But I want to have my projects associated with an organization, therefore I created a new Clound Identity-bound GCP account. Next I ...
3
votes
2
answers
7k
views
Setting up publicly-accessible DNS name in Google Cloud DNS
I am moving from Microsoft Azure to Google Cloud, and I would like to be able to publicly access one of my virtual machines at myapp.uswest.cloudapp.google.com instead of its external, static IP ...
3
votes
1
answer
1k
views
Does gcsfuse sync all data to the system it is mounted on?
The scenario:
I have mounted a gcsfuse drive to my docker container so I can store and read data from Google Cloud Storage
The docker container only has a few gigs of storage, but I might have ...
3
votes
1
answer
6k
views
Unable to connect Google Compute Engine instance via SSH in browser
i am new to google cloud,i just deployed my first instance it was working fine till yesterday, i used last time to set email server using this tutorial email server, but now i am unable to connect ssh ...
3
votes
1
answer
7k
views
Google Cloud HTTP balancer returns 502 error
I have 2 Instance groups and HTTP load balancers for each one. Instance groups contain VMs that work on Windows Server 2012 with IIS inside.
When I send POST request from VM from one instance group ...
3
votes
2
answers
4k
views
How to create an internal/private load balancer in google compute engine
I have two clusters. Cluster A (on google container engine) is a public facing cluster and it needs to connect to a private Cluster B (a click-to-deploy cluster on GCE) to access a service. I would ...
3
votes
1
answer
534
views
Have Free website Hosting with Google App Engine
I'm reading about Google App Engine.
I'm creating a bunch of simple dynamic websites in java.
I'm considering to use Google App Engine and setup my clients' website on it.
In this way I've only to ...
3
votes
2
answers
3k
views
ImagePullBackOff err while pulling docker image in different project in Google Cloud
I am trying to pull a private image from Artifact Registry repo in Google Cloud from a kubernetes cluster running in a different Google Cloud project using kubectl.
kubernetes version 1.20.15-gke.1000 ...
3
votes
2
answers
3k
views
Minimum TLS version for google cloud standard app engine projects
We have multiple standard app engine projects that needs restriction on the tls version (>= 1.2), is there a setting to change that through the console?
3
votes
1
answer
2k
views
How to extract raw plain text logs from Stackdriver?
We need to extract the logs of GKE-hosted reverse proxies in a raw format that can be parsed by SEO log analysis tools. Unfortunately these tools flat out refuse to ingest CSV and JSON files, they ...
3
votes
1
answer
689
views
GCE deleted users folders reappear after reboot
on newly created gce instances I find a really messy /home/ folder, containing one home directory for every GCP user with sufficient permissions (so far not too insane), but also for any user that ...
3
votes
2
answers
3k
views
GCP support after Python 2.7 Deprecation on Genuary 2020
After upgrading pip to the latest version (19.0.1) I got the following message:
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 ...
3
votes
3
answers
3k
views
GCP Maintenance Events
We recently experienced an issue where our master Dataproc instance rebooted and some of our services didn't start up cleanly; we're not sure what triggered this reboot but the logs suggested that it ...
3
votes
2
answers
186
views
Google Cloud Compute Instance
I am hosting a website with apache on Google Cloud Platform and I wasn't sure if I should enable the ufw.
Does google have a firewall already enabled on their Google Cloud Compute Instances?
Thanks!...
3
votes
1
answer
3k
views
How to use JSON keys with google cloud gsutil to manage multiple Keys
We have multiple GCP Service account keys from different environment such as DEV,STAGING,..PROD.
I would like to run a command in my jenkins box which is there in Dev environment to create access DEV ...
3
votes
1
answer
14k
views
GKE ingress unable to connect to healthy service
I've been following the tutorial here: https://medium.com/@nithinmallya4/deploying-a-rails-application-to-google-container-engine-with-kubernetes-b08b2de353fc
With their code base: https://github.com/...
3
votes
2
answers
7k
views
Not able to migrate Google Cloud project from personal account to organisation
I had created a project using my personal google account. This project is also associated with Firebase. We have now created an organisation account but unable to link the project from the personal ...
3
votes
1
answer
3k
views
Managed instance group GCE - Static IP not working
I have a problem with the ip of my instance group.
I have a managed instance group with (autoscaling enabled) on Google Compute Engine and I've setted a static IP on the 1st instance created. After a ...
3
votes
1
answer
2k
views
How to open a port in Windows firewall on Google cloud console
I have a VM Windows server 2012 running in Google cloud which is not being able to RDP after accidentally updated in Firewall (of the VM).
Is it possible to update the VM's firewall from GCP console ?...
3
votes
3
answers
2k
views
why does wget timeout at PASV on ftp sites with google cloud shell?
here are three very simple shell commands:
wget 'ftp://ftp.cdc.gov/pub/Health_Statistics/NCHS/Dataset_Documentation/NHIS/2016/samadult_layout.pdf'
and
wget 'ftp://ftp.ibge.gov.br/Censos/...
3
votes
4
answers
8k
views
Is it possible to see output startup script in compute engine
My Compute Engine vm when deployed run a startup script. Everything seems working well, but there is one command in the startup script which I think it doesn't.
I run the command
apt-get update &...
3
votes
1
answer
881
views
Prestashop + Google Cloud SQL
I am currently trying to setup a Prestashop 1.7 instance using Google Cloud Compute Engine and Google Cloud SQL (MySQL 5.7).
I managed to get to the installation page of Prestashop, but when I try to ...