Presentation is loading. Please wait.

Presentation is loading. Please wait.

4/6/2019 6:34 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.

Similar presentations


Presentation on theme: "4/6/2019 6:34 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS."— Presentation transcript:

1 4/6/2019 6:34 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 4/6/2019 6:34 AM P4029 Leveraging Azure’s Instance Metadata for instance bootstrap and runtime Hariharan Jayaraman Senior Program Manager © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Beyond the VM!

4 APPLICATION CUSTOMIZATION
VM CUSTOMIZATION CLUSTER SETUP CONTAINER PLACEMENT CLOUD DETECTION RESOURCE MANAGEMENT CUSTOMER SUPPORT AGENT SERVER CONNECTION PLANNED MAINTENANCE NETWORK DISCOVERY APPLICATION TELEMETRY NETWORK SETUP

5 Challenges today All data regarding VM are behind an authenticated channel Customizations needs to be passed during creation Ability to know JIT information about maintenance events are not present Telemetry around your Apps doesn’t have a unique per VM identifier

6 What is Instance Metadata Service, and how can it help?

7 Instance Metadata Overview
Virtual Machine Information about the VMs’ Compute/Network/ upcoming maintenance REST Interface exposed to all Azure Resource Manager created VMs Only available to VM instance via non routable IP No additional auth needed to get VM information REST call on Instance Metadata Service

8 Instance Metadata quick look

9 Semantics… RESTful Supports both JSON and TEXT responses
Requires request headers Versioned Discoverable GET interface

10 So where can I use it ?

11 Cluster setup Which Racks are the VMs in ? FaultDomain
Call Metadata Service Learn more here -

12 Rack Aware Cassandra Demo

13 Support Call Contoso Service on the VM is not working
Information regarding VM and Network present in Metadata Service Need information regarding VM Size, image, version information etc … Call Metadata Service to get information for support

14 Support call demo

15 Managing planned downtime for your setup
Master Slave Application accessing database Maintenance

16 Leverage Scheduled Events
Scheduled Events is a part of Metadata Service in Azure Provides Just In Time information for upcoming planned maintenance RESTful call to know if there are upcoming maintenance events Get upto 15 min to do In VM actions before the action takes place

17 MySQL failover on reboot event

18 Where is it available?

19 Service Release Map Currently Available in Public Preview in West Central US Region Send us feedback.azure.com or We are working hard to meet Service goals and will make the service Generally available in the upcoming months

20 Learn More Metadata Service docs Scheduled Events docs
Scheduled Events docs

21 Code Samples Getting all the metadata
curl -H Metadata:true Getting publicIP for a VM curl -H Metadata:true

22 Github and samples Scheduled events logging
Cassandra node setup for rack awareness

23 What is in the Road Map? Some of the fields that we are working on for future releases … Fields Details SubscriptionID Azure Subscription the VM is under ResourceGroup Azure Resource Group the VM is under Custom_data Custom data associated with the VM Tags VM tags Plan information Azure Marketplace Virtual Machine plan sshpublic key Public key VM Storage information Disk layout information AccessTokens Managed Service Identity information via Metadata Want to see a new field send us feedback at feedback.azure.com

24 4/6/2019 6:34 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "4/6/2019 6:34 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS."

Similar presentations


Ads by Google