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
2 answers

Can chaos monkey be used with GCE instances built via jenkins?

Currently, the builds are handled by jenkins, this is our chosen orchestrator. According to the Chaos Monkey deploy guide: "To use this version of Chaos Monkey, you must be using Spinnaker to manage your applications." My assumption from that is…
2
votes
2 answers

Connecting mongo via remote from Google Compute Engine

I've installed the mongodb in one of my GCE machine. I'm having problem connecting to mongodb from remote machine(i.e. Home Computer). With Google search I found, I have to bind the right ip address and need to add respective firewall rules, After…
Kishore Karunakaran
  • 598
  • 1
  • 6
  • 16
2
votes
2 answers

GKE - Kube-DNS resolution to VPN network

New to GCloud and GKE and having a frustrating time with DNS. We have a VPN between our office and GCloud running a Shared VPC. Existing firewall rules seem to work fine. We can ping both ways, we can ssh to Google successfully. So now from within…
2
votes
1 answer

Deployment Manager cannot update instance templates - NO_METHOD_TO_UPDATE_FIELD

I have a deployment comprising a managed instance group and two instance templates (A and B). The deployment was initially created with the instance group referencing instance template A. I tried updating the sourceImage in instance template B using…
2
votes
1 answer

Stackdriver logging for Java deployments in GCP compute engine

I have deployed my 2 java applications( ant and maven based) in gcp compute engine , i wish to connect those log files to GCP stackdriver logging . Can any one help me on this out ?
soundararajan.c
  • 2,538
  • 6
  • 29
  • 51
2
votes
2 answers

How to change sshd port on google cloud instance?

I changed port in /etc/ssh/sshd_config to 23. I restarted sshd (sudo systemctl restart sshd). I added firewall rule for 23: gcloud compute firewall-rules create debug-ssh-23 --allow tcp:23 But still is not working... Ssh commands times out. How to…
Sławosz
  • 11,187
  • 15
  • 73
  • 106
2
votes
1 answer

Terminating dataproc cluster with termination protection on instances produces red flag on cluster that never leaves; is cluster safe?

I need to give a dataproc cluster protection like one can give an AWS EMR cluster. I saw that VM protection is a thing (but can't find anything about dataproc cluster protection), so I decided to try that out. I made a dataproc cluster, for every…
raydulany
  • 68
  • 1
  • 7
2
votes
2 answers

Is there a way to know the creator of a GCP instance with gcloud SDK?

I am trying to find a gcloud command that can provide information about the creator of an instance. Is there a way to achieve that? Thank you.
Yonatan Brand
  • 781
  • 3
  • 11
2
votes
1 answer

Firebase location best practices for EU application

Current setup of my application: BQ: US Dataflow: US Cloud storage: US VM on compute engine for light cronjobs: US Firebase project: US Firestore US most of the website traffic will be coming from Germany/ EU, we currently have page load times…
2
votes
1 answer

AttributeError: module 'boto' has no attribute 'plugin'

I'm running a VM on Google Cloud Platform using Jupyter notebook with word2vec models. I have the following code snippet: from gensim.models import Word2Vec amazon_word2vec = Word2Vec(model, min_count=1, size=100) And it results in the…
2
votes
1 answer

Getting external IP of created google instance for a particular interface using terraform

I am using terraform to create and configure my GCE instance. I have configured 4 interfaces on the GCE interface, Now i want the external IP of the managenment interface using terraform for this instance . For aws , we have some concept of output…
Abhilasha
  • 357
  • 1
  • 5
  • 19
2
votes
3 answers

Predict value of single image after training model on TPU

I still want to know how I can predict the value of an image after training the network, but it seems like it is not supported yet. Any idea for a workaround (taken from the mnist_tpu.py)? if mode == tf.estimator.ModeKeys.PREDICT: raise…
2
votes
1 answer

Recover VM Instance when Google Cloud Console Free Trial expires

I've done a search for my question and am surprised not to find an answer because it must be fairly common occurrence. My google cloud console free trial expired about two months ago without me realising it. I have now upgraded to a paid account,…
2
votes
3 answers

TPU terminology confusion

So I know how epochs, train steps, batch sizes and this kind of stuff are defined, but it is really hard to me to get my head wraped around the TPU terminology like train loops, iterations per loop and so on. I read this but Im still confused. Also…
2
votes
0 answers

Google startup script on custom image not working

I have launched a VM in GCP using a custom image from GCP console. I have added a start-up script while launching the VM. When I login into the VM, I have observed that my start-up script is not executed. I have gone through the log file and…
Jyothi Sony
  • 107
  • 2
  • 13