Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Dynamic IPs Google Cloud Platform #10

Open
timoei opened this issue Apr 8, 2019 · 2 comments
Open

Dynamic IPs Google Cloud Platform #10

timoei opened this issue Apr 8, 2019 · 2 comments

Comments

@timoei
Copy link

timoei commented Apr 8, 2019

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

@pmilewsk
Copy link
Contributor

pmilewsk commented Apr 8, 2019

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

@waldekpi
Copy link
Contributor

waldekpi commented May 6, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants