Quantcast
Viewing all articles
Browse latest Browse all 12545

Obtaining instance metadata from within Azure VM

I am looking to create an image that requires the following information for use within the image either via linux shell scripts or Windows batch files.

  • Public IP Address and/or hostname (to configure JMX)
  • Instance ID
  • VM size (for application tuning)

Also need to know if I can pass any kind of data to the instance at creation time, such as where to download further configuration instructions.

Nutshell: I'm trying to translate an EC2 workflow to Azure. 


Viewing all articles
Browse latest Browse all 12545

Trending Articles