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

Post on 29-Jun-2015

5.117 views 4 download

Tags:

description

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.

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

00:00 00:30 05:30 06:30 07:30

00:00 00:30 00:31 01:31

health

health

+

weight

health

health

+

weight

health

health

+

weight

health

health

+

weight

Record Type Health Check 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

A/B deployment

prod-1prod-2

Staging Production

reinv.net

software

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

API deployments

Customer

fleet (1/2)

Batch fleet

(1/2)

Operations

fleet (1/2)Operations

fleetBatch fleet

Customer

fleet

Wave 1

Staging environment

ProductionCustomer

fleet (2/2)

Batch fleet

(2/2)

Operations

fleet (2/2)

Wave 2

Wave 3 Wave 4 Wave 5

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 ALIA

S

Host B? both Primary

a-healthy ALIA

S

None host-a Secondary

a-unhealthy ALIA

S

Host B? host-b Primary

a-unhealthy ALIA

S

None both Secondary

api ALIA

S

Host A? a-healthy Primary

api ALIA

S

None a-unhealthy Secondaryhttps://github.com/awslabs/route53-infima

prod-1

load <

50%?

prod-2

load <

50%?

weight

weight

prod-1

load <

90%?

weight

prod-2

load <

50%?

weight

weight

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 Weigh

t

p1lt50 P1 < 50 ALIAS prod-2 load <

50%

50-

50.stacks

100

p1lt50 P1 < 50 ALIAS None 60-

40.stacks

0

Record Name Type Health Check Value Weight

50-50.stacks ALIAS prod-1 50

50-50.stacks ALIAS prod-2 50

p1lt50 ALIAS prod-2 load < 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

CollectorCollector Collector

Loggly Pipeline

CollectorCollector Collector Collector

Loggly Pipeline

health +

Geo

health +

LBR

health

health +

Geo

health +

LBR

health

http://www.awsarchitectureblog.com

https://github.com/awslabs/route53-infima

00:00 00:30 00:31 00:32 01:31

00:00 00:30 00:31 00:32

Record Name Type Value Weight

*.api ALIAS prod-1 50

*.api ALIAS prod-2 50

Please give us your feedback on this session.

Complete session evaluations and earn re:Invent swag.

http://bit.ly/awsevals

00:00 00:30 05:30 06:30 07:30

00:00 00:30 00:31 00:32 01:31