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
11
votes
4 answers

How does google compute engine create users and how to disable them?

I've got a CoreOS cluster running on GCE and one issue that I've noticed with all GCE instances is that as long as you're auth'd with the project on Google Cloud platform, you can login in as pretty much anything on the servers. This is an issue for…
10
votes
2 answers

Where are the Google Health check logs

I am running a GCE instance and on it I have a Kubernetes cluster running. An HTTP Load Balancer is also configured to probe the health of the a Kubernetes service running on this instance. But I constantly get this error: Error: Server Error The…
9
votes
2 answers

Google cloud unable to connect to the VM on port 22

I am using Google Compute engine to host couple of sites but I resize the disk and then restarted the instance and now I am unable to connect both from gcs and putty. ( Connection Refused ) Serial console output: http://pastebin.com/BZicx7JN how can…
Zaid
  • 91
  • 1
  • 1
  • 2
9
votes
2 answers

No space left on device after growing filesystem

I am using a VM on Google Compute Cloud. I grew my disk from 10G to 200G. I followed the exact steps here: https://cloud.google.com/compute/docs/disks#repartitionrootpd To summarize: I ran fdisk, removed the only partition, created a new one of the…
8
votes
2 answers

How to add new persistent disk without rebooting the server?

I've got a running instance on GCP and would like to add another persistent disk into it. But it will not show up. It's an n1-standard-1 instance with a 10 GB storage (named s03). I created another storage disk-1 and mounted it. Then I created…
8
votes
1 answer

Cannot enable cgroup_enable=memory swapaccount=1 on GCE Debian Jessie instance

In order to support Docker memory limits / quotas I'd like to enable the cgroup_enable=memory swapaccount=1 Linux kernel command line options on my Debian Jessie Google Cloud Compute Engine instances. After adding them to /etc/default/grub,…
7
votes
2 answers

Why a pod can't connect to another network? (In the new version of Kubernetes)

I have two projects in GCP: With Kubernetes Nodes v1.8.8-gke.0. and a database outside of Kubernetes but in the default network. All pods can connect to this server and all ports With Kubernetes Nodes v1.9.7-gke.3 and a database outside of…
7
votes
1 answer

Cannot edit VM or access it via SSH. error:Supplied fingerprint does not match current metadata fingerprint

I have a Linux machine on Google Cloud, created with Bitnami. It was working well, and it could be accessed through SSH, usign the web console or putty. However suddenly today it can not be accessed via SSH in any way. When I try to edit the VM and…
7
votes
3 answers

GCP: No access to Container Registry from Compute Engine

I have a Docker image pushed to Google Container Registry at gcr.io/my-project/my-image:latest. In the same project, I created a Google Compute Engine instance based on COS (Container-Optimized OS) with a read access to Google Storage (enabled by…
7
votes
3 answers

How to recreate a google compute engine vm from one project in another project?

I have created a VM in project A in GCE. I want to create a new instance based on this VM in another project B. I reckon I can spawn a new instance based on the a disk snapshot. However I cannot find any option to transfer such a snapshot across…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
7
votes
2 answers

Google Cloud HTTPS Loadbalance, how to force http to https

i have activated a HTTPS loadbalancer on GCP, with SSL certificate. On fronted i have specified HTTPS/443 as listening protocol and HTTP to comunication with backend. https it working nicely, but loadbalancer also accept http/80 connection resulting…
x86fantini
  • 302
  • 1
  • 3
  • 9
7
votes
6 answers

How do I change reverse DNS on Google Cloud Compute?

How do I change reverse DNS on Google Cloud Compute? I want to add reverse DNS to Google Cloud Compute and can't figure out howto do it. I want to map 11.97.196.104.bc.googleusercontent.com to ns1.example.com…
Surjit Sidhu
  • 173
  • 1
  • 1
  • 6
7
votes
2 answers

Configure postfix to use Google Apps SMTP relay in a Google Compute Engine instance

What are the steps to set up postfix as SMTP relay that uses the Google Apps SMTP relay. There are a bunch of tutorials on the web that explain how to use the smtp.gmail.com gateway with SASL authentication but I could not find a working…
6
votes
1 answer

Why is the pricing of my GCP instance going down every week and comes back up at the beginning of each month?

I'm running on Google Cloud. I was looking at the costs and I noticed something weird - every week the daily cost of running machines is going down, and then on the 1st day of the month, it goes back up. It's "jumping" between $1/day up to $2.5/day,…
6
votes
1 answer

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 the serial port but it's asking me for user and…
1
2
3
97 98