Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Networking with Azure

You're reading from   Hands-On Networking with Azure Build large-scale, real-world apps using Azure networking solutions

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher
ISBN-13 9781788998222
Length 276 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Mohamed Waly Mohamed Waly
Author Profile Icon Mohamed Waly
Mohamed Waly
Arrow right icon
View More author details
Toc

Table of Contents (10) Chapters Close

Preface 1. Azure Virtual Networks 101 FREE CHAPTER 2. Delving into Azure Virtual Networks 3. Azure Network for VMs 4. Network Connectivity Scenarios in Azure 5. Azure DNS 6. Azure Load Balancers 7. Azure Traffic Manager 8. Azure Application Gateway 9. Other Books You May Enjoy

Automating the tasks


Let's automate the manual tasks that have been implemented so far. All the automated tasks will be done for performance Traffic Manager; try to figure out how to use the other types.

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 the other parameters, you saw them earlier in the Traffic...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image