nauta icon indicating copy to clipboard operation
nauta copied to clipboard

Dynamic IPs Google Cloud Platform

Open timoei opened this issue 5 years ago • 2 comments

Hi,

I set up a cluster on Google Cloud followed by your Getting Started guide. Add the moment I am facing the problem that after shutdown/restart of the created instances. All the VMs came up again but they can't communicate with each other. I think this happens because Google provided the instances some new IP addresses after the restart. Is it possible to change the terraform configuration, so that all the machines will be set up with static IP addresses? Where could this change be done?

BR Timo

timoei avatar Apr 08 '19 07:04 timoei

Hi Timo,

Thank you for your ticket. We are looking for possibilities to resolve this issue. We will let you know once it will be done.

Best Regards, Piotr Milewski

pmilewsk avatar Apr 08 '19 13:04 pmilewsk

Hi Timo, I've tried to use

resource "google_compute_global_address" "default" {
  name = "global-appserver-ip"
}

(please refer to https://www.terraform.io/docs/providers/google/r/compute_global_address.htm ). However on my gcp instance I have an error: address is in different zone than cluster (I set default zone). I need more time for investigation.

waldekpi avatar May 06 '19 09:05 waldekpi