Can an instance have a persistent network identity?

I have no idea how Yugabyte does leader election, but each instance knows its own allocation id thanks to an environment variable.

You may have noticed this possibly-interesting thread.