Questions tagged [google-compute-engine]

Google Compute Engine offers scalable and flexible virtual machine computing capabilities in the cloud.

Google Compute Engine (GCE) is the Infrastructure as a Service (IaaS) component of Google Cloud Platform which is built on the global infrastructure that runs Google's search engine, Gmail, YouTube and other services. Google Compute Engine enables users to launch virtual machines (VMs) on demand. VMs can be launched from the standard images or custom images created by users. GCE users must authenticate based on OAuth 2.0 before launching the VMs. Google Compute Engine can be accessed via the Developer Console, RESTful API or command-line interface (CLI).

Useful links

1431 questions
41
votes
10 answers

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6A030B21BA07F4FB

My environment: # uname -a Linux app11 4.9.0-5-amd64 #1 SMP Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64 GNU/Linux # # cat /etc/*release PRETTY_NAME="Debian GNU/Linux 9 (stretch)" NAME="Debian GNU/Linux" VERSION_ID="9" VERSION="9…
alexus
  • 12,342
  • 27
  • 115
  • 173
38
votes
7 answers

Unable to ssh to GCE: "Permission denied (publickey)"

I created a VM via Bitnami in Google Compute Engine. Previously, I was able to ssh via the Bitnami web interface. I tried to ssh via terminal on my Mac but kept getting the Permission denied (publickey) error. I then deleted all keys on the server…
NEO
  • 791
  • 1
  • 7
  • 10
28
votes
5 answers

Expose port 80 and 443 on Google Container Engine without load balancer

Currently I'm working on a small hobby project which I'll make open source once it's ready. This service is running on Google Container Engine. I chose GCE to avoid configuration hassle, the costs are affordable and to learn new stuff. My pods are…
25
votes
5 answers

Google Cloud IN_USE_ADDRESSES quota exceeded.

I am spending the past 3 hours of finding ways to release Google Compute Engine API In-use IP addresses as I have 8/8 in use. I googled, read the manuals but there is no way of releasing it anywhere in the console. I am trying to setup a Rails app.…
19
votes
3 answers

Redirect all HTTP traffic to HTTPS when using the HTTP(S) Load Balancer on Google Compute Engine

I have HTTP/HTTPS Load Balancing set up on Google Compute Engine with 2 Global Forwarding Rules (HTTP and HTTPS). Each rule points to a back-end service with a protocol of HTTP. I want all requests to http://* to go to https://*. As the load…
Ryan Leckey
  • 293
  • 1
  • 2
  • 5
18
votes
3 answers

How to choose the external IP address of a Kubernetes load balancer in Google Kubernetes Engine

I'm deploying a web app using Google Kubernetes Engine and I want to make it accessible via a load balancer on an existing static IP address that I control as part of the same project in Google Cloud Platform, because the domain name I want to use…
17
votes
5 answers

Google Cloud : check disk space usage

How to check the used disk space of Google Persistent Disk without looking into each of them?
16
votes
3 answers

NO_PUBKEY error in google cloud debian packages update

I have a couple of Google Clouds compute instances (US, Germany, Australia) While doing apt-get update today I get: > Get:10 http://packages.cloud.google.com/apt > google-cloud-packages-archive-keyring-stretch InRelease [3,876 B] > Err:6…
BxlSofty
  • 653
  • 5
  • 11
15
votes
2 answers

Why does Google recommend removing SSH keys from GCE for security?

The below reference to Google documentation is no longer true. Google recommends removing SSH keys from GCE instance to secure SSH. That does not make any sense to me. The keys are there for a security, right? When I remove the keys, SSHD stops…
Martin Prikryl
  • 7,327
  • 2
  • 36
  • 71
14
votes
2 answers

Kubernetes - can I avoid using the GCE Load Balancer to reduce cost?

I'm deploying a Kubernetes cluster on GCE using Gitlab-CI. I'd like to keep the cost to a minimum - here's my current setup: Nodes run on 3 f1-micro instances A system pod running Traefik configured with ServiceType LoadBalancer Wildcard dns…
14
votes
3 answers

Stop China from connecting to my Google Compute Engine server

My company has a Google Compute Engine server hosted in North America. We get so many Chinese IP addresses sending requests to port 11 that it is costing us money for the ingress. Our firewall blocks all connections to China already as they have no…
13
votes
2 answers

df -h only shows 10GB, but I've assigned a 500GB disk to the GCE instance

I keep on running out of disk space while trying to compile gcc and I keep on creating larger and larger disk sizes and after 5 hours of compiling, it runs out of disk space. I've resized the disk 4 times now, restarted the compile step for the 4th…
13
votes
8 answers

VPN server on Google Compute Engine with OpenVPN

I'm trying to use Google Compute Engine server as VPN server for all my traffic (I'm living in Russia, we have some issues with censorship here). There is mini-tutorial about VPN on GCE, but it's about network between 2 servers inside GCE and not…
OZ_
  • 201
  • 1
  • 3
  • 15
12
votes
1 answer

google cloud http(s) load balancer returning 502 despite healthy backend service

I've got a GCE http(s) load balancer configured to direct traffic to 2 backends: - the default backend - a second backend with a separate host/path rule (:/*) Both backends exist on the same instance group - a container cluster running two…
11
votes
4 answers

Error creating GCE load balancer: requested address ip is neither static nor assigned to LB

I have a situation where Kubernetes apparently can no longer assign an external IP address to a service upon kubectl create -f Deployment.yaml. kubectl describe service reports the following error: CreatingLoadBalancerFailed Error…
Drux
  • 646
  • 1
  • 8
  • 23
1
2 3
95 96