Edit

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, nonroutable 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.

IMDS returns load balancer metadata for the VM instance, including its public or private IP address and its inbound and outbound rule configurations. For the detailed field-level schema, see the schema breakdown.

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 support and troubleshooting resources, see Support and troubleshooting for Azure Load Balancer.

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