您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

什么是流量管理器?What is Traffic Manager?

Azure 流量管理器是一种基于 DNS 的流量负载均衡器,可以在全球 Azure 区域内以最佳方式向服务分发流量,同时提供高可用性和响应性。Azure Traffic Manager is a DNS-based traffic load balancer that enables you to distribute traffic optimally to services across global Azure regions, while providing high availability and responsiveness.

流量管理器根据流量路由方法和终结点的运行状况,使用 DNS 将客户端请求定向到最合适的服务终结点。Traffic Manager uses DNS to direct client requests to the most appropriate service endpoint based on a traffic-routing method and the health of the endpoints. 终结点可以是托管在 Azure 内部或外部的任何面向 Internet 的服务。An endpoint is any Internet-facing service hosted inside or outside of Azure. 流量管理器提供多种流量路由方法终结点监视选项来满足不同的应用程序需求和自动故障转移模型。Traffic Manager provides a range of traffic-routing methods and endpoint monitoring options to suit different application needs and automatic failover models. 流量管理器能够灵活应对故障,包括整个 Azure 区域的故障。Traffic Manager is resilient to failure, including the failure of an entire Azure region.

备注

Azure 为方案提供了一套完全托管的负载均衡解决方案。Azure provides a suite of fully managed load-balancing solutions for your scenarios. 若要寻求传输层安全性 (TLS) 协议终止(“SSL 卸载”)或每个 HTTP/HTTPS 请求的应用层处理,请查看应用程序网关If you are looking for Transport Layer Security (TLS) protocol termination ("SSL offload") or per-HTTP/HTTPS request, application-layer processing, review Application Gateway. 如果想要实现区域负载均衡,请查看负载均衡器If you are looking for regional load balancing, review Load Balancer. 端到端场景可从结合所需的解决方案中受益。Your end-to-end scenarios might benefit from combining these solutions as needed.

流量管理器提供了以下功能:Traffic Manager offers following features:

提高应用程序可用性Increase application availability

流量管理器可以监视终结点,在终结点发生故障时提供自动故障转移,实现关键应用程序的高可用性。Traffic Manager delivers high availability for your critical applications by monitoring your endpoints and providing automatic failover when an endpoint goes down.

改善应用程序性能Improve application performance

在 Azure 中,可以运行位于世界各地的数据中心内的云服务或网站。Azure allows you to run cloud services or websites in datacenters located around the world. 流量管理器通过将流量定向到客户端网络延迟最低的终结点,改进应用程序的响应能力。Traffic Manager improves application responsiveness by directing traffic to the endpoint with the lowest network latency for the client.

在不停机的情况下执行服务维护Perform service maintenance without downtime

无需停机即可在应用程序上执行计划内的维护操作。You can perform planned maintenance operations on your applications without downtime. 当维护正在进行时,流量管理器可以将流量定向到备用终结点。Traffic Manager can direct traffic to alternative endpoints while the maintenance is in progress.

组合混合应用程序Combine hybrid applications

流量管理器支持外部非 Azure 终结点,因此可以用于混合云部署和本地部署,包括“云爆发”、“云迁移”和“云故障转移”方案。Traffic Manager supports external, non-Azure endpoints enabling it to be used with hybrid cloud and on-premises deployments, including the "burst-to-cloud," "migrate-to-cloud," and "failover-to-cloud" scenarios.

分发复杂部署的流量Distribute traffic for complex deployments

使用嵌套式流量管理器配置文件,可以组合使用多种流量路由方法来创建复杂、灵活且可缩放的规则来满足更大、更复杂部署的需求。Using nested Traffic Manager profiles, multiple traffic-routing methods can be combined to create sophisticated and flexible rules to scale to the needs of larger, more complex deployments.

定价Pricing

有关定价信息,请参阅流量管理器定价For pricing information, see Traffic Manager Pricing.

后续步骤Next steps