Any easier way to test private endpoint than deploying a VM?

Najam ul Saqib 340 Reputation points
2024-09-11T13:04:14.0133333+00:00

Hi,Whenever I create a private endpoint on Azure, I need to test it of whether or not its resolving to the private IP address, but the only method I know is deploying a VM in the same VNet and then pinging it. Is there any easier (quicker) method? Can we do it via cloud shell or something?

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,509 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
516 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 47,046 Reputation points Microsoft Employee
    2024-09-13T06:14:50.69+00:00

    @Najam ul Saqib ,

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

    I understand that you would like to test connectivity to a PE in a Virtual Network without having to deploy a VM in it.

    I am afraid there are no such methods.

    The main intention of having a Private EndPoint is to provide access to PaaS Services from VMs and OnPrem servers via VPN /ExR (Private Network)

    • I tried to do a Lab with NSG diagnostics, but it failed with the error "NetworkInterfaceNotAssociatedToVm"
    • So we have to deploy a testVM to test connectivity

    Hope this clarifies

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.


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.