Multi-domain forwarding YARP setup in Azure hosting recommendations #1160
-
Which Azure service would you host YARP on to serve an unlimited number of custom domains? I have a multi-tenant SaaS hosted in an Azure App Service/Web App. I'd like to allow my users to just point their custom domains to my IP and thus use their tenants under their own domains; i.e. you set up yourdomain.com to point to my.azure.ip.address and you have your tenant available (there's some backend configuration connecting your tenant to your domain but that's not important here). To achieve this, I'm looking into putting a reverse proxy in front of the app to act as an entry point. This is to overcome the limitation of App Service where you have to explicitly add and validate custom domains, and only up to 500 is allowed. Formerly I used IIS Application Request Router on a Cloud Service to do this which works well but now I'm looking at newer technologies and thus into YARP. Given the above requirements, which Azure services would you use to host a YARP instance? I was looking around but in the end it seems to me that still only VMs and Cloud Services have this flexibility. Do you have any other recommendations? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I am not an expert on Azure's offerings - you may be better asking the question in their forums etc. |
Beta Was this translation helpful? Give feedback.
I am not an expert on Azure's offerings - you may be better asking the question in their forums etc.
At first glance, I'm wondering if Azure Container Instances would be a good choice. Host a linux container running YARP with a static external IP address, and then route from that to the relevant app service app?