Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1383

Azure Instance Metadata

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 4.0.52, FACT 3.14.17
    • Component/s: None
    • Environment:

      Windows and Linux instances deployed on Microsoft Azure

    • Template:
    • Acceptance Criteria:
      Hide

      Instance metadata on Azure instances (Azure VMs & Cloud Service Web/Worker Roles) are visible as facts in facter

      Show
      Instance metadata on Azure instances (Azure VMs & Cloud Service Web/Worker Roles) are visible as facts in facter
    • Team:
      Night's Watch
    • Story Points:
      3
    • Sprint:
      NW - 2021-03-03
    • CS Priority:
      Major
    • CS Frequency:
      3 - 25-50% of Customers
    • CS Severity:
      4 - Major
    • CS Business Value:
      5 - $$$$$$
    • CS Impact:
      Users of the Puppet Azure module do not have parity with the Puppet AWS module. They are forced to download a separate forge module to get this functionality.
    • Zendesk Ticket IDs:
      33658
    • Zendesk Ticket Count:
      1
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Hide
      Added the `az_metadata` fact which provides information about the currently running Microsoft Azure virtual machine instance. See the [Microsoft Azure instance metadata documentation](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service) for content information.
      Show
      Added the `az_metadata` fact which provides information about the currently running Microsoft Azure virtual machine instance. See the [Microsoft Azure instance metadata documentation]( https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service ) for content information.

      Description

      Microsoft has made instance level metadata available in a similar (but more limited) fashion as AWS.

      https://azure.microsoft.com/en-us/blog/what-just-happened-to-my-vm-in-vm-metadata-service/

      Instance metadata of AWS EC2 instances is already available: https://docs.puppetlabs.com/facter/1.7/core_facts.html#ec2ec2-instance-data

      Could this now be extended under Microsoft Azure? Instance meta data is published at the following URL for all Azure instances (Cloud Services Web/Worker roles and Azure VMs):

      http://169.254.169.254/metadata/v1/maintenance (for maintenance related data)
      http://169.254.169.254/metadata/v1/InstanceInfo (for instance information)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              luchian.nemes Luchian Nemes
              Reporter:
              pedrams Pedram Sanayei
              Votes:
              15 Vote for this issue
              Watchers:
              24 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support