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 |
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.
For more information on how to access the load balancer metadata, see Use Azure Instance Metadata Service to access load balancer information.
For more information on common error codes and their mitigation methods, see Troubleshoot common error codes when using IMDS.
If you're unable to retrieve a metadata response after multiple attempts, create a support issue in the Azure portal.
Learn more about Azure Instance Metadata Service