Use Elastic IPs for the various instances
Closed this issue · 1 comments
hferentschik commented
If Elastic IPs are used for each instance, the whole cluster can be stopped and restarted without any issues. This allows to create the cluster once and only start it when needed.
Atm, a restart of the cluster leads new IPs getting assigned to the instances, making it hard to ssh into the machine and even worse breaking the public route of the master.
Since aws_eip does not have a public DNS attribute (see hashicorp/terraform-provider-aws#1149) and since the DNS attribute of the instance does not get updated once the Elastic IP is assigned, one needs for now to remove the use of public DNS names of the nodes. This does not have any impact on the functionality of the cluster though.
dwmkerr commented
Just merged into master
now!