什么是 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.

Note

Azure 为方案提供了一套完全托管的负载均衡解决方案。Azure provides a suite of fully managed load-balancing solutions for your scenarios. 如需高性能、低延迟的 4 层负载均衡,请参阅什么是 Azure 负载均衡器?If you need high-performance, low-latency, Layer-4 load balancing, see What is Azure Load Balancer? 如果正在查找全局 DNS 负载均衡,请查看什么是流量管理器?If you're looking for global DNS load balancing, see What is Traffic Manager? 端到端场景可从结合这些解决方案中受益。Your end-to-end scenarios may benefit from combining these solutions.

功能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.

后续步骤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.