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

Does Google Cloud change the server' ssh keys automatically?

I'm a new Google Cloud user. Today I've realized I can't connect any of my servers with this error message: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! …
Roberto
  • 125
  • 2
  • 13
4
votes
1 answer

How to specify external IP address in a Google Compute managed autoscaling group

I've got a managed autoscaling group set up behind a load balancer in Google Compute. It's working well, and adds / removes instances as it should. Is is possible to specify (in any way) the external IP address which is allocated to the instances…
4
votes
1 answer

Boot error on cloud-init

After a reboot my instance is not connected to the network, connecting to serial port i can see the error: [ 1415.293774] cloud-init[31802]: Cloud-init v. 0.7.7 running 'init' at Tue, 28 Jun 2016 09:51:02 +0000. Up 1415.24 seconds. [ 1415.294047]…
4
votes
3 answers

Google Cloud SQL authorize Auto Scale Instance Groups

I have an instance group set up with Auto Scaling and Load Balancing. I'm also using Google Cloud SQL for the MySQL server. Whenever instance group scales up and adds another instance, the instance gets a new IP address. The problem is that this…
4
votes
2 answers

Slow Fsync w/ Google Cloud's Local SSD (Postgresql)

I'm getting unexpectedly low transactions per second on GCE's "Local SSD" option (comparing to SSD Persistent Disk) using simple "pgbench" tests: # With Local SSD # /dev/mapper/vg0-data on /data type xfs…
BeepBoop
  • 283
  • 2
  • 10
4
votes
1 answer

GCP, basic IPv6 set up for Linux VM Instance

I'm trying to set up a simple VM in Google Cloud Platform that can ping ipv6.google.com successfully. I'm using these GCP docs regarding IPv6 support, including…
4
votes
4 answers

Google Cloud External IP Charges for Free Tier

Google Cloud have suggested that from April (now pushed back to July) people will be billed for the use of static external IPs (approx £2.50 per month per IP). However, the following Reddit page…
Codemwnci
  • 195
  • 8
3
votes
2 answers

GCP changing machine type from N2 back to N1

I would like to change the machine type for a virtual machine back from N2 to N1. I executed : gcloud compute instances set-machine-type MACHINENAME --zone=europe-west4-b --custom-cpu=10 --custom-memory=40 : --custom-extensions…
Angelo
  • 31
  • 2
3
votes
4 answers

Cannot Access My Google VM after reboot

I restarted my Google Cloud VM and now cannot access it via ssh. I am getting below messages from the logs - Sep 26 21:51:02 NetworkManager[1300]: [1569523862.8802] dhcp4 (eth0): canceled DHCP transaction Sep 26 21:51:34 …
3
votes
1 answer

I can not ping one gcp vm instance from another in the same network but in different regions

I noticed on GCP VM instance in the same network that you can't ping one from another using their instance names (hostnames) as taught in a pluralsight tutorial. But I can ping this other VM instance using both the internal and external IP addresses…
George Udosen
  • 213
  • 2
  • 11
3
votes
1 answer

Can not change hardware configuration on preemptible GCP VM

Today I tried to change the hardware configuration of some preemptible instances on us-east1-d to include a single GPU (T4) each. When I applied the changes, GCP throws the following error: The request contains invalid arguments: "[1-24] vCpus can…
Jimpachnet
  • 61
  • 1
  • 6
3
votes
3 answers

Disable fluentd on on Container-Optimized OS (GCE)

I would like to disable fluentd on a VM instance running Container-Optimized OS on Google compute engine. The reason being that it is eating up a lot of RAM for functionalities I do not require. $ ps aux --sort -rss USER PID %CPU %MEM VSZ…
3
votes
1 answer

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 ever succeeded to ssh login via gcloud to any gce of…
3
votes
2 answers

Google Compute Engine ssh: connect to host 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 this command I not able to connect to my VM…
Abdul Rehman
  • 133
  • 1
  • 1
  • 4
3
votes
2 answers

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 won't be maintained after that date. A future…