Using a VM as back-end-pool on a AFD

Nibbler 616 Reputation points
2021-08-17T07:10:08.127+00:00

Hello,

Im trying to add a VM to an Azure Front Door....

The typically steps for using a webapp does not apply. And it`s not possible to use the backend-host-type “public IP address” and then add the public IP of the VM.

Using the backend-host-type “custom host” and the public IP of the VM only give a page saying “

Our services aren't available right now
We're working to restore all services as soon as possible. Please check back soon.
0c2AbYQAADFETHHSYU3eu1ID7LsRlJBRURHRTEwMTcAOTgSDFODYtYzUwNi00MjNhLTg3MDctN2U2MWQ5NzY3MDRi

Lastly, unable to find any MS documentation on this, other then it should be possible.

Any good pointers in how this should be done?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
587 questions
{count} votes

Accepted answer
  1. GitaraniSharma-MSFT 47,696 Reputation points Microsoft Employee
    2021-08-17T11:01:48.487+00:00

    Hello @Nibbler ,

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

    Azure Front Door backends should be the public endpoint of your application backend.

    To configure an Azure VM as back-end-pool on Azure Front Door, you can do either of the following:

    1. Select Backend host type as Public IP address, select the correct subscription and add the NIC/Public IP of the VM which you want to add as the Backend host name.
    2. Select Backend host type as Custom host and add the FQDN/DNS name of the VM which has the Public IP address and application on it as the Backend host name.

    Since, you mentioned you cannot use the Backend host type “Public IP address”, you can use the second option to configure your VM behind the AFD.

    To create a FQDN on your VM, you can refer the below article:
    https://learn.microsoft.com/en-us/azure/virtual-machines/create-fqdn

    Then add that FQDN to the AFD as a custom host backend type.

    Kindly let us know if the above helps or you need further assistance on this issue.

    ----------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" below if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful