anaconda cluster and dynamic AWS ip address

141 Views Asked by At

I have set up a anaconda cluster with AWS ec2 following the guide on anaconda official website http://docs.continuum.io/anaconda-cluster/quickstart. Everything works perfect.

But if I stop the ec2 machine used by acluster manually and then restart that machine, everything broken, because the machine starts with another public ip address.

type in

acluster list clusters

can see the ip address of compute/head machines are still holding old ip address. Is there a way to update the machine ip address of the cluster AUTOMATICALLY? or convenient way to handle this?

1

There are 1 best solutions below

2
On BEST ANSWER

Right now, Anaconda Cluster does not support automatic updates of the IP addresses when you restart the EC2 instances. As we improve the library, we are considering handling reboots and automatic updating of IP addresses.

As a workaround, you can edit the ~/.acluster/clusters.d/your_cluster.yaml file and update the IP addresses manually.