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.

(SDD408) Amazon Route 53 Deep Dive: Delivering Resiliency, Minimizing Latency | AWS re:Invent 2014

41,773 views

Published on

Learn how to utilize Amazon Route 53 latency-based routing, weighted round-robin, and other features in conjunction with DNS failover to direct traffic to the least latent, most available endpoints across a global infrastructure. We explore topics such as balancing traffic between endpoints in terms of load and latency, and discuss how to provide multi-record answers to improve client-side resiliency. As part of this session, Loggly will present how they utilize Route 53 for their traffic management needs.

Published in: Technology

(SDD408) Amazon Route 53 Deep Dive: Delivering Resiliency, Minimizing Latency | AWS re:Invent 2014

  1. 1. 00:00 00:30 05:30 06:30 07:30 00:00 00:30 00:31 01:31
  2. 2. health health + weight
  3. 3. health health + weight
  4. 4. health health + weight
  5. 5. health health + weight
  6. 6. Record Type HealthCheck Value Weight reinv.net ALIAS (EvaluateTarget) prod.reinv.net 100 reinv.net ALIAS reinv-fail.s3-website 0 prod.reinv.net ALIAS (EvaluateTarget) prod-1.elb 50 prod.reinv.net ALIAS (EvaluateTarget) prod-2.elb 50
  7. 7. A/B deployment prod-1 prod-2 Staging Production reinv.net software
  8. 8. DNS wave deployments Wave 1 Staging environment Production Wave i Wave j . . . Wave k . . . Wave n-1 Wave n Edge location Edge location Stripe 1 Stripe 4
  9. 9. API deployments Customer fleet (1/2) Batch fleet (1/2) Operations fleet (1/2) Operations fleet Batch fleet Customer fleet Wave 1 Staging environment Production Customer fleet (2/2) Batch fleet (2/2) Operations fleet (2/2) Wave 2 Wave 3 Wave 4 Wave 5
  10. 10. Host A? Host B? Host A Host B Host A Host B? Host B Host A Host B Record Type Health Value Failover host-a A 198.51.100.3 host-b A 203.0.113.53 both A 198.51.100.3 203.0.113.53 a-healthy ALIAS Host B? both Primary a-healthy ALIAS None host-a Secondary a-unhealthy ALIAS Host B? host-b Primary a-unhealthy ALIAS None both Secondary api ALIAS Host A? a-healthy Primary api ALIAS None a-unhealthy Secondary https://github.com/awslabs/route53-infima
  11. 11. prod-1 load < 50%? prod-2 load < 50%? weight weight prod-1 load < 90%? weight prod-2 load < 50%? weight weight
  12. 12. prod-1 load < 50%? prod-2 load < 50%? weight weight prod-1 load < 90%? weight prod-2 load < 50%? weight weight Record Name Type Value Weight 50-50.stacks ALIAS prod-1 50 50-50.stacks ALIAS prod-2 50 Record Comment Type Health Check Value Weight p1lt50 P1 < 50 ALIAS prod-2load < 50% 50- 50.stacks 100 p1lt50 P1 < 50 ALIAS None 60- 40.stacks 0
  13. 13. Record Name Type HealthCheck Value Weight 50-50.stacks ALIAS prod-1 50 50-50.stacks ALIAS prod-2 50 … p1lt50 ALIAS prod-2load < 50% 50-50.stacks 100 p1lt50 ALIAS None 60-40.stacks 0 … p1ge50 ALIAS prod-1 load < 90% p1ge50-p1lt90 100 p1ge50 ALIAS None p1ge50-p1ge90 0 … www ALIAS prod1-load < 50% p1lt50-p2lt50 100 www ALIAS None p1ge50-p1lt90 0
  14. 14. Collector Collector Collector Loggly Pipeline
  15. 15. Collector Collector Collector Loggly Pipeline
  16. 16. health + Geo health + LBR health
  17. 17. health + Geo health + LBR health
  18. 18. http://www.awsarchitectureblog.com https://github.com/awslabs/route53-infima
  19. 19. 00:00 00:30 00:31 00:32 01:31 00:00 00:30 00:31 00:32
  20. 20. Record Name Type Value Weight *.api ALIAS prod-1 50 *.api ALIAS prod-2 50
  21. 21. Please give us your feedback on this session. Complete session evaluations and earn re:Invent swag. http://bit.ly/awsevals
  22. 22. 00:00 00:30 05:30 06:30 07:30
  23. 23. 00:00 00:30 00:31 00:32 01:31

×