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

1463 questions
5
votes
1 answer

'BUG: unable to handle kernel NULL pointer dereference at' on Google Compute Engine

On a semi-regular basis, I've seen GCE instances freezing with the following error message (from the serial console): g[1375589.784755] BUG: unable to handle kernel NULL pointer dereference at 0000000000000078 g[1375589.786206] IP:…
5
votes
1 answer

How to disable update notification in gcloud command?

I am using Google Cloud SDK CLI (gcloud command), and the command is great! Although I'd like to output Google Compute Engine's instances list in JSON format (by running gcloud compute instances list --format json) and filter it using jq JSON…
yanana
  • 155
  • 1
  • 7
5
votes
2 answers

How to change SSH key on Google Cloud?

I need to replace the existing SSH key with a new one, but I don't see such options in Cloud admin panel. What is the right way to do this?
5
votes
1 answer

How to mount drive at Google Cloud (Google Compute Engine)?

I have runned instance in Google Compute Engine with 120Gb boot drive. But I'm not able to use it. 1. sudo df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 9.9G 1.1G 8.3G 12% / tmpfs 3.6G 0 3.6G 0%…
5
votes
1 answer

GCP VM Disk space alert

How can I configure GCPs monitoring suite to look at % disk utilization (in total space used, not IOPs)? The only "disk used" metric I see in metrics explorer seems to chart some kind of units per second. My end goal is to set alerts when a disk…
atxdba
  • 337
  • 1
  • 5
  • 15
4
votes
4 answers

gsuite gmail smtp-relay from google compute engine

Can't get this to work. Been over all of the doc sites multiple times and scoured issues here and elsewhere, have tried to follow responses and I'm getting nowhere. This is on a GCE, minimal server, Debian stretch with postfix and mail…
rickb
  • 141
  • 1
  • 4
4
votes
2 answers

Tor relay/exit nodes under preemptible VMs

I have a paid subscription to the Google Cloud Platform, and I want to run Tor relay and exit nodes. I use Docker image quantumobject/docker-tor-exit-relay, just plug&play. In a nutshell, per the answers received: g1-micro VM configuration is the…
Amitie 10g
  • 53
  • 7
4
votes
2 answers

Google Compute Engine: Trouble accessing internet from an instance without external IP

I am trying to install some libraries from some instances that don't have external IP addresses on a VPC network. There is one instance on that network that does have an external IP address and therefore internet access which I'm trying to use as a…
4
votes
1 answer

Achieving stickiness on kubernetes cluster with ingress-gce

I'm trying to achieve stickiness on kubernetes cluster but I am redirected to a different pod every time I access the load balancer. I have session affinity set to 'ClientIP' and also tried with 'Generated Cookie'. I have the following backend…
4
votes
5 answers

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 including: Attempting to SSH from an external…
4
votes
1 answer

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 gain access and reset things? I'm currently locked…
4
votes
2 answers

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 out how to get the Public IP Addresses used by…
pepoluan
  • 5,038
  • 4
  • 47
  • 72
4
votes
1 answer

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 the minimum/least amount of permissions I can grant…
4
votes
1 answer

IP space is exhausted

I have an issue about GKE/GCE. I'm using GKE under shared VPC(alias ip) and I have 4 machines of 2 node pools. When I try to add more node pools(because I want to have more type of machines), it keeps pending and I switched to the GCE/Instance…
4
votes
1 answer

GCP Managed Instance verification

I have a GCP Managed Instance Group with 1 instance running Windows Server. The VM is created and I ran the below code to confirm the instance is RUNNING. gcloud compute instances describe However console is showing a spinning wheel…
SG Chan
  • 41
  • 4