Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Microsoft Azure Traffic Manager


Published on

The Microsoft Azure Traffic Manager provides global DNS load balancing methods of distributing internet traffic among two or more endpoints (for example: Virtual Machines or WebApps ) on a different cloud services that could be located on a different regions, all accessible with the same URL, in one or more Microsoft Azure datacenters around the world.
In this session I will explain about the different methods, I will show you how to configure the Traffic Manager and I will present a little demo.
At the end of this session you'll be able to provide better Performance, Redundancy and HA to your servers and/or web applications by using the Microsoft Azure Traffic Manager.

Published in: Technology
  • Be the first to comment

Microsoft Azure Traffic Manager

  1. 1. © Copyright SELA Software & Education Labs Ltd. | 14-18 Baruch Hirsch St Bnei Brak, 51202 Israel | SELA DEVELOPER PRACTICE DECEMBER 20-24, 2015 Ido Katz, Microsoft Azure MVP Senior Cloud Infrastructure Consultant Sela Group Azure Traffic Manager Mail: Blog: Twitter: @send2katz
  2. 2. Agenda Moving to the cloud Some basics Why do we need Load Balancer What is Azure Traffic Manger Round Robin Profile Failover Clustering Profile Demo Performance Profile Demo Other Cloud Solutions Cloud-based CDN/ADCs
  3. 3. Moving to the cloud:
  4. 4. Some Basics: Cloud Service: • Grants a public IP and DNS per CS. • Contains your Virtual Machines(VMs) Virtual Machine: • Hosts your service/application • Multiple VMs can be under one cloud service.
  5. 5. Why do we need Load Balancer Load balancing, by its very nature, is the solution for more than one problem such as: 1. Traffic Redundancy 2. BCP Failover 3. User Experience
  6. 6. What is Azure Traffic Manager Three Load Balancing Algorithms Performance, Round Robin, Fail Over Map your domain name to with CNAME -> Map cloud service URLs in global data centers to Traffic Manager Profile. Built in HTTP Health Probes for High Availability Can be used outside Azure (For example: Your “On Premise”)
  7. 7. Round Robin Profile Traffic Manager returns IPs in a round robin fashion regardless of client location.
  8. 8. Failover Clustering Profile X Traffic Manager always returns the IP address of the primary cloud service unless it fails a health check.
  9. 9. Demo Failover Clustering
  10. 10. Performance Profile Traffic Manager determines fastest route for the client and returns IP for the appropriate cloud service.
  11. 11. Demo Performance
  12. 12. PowerShell Demo Add the azure account to PowerShell Add-azureaccount Choose the correct subscription Select-AzureSubscription
  13. 13. PowerShell Demo Create a new azure traffic manager with the following properties: Name: SDP-TM-Performance Domain Name: Load Balancing method: Performance Monitor Protocol: Http Monitor Port: 80 Relative path to monitor: /iis85.jpg TTL: 30 Seconds
  14. 14. PowerShell Demo New-AzureTrafficManagerProfile -Name "SDP-TM- Performance" -DomainName "SDP-TM-" - LoadBalancingMethod "Performance" - MonitorProtocol "Http" -MonitorPort 80 - MonitorRelativePath "/iis85.jpg" -Ttl 30
  15. 15. PowerShell Demo Create a variable named "TMProfile" to contain the information about the Traffic manager profile we created. $TMProfile = Get-AzureTrafficManagerProfile - name "SDP-TM-Performance"
  16. 16. PowerShell Demo Use the variable in order to add our first and second endpoints to the traffic manager, plus saving them using the "Set- AzureTrafficManagerProfile" cmdlet Add-AzureTrafficManagerEndpoint - TrafficManagerProfile $TMProfile -DomainName "SDP-" -Status "Enabled" -Type "CloudService" | Set-AzureTrafficManagerProfile Add-AzureTrafficManagerEndpoint - TrafficManagerProfile $TMProfile -DomainName "SDP-" -Status "Enabled" -Type "CloudService" | Set-AzureTrafficManagerProfile
  17. 17. PowerShell Demo How it all looks: New-AzureTrafficManagerProfile -Name "SDP-TM-Performance" - DomainName "" - LoadBalancingMethod "Performance" -MonitorProtocol "Http" - MonitorPort 80 -MonitorRelativePath "/iis85.jpg" -Ttl 30 $TMProfile = Get-AzureTrafficManagerProfile -name "SDP-TM- Performance" Add-AzureTrafficManagerEndpoint -TrafficManagerProfile $TMProfile -DomainName "" -Status "Enabled" -Type "CloudService" | Set-AzureTrafficManagerProfile Add-AzureTrafficManagerEndpoint -TrafficManagerProfile $TMProfile -DomainName "" -Status "Enabled" -Type "CloudService" | Set-AzureTrafficManagerProfile
  18. 18. Other Clouds Solution: AWS • No single solution – combination of Route 53(DNS) and Elastic load balancing. • Cannot be used for services not covered by AWS Google Cloud • No actual solution: Http(s) Load Balancing or Region Load balancing. • Cannot be used for services not covered by Google Cloud-based CDNs/ADCs: • Cloudflare – Performance based only. No actual load balancing • Incapsula – Failover, performance, Round-robin • Akamai – Failover, performance, weighted
  19. 19. In this session we learned: 1. You learned the basics of the cloud. 2. What is Load Balancer 3. What is Azure Traffic Manager 4. What kind of profiles I can use with Traffic Manager. 5. What is the differences between other cloud service providers in terms of load balancing.
  20. 20. Online documentation Channel 9 - Azure/How-Azure-Traffic-Manager-WorksMSDN Demos - Show-86-Windows-Azure-Traffic-Manager-Demos Microsoft Azure - us/documentation/articles/traffic-manager- overview/
  21. 21. Questions