I want to setup a DB cluster with two VMs in a single cloud service. My DB (Couchbase) requires being able to reference the other nodes by IP address or hostname. Since VMs change their IP everytime they restart I can't use that, and as far as I can tell
hostname is the same for both VMs in a cloud service. But the Azure docs mention Azure provided name resolution (here https://msdn.microsoft.com/en-us/library/azure/jj156088.aspx). I can't find any information on how this service works, or how I find the permanent
hostnames it assigns to my VMs within a cloud service. Is there anyway to find one VM from another within a cloud service that persists across restarts?
↧