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 - วิทยาศาสตร์และเทคโนโลยี
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*
Very useful. I never thought VMs could see their Azure metadata
Nice explanation. Looking forward to trying it out. :)
This is fascinating, thanks John! Looks very useful.
Very useful..Thank you John
So impressive! Much better explanation than Microsoft Azure MSDN channel
Great content, just watching old videos with useful information! :)
Lol it’s not that old
Awesome!
Thank you.
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?
This is for VM only in terms of support. Other services run on VMs but likely not exposed. No scheduled event in the guest.
@@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.
@@FalcoPunch182 no but you don't need it. azure backup calls vss etc to make app consistent.