Azure Instance MetaData Service - Find out Azure information from within guest OS!

แชร์
ฝัง
  • เผยแพร่เมื่อ 31 ก.ค. 2024
  • In this video we explore the Instance MetaData Service (IMDS) as a way from within a guest OS in an Azure VM find information about the Azure fabric and even maintenance events.
    My sample code is at github.com/johnthebrit/Random....
    00:00 Introduction
    02:09 Instance MetaData Service overview
    05:03 Using the IMDS
    09:30 Getting specific information using IMDS
    10:49 Using and setting userData
    17:18 Schedule event data
    18:24 Summary and close
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 15

  • @SteveBonds
    @SteveBonds 3 ปีที่แล้ว +1

    I think my head just exploded. There are so many possible ways for this to be useful for people managing VMs in Azure it's overwhelming.
    What is my resource ID? What are my managed disk IDs? Are they premium disk? What image was used to create me? Who manages me? Where am I located?
    *BOOM*

  • @tumelomotsikelane
    @tumelomotsikelane 3 ปีที่แล้ว +1

    Very useful. I never thought VMs could see their Azure metadata

  • @craigmcgrath4289
    @craigmcgrath4289 ปีที่แล้ว

    Nice explanation. Looking forward to trying it out. :)

  • @iamdedlok
    @iamdedlok 3 ปีที่แล้ว

    This is fascinating, thanks John! Looks very useful.

  • @anyaroyal5227
    @anyaroyal5227 ปีที่แล้ว

    Very useful..Thank you John

  • @eugenekim1861
    @eugenekim1861 3 ปีที่แล้ว

    So impressive! Much better explanation than Microsoft Azure MSDN channel

  • @christianibiri
    @christianibiri 2 ปีที่แล้ว

    Great content, just watching old videos with useful information! :)

    • @NTFAQGuy
      @NTFAQGuy  2 ปีที่แล้ว +2

      Lol it’s not that old

  • @andrewtwigg
    @andrewtwigg 3 ปีที่แล้ว

    Awesome!

  • @BijouBakson
    @BijouBakson 2 ปีที่แล้ว

    Thank you.

  • @FalcoPunch182
    @FalcoPunch182 3 ปีที่แล้ว

    Two questions regarding this great feature: does the request to this IP also work from Azure App Serives? And: will there also show up a scheduled event when a VM will be updated?

    • @NTFAQGuy
      @NTFAQGuy  3 ปีที่แล้ว

      This is for VM only in terms of support. Other services run on VMs but likely not exposed. No scheduled event in the guest.

    • @FalcoPunch182
      @FalcoPunch182 3 ปีที่แล้ว

      @@NTFAQGuy sorry not updated. I meant if there is a scheduled event when the VM will be backed up via Azure Backup. This would make it easier getting to application consistent backup states.

    • @NTFAQGuy
      @NTFAQGuy  3 ปีที่แล้ว

      @@FalcoPunch182 no but you don't need it. azure backup calls vss etc to make app consistent.