Questions tagged [google-compute-engine]

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

Official website

6707 questions
2
votes
1 answer

How to assign multiple outgoing IPs addresses to a single instance on GCE?

How does one assign multiple ephemeral external IP addresses to the same machine on Google Compute Engine? The web interface only discusses the primary IP addresses, but I see no mention of adding more addresses. I found a related question over at…
Gili
  • 86,244
  • 97
  • 390
  • 689
2
votes
1 answer

How to get access token programatically for GCP Compute API

I need some help for access tokens in GCP. I am using Java as program language and I tried different approaches like: https://cloud.google.com/iap/docs/authentication-howto and…
2
votes
2 answers

Route app engine's subdirectory to a wordpress VM?

I have a Node JS appengine app. but i want to route anything /blog/* to a separate wordpress VM created through the cloud launcher. it's not an appengine service, just a compute engine VM. How can I do this? Current app.yaml: runtime: nodejs env:…
CodeOverload
  • 47,274
  • 54
  • 131
  • 219
2
votes
1 answer

Prevent Google Autoscaler from terminating instance

I am using Google Instance group with Windows machines. Now the problem which I am facing is that when the load decreases Google scale down machine even though some job is running on the machine. Is there a way I can prevent machine from being…
Amol
  • 479
  • 5
  • 18
2
votes
2 answers

How to run Gazebo on Google Compute Engine with GPU?

I am attempting to run Gazebo in an Ubuntu 16.04 Google Compute Engine instance with 1 NVIDIA Tesla K80 GPU. The GPU is configured using the following drivers, which are necessary because I am also using Tensorflow in my application. A solution to…
Jon S
  • 23
  • 4
2
votes
3 answers

Script to create multiple GCE VMs simultaneously

I have a basic SH script that I use to create multiple VMs on GCP, and it works fine, but sequentially. When a number of VMs is say above 4 or 5, it becomes a material delay of time. I noticed that in platforms like Dataflow or Dataproc, an…
VS_FF
  • 2,353
  • 3
  • 16
  • 34
2
votes
1 answer

Google Cloud SQL: unsupported XML feature

Do Postgres databases on Google Cloud SQL support an XML type field? I am trying to import a Postgres 9.5 dump which has XML type fields and it throws an error saying unsupported XML feature. Full error message from Google Cloud SQL console: ERROR:…
2
votes
1 answer

GCP compute_engine network interface terraform error

My terraform file looks like this: resource "google_compute_instance" "virtual_instance" { name = "${var.instance_name}" machine_type = "${var.instance_type}" zone = "${var.zone}" lifecycle { ignore_changes =…
2
votes
1 answer

WinScp SFTP -no supported authentication methods available google cloud

While connecting google cloud with WinScp SFTP Connwction gives the no supported authentication methods available google cloud error (Server Sent:public key) Any Solution ?
moreshwar
  • 191
  • 2
  • 2
  • 11
2
votes
2 answers

python multiprocessing google compute engine

I have a python script which I run on my old quad-core laptop through multiprocessing. The simulation cannot be parallelised, I just run different instances of it on the different cores. I was considering renting some more powerful cpus on google…
tidus95
  • 359
  • 2
  • 14
2
votes
1 answer

How to create a frontend service using gcloud command for google balancer?

I could create some VM instances, add them to an instance group; also created an HTTP health check, and a backend service using gcloud command in a GCE project using these…
Dee
  • 7,455
  • 6
  • 36
  • 70
2
votes
2 answers

How to SSH between 2 Google Cloud Debian Instances

I have installed ansible in on of my GCE Debian VM Instance(1). Now I want to connect to another GCE Debian VM instance(2). I have generated the public key on Instance 1 and copied the .pub key manually to the the authorized key of instance 2. But,…
Roy
  • 23
  • 4
2
votes
1 answer

GCE doesn't deploy GCR image correctly

I have followed this guide from Google documentation in order to be able to push a custom Docker image to Google Container Registry and then be able to start a new GCE instance with this image. At first I wanted to try using an anaconda3 public…
Sewake
  • 737
  • 1
  • 5
  • 16
2
votes
1 answer

Change from GCS region settings to multi-region

I have been trying to see if we should setup a GCS bucket with region or multi-region. The needs today are regional only. I am wondering if there is an option to change from region only to multi-region at a later point in time? This also saves…
sudhishkr
  • 3,318
  • 5
  • 33
  • 55
2
votes
2 answers

How do I create a new GCE VM instance from an instance template using GCE Node.js client?

In Google compute engine I can use an instance template to create a new VM from the template. This works fine using the GCE-console, and works fine, using the API, too (URL parameter "sourceInstanceTemplate"). How can I create a new GCE-VM from an…
Markus Schulte
  • 4,171
  • 3
  • 47
  • 58
1 2 3
99
100