什么是 Azure 应用程序网关?What is Azure Application Gateway?

Azure 应用程序网关是一种 Web 流量负载均衡器,可用于管理 Web 应用程序的流量。Azure Application Gateway is a web traffic load balancer that enables you to manage traffic to your web applications. 传统负载均衡器在传输层(OSI 层 4 - TCP 和 UDP)进行操作,并基于源 IP 地址和端口将流量路由到目标 IP 地址和端口。Traditional load balancers operate at the transport layer (OSI layer 4 - TCP and UDP) and route traffic based on source IP address and port, to a destination IP address and port.

应用程序网关可以根据 HTTP 请求的其他属性(例如 URI 路径或主机头)进行路由决策。Application Gateway can make routing decisions based on additional attributes of an HTTP request, for example URI path or host headers. 例如,可以基于传入 URL 路由流量。For example, you can route traffic based on the incoming URL. 因此,如果 /images 在传入 URL 中,则可将流量路由到为映像配置的一组特定服务器(称为池)中。So if /images is in the incoming URL, you can route traffic to a specific set of servers (known as a pool) configured for images. 如果 /video 在 URL 中,则可将该流量路由到针对视频优化的另一个池中。If /video is in the URL, that traffic is routed to another pool that's optimized for videos.

imageURLroute

这种类型的路由称为应用程序层(OSI 层 7)负载均衡。This type of routing is known as application layer (OSI layer 7) load balancing. Azure 应用程序网关可以执行基于 URL 的路由等操作。Azure Application Gateway can do URL-based routing and more.

备注

Azure 为方案提供了一套完全托管的负载均衡解决方案。Azure provides a suite of fully managed load-balancing solutions for your scenarios.

  • 若要进行基于 DNS 的全局路由,并且在传输层安全性 (TLS) 协议终止(“SSL 卸载”)、每 HTTP/HTTPS 请求或应用程序层处理方面没有要求,请查看流量管理器If you are looking to do DNS based global routing and do not have requirements for Transport Layer Security (TLS) protocol termination ("SSL offload"), per-HTTP/HTTPS request or application-layer processing, review Traffic Manager.
  • 若要执行网络层负载均衡,请查看负载均衡器To do network layer load balancing, review Load Balancer.

端到端场景可从结合所需的解决方案中受益。Your end-to-end scenarios may benefit from combining these solutions as needed.

功能Features

若要了解应用程序网关功能,请参阅 Azure 应用程序网关功能To learn about Application Gateway features, see Azure Application Gateway features.

定价和 SLAPricing and SLA

有关应用程序网关定价信息,请参阅应用程序网关定价For Application Gateway pricing information, see Application Gateway pricing.

有关应用程序网关 SLA 信息,请参阅应用程序网关 SLAFor Application Gateway SLA information, see Application Gateway SLA.

新增功能What's new

若要了解 Azure 应用程序网关的新增功能,请参阅 Azure 更新To learn what's new with Azure Application Gateway, see Azure updates.

后续步骤Next steps

可以根据自己的需求和环境,使用 Azure 门户、Azure PowerShell 或 Azure CLI 创建测试性应用程序网关。Depending on your requirements and environment, you can create a test Application Gateway using either the Azure portal, Azure PowerShell, or Azure CLI.