Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
---
title: Retrieve load balancer and virtual machine IP information by using Azure Instance Metadata Service
titleSuffix: Azure Load Balancer
description: Get started learning about using Azure Instance Metadata Service to retrieve load balancer information.
services: load-balancer
author: mbender-ms
ms.service: azure-load-balancer
ms.topic: concept-article
ms.date: 06/26/2024
ms.author: mbender
# Customer intent: "As a cloud infrastructure engineer, I want to retrieve load balancer and virtual machine IP information using the Instance Metadata Service, so that I can efficiently manage and troubleshoot my virtual machine instances behind the load balancer."
---
# 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.
The metadata includes the following information for the virtual machines or virtual machine scale sets:
* The instance level Public or Private IP of the specific Virtual Machine instance
* 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](howto-load-balancer-imds.md).
## Troubleshoot common error codes
For more information on common error codes and their mitigation methods, see [Troubleshoot common error codes when using IMDS](troubleshoot-load-balancer-imds.md).
## 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](/azure/virtual-machines/windows/instance-metadata-service)
[Deploy a standard load balancer](quickstart-load-balancer-standard-public-portal.md)