nauta
nauta copied to clipboard
Dynamic IPs Google Cloud Platform
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
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
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.