Does anyone know of a tool like (something like, not identical)
GitHub - seatgeek/resec: ReSeC- Redis Service Consul
but for a generic purpose of being able to get a serially increasing number for machines inside an AWS ASG.
The end goal is that every new machine in a ASG will try to “lock” a certain key and try to acquire an integer. This integer will become the Nth identity of the machine.
If the AWS ASG has EC2 health checks then when this machine reboots, it could potentially “release” this number from the KV and try to “reacquire” a new number after reboot.
I did find this:
Any ideas/help for this use case would be helpful.
Also, within the AWS ASG I have Nomad agents as well, which will leverage the id (which can be saved as “meta”)