Deploying elastic from AMI results in duplicate ID

In AWS, I attempted to create a node then save it as an AMI. When testing deployment, the new node would not join the cluster, as it complained "a node with a different name but duplicate ID exists".

Obviously a side affect of cloning into an AMI, but is there a "formal" way of scrubbing an elasticsearch node so when deployed it can cleanly join a cluster?

The original plan was to build a coordinating node/kibana instance then put it behind an auto-scaling group .. but currently any node past the first will have issues.

Solved.

Turns out after testing I need to delete the data dir on the new AMI. Having existing data caused this issue.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.