what is the difference between 169.254.169.254 and 168.63.129.16 IP in azure

Om Yadav 0 Reputation points
2024-12-26T06:01:27.9533333+00:00

what is the difference between 169.254.169.254 and 168.63.129.16 IP in azure. How are they related to each other

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,580 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Shikha Ghildiyal 1,245 Reputation points Microsoft Employee
    2024-12-26T06:27:30.89+00:00

    Hi Om Yadav,

    Thanks for reaching out to Microsoft Q&A.

    IP address 168.63.129.16 is a virtual public IP address that is used to facilitate a communication channel to Azure platform resources. Customers can define any address space for their private virtual network in Azure. Therefore, the Azure platform resources must be presented as a unique public IP address. This virtual public IP address facilitates the following operations:

    • Enables the VM Agent to communicate with the Azure platform to signal that it is in a "Ready" state.
    • Enables communication with the DNS virtual server to provide filtered name resolution to the resources (such as VM) that don't have a custom DNS server. This filtering makes sure that customers can resolve only the hostnames of their resources.
    • Enables health probes from Azure Load Balancer to determine the health state of VMs.
    • Enables the VM to obtain a dynamic IP address from the DHCP service in Azure.
    • Enables Guest Agent heartbeat messages for the PaaS role.

    Reference document- https://zcusa.951200.xyz/en-us/azure/virtual-network/what-is-ip-address-168-63-129-16

    IP address " 169.254.169.254" is related to IMDS (Azure Instance Metadata Service). IMDS is a rest API which is available at 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.

    Reference Document- https://zcusa.951200.xyz/en-us/azure-stack/user/instance-metadata-service?view=azs-2408

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


  2. UJTyagi-MSFT 390 Reputation points Microsoft Employee
    2024-12-26T10:52:25.06+00:00

    Hi @Om Yadav

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    The IP addresses 169.254.169.254 and 168.63.129.16 in Azure serve different purposes and have distinct functionalities.

    • The Ip Address 169.254.169.254 is used for Azure Instance Metadata Service (IMDS)
    • This service provides information about the running virtual machine instances that can be used to manage and configure them. It is a reserved IP address that allows virtual machines to query metadata about themselves without needing to go through the public internet.
    • For example, on a VM if you want to know about the SKU, storage, and network configurations of the VM, you may run the below command to know about VM metadata details. and the response would be in JSON format.
    Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -NoProxy -Uri "http://169.254.169.254/metadata/instance?api-version=2021-02-01" | ConvertTo-Json -Depth 64
    
    
    

    Note: Till now IMDS service is also responded on ip 168.63.129.16 along with 169.254.169.254 but from 1 July 2025 all the IMDS call on IP 168.63.129.16 will be blocked.

    Kindly refer the below link -

    https://techcommunity.microsoft.com/discussions/compute/azure-imds-instance-metadata-service-calls-to-168-63-129-16-blocked-after-july-1/4355715


    If the below answer addressed your query, please don’t forget to click "Accept the answer" and Up-Vote for the same, which might be beneficial to other community members reading this thread. And, if you have any further query do let us know.

    Thanks,

    Ujjawal Tyagi

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.