O'Reilly logo

Hands-On Networking with Azure by Mohamed Waly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Traffic Manager profile using Azure PowerShell

Creating the Traffic Manager profile using PowerShell is slightly different than the portal, because with PowerShell you need to specify some additional configurations. You can do so by running the following cmdlet:

New-AzureRmTrafficManagerProfile -Name PacktProfile -ResourceGroupName PacktPub -TrafficRoutingMethod Performance -RelativeDnsName Packt -Ttl 30 -MonitorProtocol HTTP -MonitorPort 80 -MonitorPath "/"

You can see that there is Name and RelativeDnsName. The difference between them is that the Name is the displayed name for the Traffic Manager, but RelatvieDnsName is the portion of the hostname that makes the following FQDN: http://packt.trafficmanager.net

With respect to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required