Azure front door not working with. private link service created by internal load balancer

akash warkhade 26 Reputation points
2022-10-26T08:07:30.75+00:00

Hi all,

I have integrated private link service with internal load balancer and then integrate that private link service with front door service using below documentations :

https://blog.baeke.info/2022/06/09/azure-kubernetes-services-and-azure-private-link-integration/

https://learn.microsoft.com/en-us/azure/frontdoor/standard-premium/how-to-enable-private-link-internal-load-balancer

I am able to connect to my service using its private ip within vnet as shown below :

bash-5.1# kubectl get svc my-service  
NAME                  TYPE           CLUSTER-IP   EXTERNAL-IP              PORT(S)                      AGE  
my-service         LoadBalancer   10.0.130.5   10.3.5.246    80:32462/TCP,443:32547/TCP   5d21h  
bash-5.1# curl 10.3.5.246  
404 page not found  
bash-5.1# curl 10.3.5.246/service-name  
request should have bearer token headers or internal headers. no token/api keys/ad ingest key /internal headers are found  

But same is not happening when integrated private link service with front door service
when i try to curl front door service url its giving error below :

akashwarkhade % curl -i https://front-door-name-bjg2abbgc4hfaahp.z01.azurefd.net
HTTP/2 502
cache-control: no-store
content-length: 952
content-type: text/html
x-azure-ref: 0EOJYYwAAAADxJmfOsrcfTKvLVwax/bsCQk9NMDJFREdFMDgxNwA2NzgxNzMzMi1mZTkzLTRiZDgtOThhYS1kNGQxNDllZmY5NzQ=
x-cache: CONFIG_NOCACHE
date: Wed, 26 Oct 2022 07:30:24 GMT

<div>
<div>
<h2>Our services aren't available right now</h2>
<p>We're working to restore all services as soon as possible. Please check back soon.</p>
</div>
<div><span></span>
</div>
</div>

%

(note : i have updated frontdoor name in curl request for security)

PFB images for private link and front door config :

254243-imageedit-0-6024014126.png

254178-imageedit-1-9149225868.png

Please let me know what might be wrong

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
576 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.
463 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
402 questions
{count} votes