Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Find instance ID from within VM

$
0
0

Hi,

My use case is: "I want to uniquely identify the machine on which my application is running."

To achieve this I currently use the MAC address, although since in Azure instances this is subject to changes it which may cause some issues.

I was wondering a way to can get the unique identifier for the VM I am running on from within the VM.

Thanks!





Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>