用于Web应用程序的Load Balancer [英] Load Balancer for web apps

查看:84
本文介绍了用于Web应用程序的Load Balancer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,

我在我的环境中创建了3个网络应用程序,现在我必须为这些网络应用程序配置loadbalancer。

I have created 3 web apps in my environment and Now I have to configure loadbalancer for that web apps.

我的网络应用程序在PAAS中运行。

My web apps are running in PAAS.

  website1.azurewebsites.net

 website1.azurewebsites.net

  website2.azurewebsites.net

 website2.azurewebsites.net

  website3.azurewebsites.net

 website3.azurewebsites.net

3个网络应用程序绑定到此类访问权限"www.ravikumar.com"

3 web apps are binding to access like this "www.ravikumar.com"

现在,我为此URL配置了appgw,其中包含一个公共IP地址和3个在后端池上运行的Web应用程序。

Now I configured appgw for this URL with one public IP address and 3 web apps running on back end pool.

但是当我为提到的URL创建自定义域时,我正在获取错误。我只能为一个网站创建自定义域名,如果我尝试在第二个网络应用程序中创建相同的自定义域名,我会收到"错误"。

But while i create the custom domain for mentioned URL,I am getting error. I am able to create custom domain for only one web,If I try to create same custom domain in 2nd web app I am getting "error".

请帮我继续。







谢谢&问候,

Ravikumar Porappan

Ravikumar Porappan

推荐答案

嗨Ravikumar,

Hi Ravikumar,

我实际上不确定您为什么要为每个网络应用创建自定义域名,请参阅以下文章以获取更多见解。

I'm not actually sure why you want to create a custom domain for each webapp, please refer to the below article for more insights.

在实际场景中,您可能希望在公共DNS中创建规范名称(CNAME)记录,并将其指向Application Gateway的公共IP地址。这样,
请求将直接发送给AG,网关将负责其余部分,以便在后台将请求重定向到Web应用程序。

https://4sysops.com/archives/creating-and-configuring-web-apps-behind-an-azure-application-gateway -using-powershell /#creating-application-gateway-prerequisites

和 

https://docs.microsoft.com/en-us/azure/application-gateway/create-网络应用 


这篇关于用于Web应用程序的Load Balancer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆