Share via


中国版 Azure 现提供 Azure Traffic Manager

StephenMaloneAzure 网络 - DNS 和 Traffic Manager 高级项目经理

我们非常高兴地宣布,中国版 Azure 中现已提供 Azure Traffic Manager。Azure Traffic Manager 是一种流量管理解决方案,可促进部署到 Azure 或/和内部部署的应用程序的弹性、性能和可伸缩性。中国版 Azure Traffic Manager 是一项正式发布的服务,可通过 Azure 门户、Azure 服务管理 API 和 PowerShell 进行管理。

Azure Traffic Manager 是什么?

Azure Traffic Manager 是基于 DNS 的流量管理解决方案,功能包括端点监控、故障检测以及自动将流量重新路由至您应用程序内正常运行的节点。

通过 Azure Traffic Manager 配置文件,您能够定义一套端点并控制流量流至这些端点的方式。可以对配置文件进行配置,将请求路由至最近的端点、在端点列表内进行故障转移或者将流量平均路由至所有端点。所有配置文件均支持持续的端点监控、故障检测和自动将流量重新路由至正常运行的端点。

配置文件包含的端点可以是云服务(包括 web role/worker role 和 IaaS VM)、Azure 网站和外部端点,所有端点在同一配置文件中一视同仁。这样,流量就可以在多个 Azure 区域或在 Azure 部署和内部部署之间进行全局分配。

有关 Azure Traffic Manager 的更多信息,请单击此处;有关外部端点的其他信息,请单击此处

借助 Azure Traffic Manager 在广度和深度上扩展中国版 Azure

中国版 Azure 托管的 Azure Traffic Manager配置文件支持将托管在国际版Azure中的云服务作为外部端点对待。同样,国际版 Azure 中的 Azure Traffic Manager 配置文件支持将托管在中国版Azure中的端点作为外部端点对待。这样,全球应用程序可以提高其在中国的可用性和性能,而中国版应用程序可以通过利用 Azure 的全球规模来扩大自身影响范围。

中国版 Azure 的 Azure Traffic Manager 入门

要开始使用 Azure PowerShell,请参阅如何安装和配置 Azure PowerShell

配置中国版 Azure 的 PowerShell

使用“Get-AzurePublishSettingsFile”cmdlet,启动 Windows Azure PowerShell,并连接到您的中国版 Azure 订阅:

PS C:\> Get-AzurePublishSettingsFile -Environment AzureChinaCloud

在中国版 Azure 中创建新的 Azure Traffic Manager 配置文件

下面的示例在中国版 Azure 中创建了一个新的 Traffic Manager 配置文件,向其添加两个端点,并将结果提交到 Azure:

PS C:\> $profile = New-AzureTrafficManagerProfile -Name "MyProfile" -DomainName "myprofile.trafficmanager.cn" -LoadBalancingMethod "RoundRobin" -Ttl 30 -MonitorProtocol "Http" -MonitorPort 80 -MonitorRelativePath "/"

PS C:\> $profile = Add-AzureTrafficManagerEndpoint -TrafficManagerProfile $profile -DomainName "app-chinanorth.chinacloudapp.cn" -Status "Enabled" -Type "CloudService"

PS C:\> $profile = Add-AzureTrafficManagerEndpoint -TrafficManagerProfile $profile -DomainName "app-chinaeast.chinacloudapp.cn" -Status "Enabled" -Type "CloudService"

PS C:\> Set-AzureTrafficManagerProfile –TrafficManagerProfile $profile

常见问题

中国版 Azure 中的 Azure Traffic Manager 花费是多少?

有关中国版 Azure 中的 Azure Traffic Manager 的定价,请单击此处

中国版 Azure 中的 Azure Traffic Manager SLA 是什么?

Azure Traffic Manager 对中国版 Azure 支持与国际版 Azure 相同的 SLA。相关信息可以查看这里

 

本文翻译自:https://azure.microsoft.com/blog/2014/10/08/azure-traffic-manager-in-azure-in-china/