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
votes
2answers
195 views

Port forwarding not working on Google Cloud

I've created a rule in google cloud to allow inbound connections, but the port won't open. Can't connect through telnet or online port checkers. Can anyone tell me what could the issue be? I ...
-1
votes
2answers
169 views

Google Cloud Services - unable to SSH into instance at all

I am unable to SSH into my instance on the Google Cloud Services. I am not very well versed in VM management and troubleshooting, but have tried everything I knew, and google could provide to me ...
0
votes
1answer
77 views

Questions about external IP addresses on managed instance group nodes, and “Cloud NAT” on Google Cloud

(Cross-posted to the Google "gce-discussion" support board) I've been worrying (and posting, on Stack Overflow, gce-discussion, and the Tomcat Users list server) about calls from instance group nodes ...
2
votes
2answers
100 views

Route Google Cloud VPN traffic in a VPC to public internet or internal IPs

We will be having a setup with a Company where they connect their network (A) to our google cloud VPC (B) containing a kubernetes cluster using VPN. They will route all traffic to our network through ...
-4
votes
1answer
54 views

Who are the cloud computing “operators” and what do they do? [closed]

I want to refine my understanding of the term "operators" so I can use it properly myself. For example, Stackdriver aggregates metrics, logs, and events from infrastructure, giving developers and ...
3
votes
1answer
147 views

I accidentaly enabled the UFW on my Google Cloud Computer

I accidentally enabled the UFW on my Google Cloud Compute debian instance and unfortunately port 22 is blocked now. I've tried every way to go inside the VM but I can't. I'm trying to access through ...
0
votes
2answers
220 views

Google Compute Instance not reachable from Kubernetes pod

I have been trying to reach my Google Compute instance on Compute Engine from a pod in a Kubernetes cluster. Using curl http://{INTERNAL_IP}:{PORT}/ I get: curl: (7) Failed to connect to 10.0.0.7 ...
0
votes
0answers
39 views

Google Cloud App Engine run custom app in privileged mode

I have an app deployed on app engine in google cloud. I need to be able to use gcsfuse to access shared bucket but you need to run the docker image in privileged mode to access resources. If i deploy ...
1
vote
0answers
146 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 ...
0
votes
1answer
151 views

gcloud compute ssh requires password even after using json key file for authentication

Hi Google cloud experts, I am trying to authenticate gcloud using json key and even doing everything as per docs it requires for password when I run gcloud compute ssh root@production Here is ...
2
votes
1answer
81 views

Why Domain Admin Cannot Enable Domain Wide Delegation for Service Accounts?

We need to use service accounts for our application instead of individually end users to call some Google Apis such as Admin Directory Api. There are 3 members of this project which are me as owner, ...
0
votes
1answer
157 views

Service Account fails to list buckets with `403` - `does not have storage.buckets.list access`

I have two different service accounts. They have the same roles: my-user@my-computer:~$ service_account_basename=working-account my-user@my-computer:~$ service_account="$service_account_basename@$...
0
votes
1answer
29 views

How to open a port on a Google Cloud Compute Engine

I have a Windows Server 2008 R2 instance, I want port 3000 to be accessible to the outside world. Here's what I have done so far. I have configured that at the VPC network/Firewall Rules section. But ...
0
votes
1answer
117 views

How to increase COMMITTED_CPUS quota?

I tried to purchase additional committed use discount in GCP but I got this error. Quota 'COMMITTED_CPUS' exceeded. Limit: 75.0 in region asia-southeast1. Previously, I already purchase some CPU ...
1
vote
1answer
33 views

“Google script” take up a lot of CPU resources on my cloud server

Resource usage image How to reduce the resource usage of these processes? I had tried upgrade vCPU, but no change in the proportion of resources occupied. Thank you very much!
2
votes
1answer
171 views

What is causing Google App Engine 504 Gateway Timeout Every 10 minutes or so?

I just migrated our production website over to Google App Engine last night, and now the app starts giving a 504 Gateway Timeout after about 10-15 minutes of inactivity. But I've been running a test ...
0
votes
0answers
45 views

Google cloud platform, vm instance's ssh permission

In my Google Cloud Platform, vm instance, I accidentally changed the permission of /etc/ssh, and now I can't access it using ssh nor filezilla. The log is as below: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@...
0
votes
1answer
51 views

GCP Extensible Service Proxy backend configuration not working

I am trying to get the GCP "Extensible Service Proxy" working proxying connections to a backend server, following this guide (replacing the backend with my custom one): https://cloud.google.com/...
-1
votes
1answer
141 views

Gitlab OmniAuth multiple gSuite organisations

Is this possibile at all? I have Google Oauth setup. And gitlab login is working fine with domain where I have created API Keys and added Google+ api service. Now I wanted to login with my personal ...
0
votes
0answers
58 views

GCP: Can not ssh to instance after sftp setting (ForceCommand internal-sftp)

After I added following lines to the /etc/ssh/sshd_config for sftp setup as online guide suggested. Match group sftp ChrootDirectory /home X11Forwarding no AllowTcpForwarding no ForceCommand internal-...
0
votes
0answers
36 views

Send a HTTP 200 response code when a Google Storage error page is returned

I'm currently hosting an SPA out of a Google Storage bucket with virtual routing. In order to make pages load correctly I configured the buckets error page to point at the index.html file that hosts ...
1
vote
2answers
1k views

NVIDIA-SMI can't communicate with NVIDIA driver

Problem description I am trying to set up a centos-7 GPU (Nvidia Tesla K80) instance on Google Cloud, to execute CUDA work. Unfortunately, I can't seem to properly install/configure drivers. Indeed,...
4
votes
1answer
69 views

locked out of ssh and sftp and require new password

I have tried to log into my Google Instance running "CIS CentOS Linux 7 Benchmark Level 1" and get the following message. It's asking for the current password which we don't have. Is there a way to ...
0
votes
2answers
116 views

Private DNS records not resolving in Compute Instance VMs

Backstory We've just set up our GCP project. We've got several Compute Engine VMs (centOS) running. We've set up a VPN between our production co-lo and GCP. All appears to be working fine. We do have ...
1
vote
1answer
29 views

AWS Lambda/GCP Cloud Functions for containers

I am looking for a service that is similar to AWS's Lambda or GCP's Cloud Functions but allows for the running of arbitrary containers. The use case is that at random times I need to run a Docker ...
-1
votes
2answers
221 views

Understanding gcloud's persistant disk in order to sustain file write throughput

I am trying to understand gcloud's local SSD performance. I want to understand what specs of local SSD I would need in order to store 1000 files that are 1/10 of a megabytes in size (100k) per second....
0
votes
1answer
83 views

How do I update the loadbalancer IP?

I had cluster A with a static IP on a load balancer, but needed to move a deployment to service B whilst maintaining the same static IP address. I did the following: Removed the loadbalancer from ...
0
votes
1answer
156 views

Mount a bucket to an instance running Windows Server

I have to share out ~2TB of files over VPN to endpoints that need SMB access. Rather than creating a ~2TB persistent disk, How could I mount a google cloud storage bucket and share it from my windows ...
0
votes
1answer
160 views

How can I add the servicenetworking.services.addPeering privilege to an user?

I'm trying to deploy a Cloud SQL instance using private IPs, which have recently become available. It seems I need the servicenetworking.services.addPeering privilege, but I can't find it neither in ...
0
votes
2answers
169 views

How to make an internal load balancer in a google cloud kubernetes instance be accessible from another kubernetes instance in different regions?

I am trying to expose a service inside of a Kubernetes cluster in one Google Cloud Region (us-east) and have it accessible to another Kubernetes cluster in a different region (us-central). I would ...
0
votes
1answer
126 views

Can I mount a Google Cloud NFS volume on my local computer?

I created a NFS node on Google Cloud, and I would like to create a volume mount on my local Mac OSX computer; it seems that I need to connect to the same VPN as the NFS node, but I'm not sure how to ...
0
votes
0answers
61 views

How to remove unused temp files from Google Cloud SQL managed Postgres?

We've moved to Google Cloud SQL, created couple of databases and imported lots of data. Alongside it was a pretty large amount of queries which were interrupted here and there which have left some ...
0
votes
1answer
97 views

How do I change the email address that Google Cloud Platform alerts go to?

I received an email from Google Cloud Platform about one of my projects, with subject line: Action required: Problem with your Google API project I'm wondering how I can change these emails to ...
0
votes
1answer
65 views

Forward from VPN to non-VPN network

I want to connect an existing Kubernetes cluster to remote VPN that uses only a specific subnet IP range. I could create a custom-mode VPC network within my project that only has the appropriate ...
0
votes
1answer
412 views

List all Public IP Addresses used in all projects in GCP

I am using Google Cloud Platform. I know that we can list the Public IP Addresses used by instances using the gcloud command like explained in https://stackoverflow.com/q/27994033. I also have found ...
1
vote
1answer
45 views

How to clone my cloud server locally? [closed]

I'm working on an IoT project and have my backend running on cloud. Now, there are a few sites where the connection of the device is not being allowed to the cloud by the authorities but instead they ...
0
votes
1answer
38 views

How can I compute only current instance disks

I need some help with Google cloud. I need a shell script for creating a current instance snapshot. I have researched and found some shell script which can create snapshots for all project instances, ...
0
votes
0answers
29 views

Setup iptables to connect LXC container to host tcp load balancer (from container to internet)

I have a LXC container inside a host. A program inside the container is trying to communicate with external nodes using port 9876. If I connect an external ip to the host VM, everything works. I ...
0
votes
1answer
71 views

Run tshark in google cloud with external ( public ) IP

I had tried to run tshark in a centos 7 instance hosted in google cloud platform. When we analyze the captured packets, it is only showing the internal IP of that server. Is there any way to get the ...
0
votes
1answer
75 views

GCP - Minimum permissions required to start/stop Compute Engine Instances

I've set up a GCP project, with a few Compute Engine VM Instances that will be used off and on at different times of the day. So that I don't have to stay glued to the console all the time, what is ...
0
votes
1answer
144 views

Can't find Cisco CSR1000v image for deploying in GCP

I would like to deploy Cisco CSR1000v on VM instance but I cannot find it among the OS images in GCP, neither custom images and marketplace. I'm following the tutorial below: https://www.cisco.com/c/...
-1
votes
1answer
89 views

GCE Kubernetes and Load Balancer http to https

I have hired a DevOps to setup my infrastructure on GCE. We have decided to use Kubernetes Engine for our App. My DevOps has setup multiple load balancers and is using ingress. The issue is that he ...
0
votes
1answer
152 views

I can't connect to my VM on Google cloud

I can't SSH my VM server, every time I tried it failed, please help: I can't connect to it via the browser, the error code is : (#79) I also can't SSH to my server via SSH client See Connection error ...
0
votes
0answers
28 views

GCP Internal Load Balancer not responding

I am trying to reach GCP Internal Load Balancer from external network connected via 3rd party Pritunl-OpenVPN tunnel (tunnel endpoint is on VM). [external network] <------- Pritunl VPN ----> [GCP ...
0
votes
1answer
34 views

Transfer API keys from one organisation to other in GCM

I have a very noob question but still need some help urgently. I have an organization in GCM hierarchy where I have some projects using the API keys. Now I want to transfer these projects using these ...
0
votes
1answer
48 views

How can I send/generate traffic in GCP?

I'm using GCP for building a simple scenario. I set 3 VMs in deferent locations in a default VPC. I would like to send/generate traffic in order to use VPC flow logs, but I don't know how to do that.
0
votes
1answer
57 views

How can I add a GCE user and let him connect in the web-browser SSH?

I would like to add a Google user on the Compute Engine project and give him a SSH (root and non-root) access from the web-browser on my Debian 9 VM. I already invited and set the 'Compute Engine ...
0
votes
2answers
67 views

Do I need external IPs for Managed Instance Group instances serving as a GLB back-end?

(Related to Why do I need an external address to make an internal connection between GCE instances?) I have a MIG that serves as a GLB back-end. The health-checks for both the MIG and the GLB back-...
0
votes
2answers
97 views

Why do I need an external address to make an internal connection between GCE instances?

I have a VPC (10.11.0.0/20) with 3 VMs. VM2 and VM3 are the same except that VM2 has an external IP address (ephemeral) and VM3 does not. They're both running a Docker image with a web server exposing ...
1
vote
2answers
84 views

How to copy files from a debian 9 google cloud vm to my local windows 10 machine?

Am trying to copy directories/files from a google cloud VM instance with debian 9 OS to my windows 10 laptop. Which command should I use? Trying to download from the google console is not working. ...