Skip to content

Files

Latest commit

5def238 · May 24, 2022

History

History
41 lines (27 loc) · 1.91 KB

instance-metadata-service-load-balancer.md

File metadata and controls

41 lines (27 loc) · 1.91 KB
title titleSuffix description services author ms.service ms.topic ms.date ms.author
Retrieve load balancer information by using Azure Instance Metadata Service
Azure Load Balancer
Get started learning about using Azure Instance Metadata Service to retrieve load balancer information.
load-balancer
greg-lindsay
load-balancer
conceptual
02/12/2021
greglin

Retrieve load balancer information by using Azure Instance Metadata Service

IMDS (Azure Instance Metadata Service) provides information about currently running virtual machine instances. The service is a REST API that's available at a well-known, non-routable IP address (169.254.169.254).

When you place virtual machine or virtual machine set instances behind an Azure Standard Load Balancer, you can use IMDS to retrieve metadata related to the load balancer and the instances.

The metadata includes the following information for the virtual machines or virtual machine scale sets:

  • Standard SKU public IP.
  • Inbound rule configurations of the load balancer of each private IP of the network interface.
  • Outbound rule configurations of the load balancer of each private IP of the network interface.

Access the load balancer metadata using IMDS

For more information on how to access the load balancer metadata, see Use Azure Instance Metadata Service to access load balancer information.

Troubleshoot common error codes

For more information on common error codes and their mitigation methods, see Troubleshoot common error codes when using IMDS.

Support

If you're unable to retrieve a metadata response after multiple attempts, create a support issue in the Azure portal.

Next steps

Learn more about Azure Instance Metadata Service

Deploy a standard load balancer