Making decisions today for tomorrow's technology—from DNS to AWS Direct Connect, ELBs to ENIs, VPCs to VPNs, the Cloud Network Engineering team at Netflix are resident subject matter experts for a myriad of AWS resources. Learn how a cross-functional team automates and manages an infrastructure that services over 125 million customers while evaluating new features that enable us to continue to grow through our next 100 million customers and beyond.
7. RE:INVENT 2018
NET-312
Amazon EC2 Classic VPC
Zone 1
Region
AWS Cloud
Zone 2 Zone 3 Zone 1 Zone 2 Zone 3
Public Public Public
Private Private Private
NAT Gateway NAT Gateway NAT Gateway
8. RE:INVENT 2018
NET-312
Amazon EC2 Classic VPC
Zone 1
Region
AWS Cloud
Zone 2 Zone 3 Zone 1 Zone 2 Zone 3
Public Public Public
Private Private Private
NAT Gateway NAT Gateway NAT Gateway
14. RE:INVENT 2018
NET-312
Bidirectional private IP
communication
Security group
references
No bandwidth
constraints
Internet
VPC peering
AWS Direct
Connect
●Inter-VPC communication
15. RE:INVENT 2018
NET-312
Bidirectional private IP
communication
Security group
references
No bandwidth
constraints
Internet
VPC peering
AWS Direct
Connect
●Inter-VPC communication
52. RE:INVENT 2018
NET-312
IP isolation Shared security
groups
AWS API isolation Max number of IPs
Co-tenant ~98K shared
Dedicated subnet ~196K
●Titus network options
53. RE:INVENT 2018
NET-312
IP isolation Shared security
groups
AWS API isolation Max number of IPs
Co-tenant ~98K shared
Dedicated subnet ~196K
Dedicated VPC ~295K
●Titus network options
54. RE:INVENT 2018
NET-312
IP isolation Shared security
groups
AWS API isolation Max number of IPs
Co-tenant ~98K shared
Dedicated subnet ~196K
Dedicated VPC ~295K
Dedicated account ~295K
●Titus network options
58. RE:INVENT 2018
NET-312
Auto Scaling group
Auto Scaling group State
Eureka
In service
Out of service
Foo
Bar v0
Bar v1
Where is bar?
●DNS service discovery
59. RE:INVENT 2018
NET-312
Auto Scaling group
Auto Scaling group State
Eureka
Out of service
In service
Foo
Bar v0
Bar v1
Where is bar?
●DNS service discovery
61. RE:INVENT 2018
NET-312
Eureka Amazon Route53
Sync State
Foo
Where is
bar.netflix.net?
●DNS service discovery
Auto Scaling group
Auto Scaling group State
Out of service
In service
Bar v0
Bar v1
62. RE:INVENT 2018
NET-312
Eureka Amazon Route53
Sync State
Foo
Where is
bar.netflix.net?
●DNS service discovery
Auto Scaling group
Auto Scaling group State
Out of service
In service
Bar v0
Bar v1
64. RE:INVENT 2018
NET-312
Auto remove stale
DNS records
Allow
“out of service”
AWS API rate limits
Existing solution
●DNS service discovery decision
65. RE:INVENT 2018
NET-312
Auto remove stale
DNS records
Allow
“out of service”
AWS API rate limits
Existing solution
●DNS service discovery decision
66. RE:INVENT 2018
NET-312
Auto remove stale
DNS records
Allow
“out of service”
AWS API rate limits
Existing solution
●DNS service discovery decision
67. RE:INVENT 2018
NET-312
Auto remove stale
DNS records
Allow
“out of service”
AWS API rate limits
Existing solution
●DNS service discovery decision
68. RE:INVENT 2018
NET-312
Auto remove stale
DNS records
Allow
“out of service”
AWS API rate limits
Existing solution
Route53
auto naming
●DNS service discovery decision
69. RE:INVENT 2018
NET-312
Auto remove stale
DNS records
Allow
“out of service”
AWS API rate limits
Existing solution
Route53
auto naming
●DNS service discovery decision
70. RE:INVENT 2018
NET-312
Auto remove stale
DNS records
Allow
“out of service”
AWS API rate limits
Existing solution
Route53
auto naming
●DNS service discovery decision
71. RE:INVENT 2018
NET-312
Auto remove stale
DNS records
Allow
“out of service”
AWS API rate limits
Existing solution
Route53
auto naming
●DNS service discovery decision
72. RE:INVENT 2018
NET-312
Auto remove stale
DNS records
Allow
“out of service”
AWS API rate limits
Existing solution
Route53
auto naming
???
●DNS service discovery decision
73. RE:INVENT 2018
NET-312
Auto remove stale
DNS records
Allow
“out of service”
AWS API rate limits
Existing solution
Route53
auto naming
Eureka DNS
●DNS service discovery decision
74. RE:INVENT 2018
NET-312
Auto Scaling group
Auto Scaling group State
Eureka Amazon Route53
Sync
In service
State
Out of service
Foo
Bar
Bar
Where is
bar.netflix.net?
75. RE:INVENT 2018
NET-312
Auto Scaling group
Auto Scaling group State
Eureka
In service
Out of service
Foo
Bar
Bar
Where is
bar.netflix.net?
Auto Scaling group
Eureka DNS
88. RE:INVENT 2018
NET-312
Authoritative name server static IP
VPC
Public
us-west-2
AWS Cloud
us-west-2a
Auto Scaling group
Eureka DNS
Public
us-west-2b
Eureka DNS
Public
us-west-2c
Eureka DNSEureka DNS Eureka DNS Eureka DNS
102. RE:INVENT 2018
NET-312
DNS steering: Geography
Perfect
balance
Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Day 8
Latency: Not optimized
Availability
risk
103. RE:INVENT 2018
NET-312
DNS steering: Geography
Perfect
balance
(3 region)
Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Day 8
Latency: Not optimized
Availability
risk
Cost driver
Perfect
balance
(2 region)
116. RE:INVENT 2018
NET-312
us-west-2 us-east-1 eu-west-1
Wisconsin, USA 100ms 80ms 120ms
Argentina 150ms 120ms 300ms
Spain 200ms 100ms 20ms
Real User Measurements
DNS steering: Route 53 latency routing
117. RE:INVENT 2018
NET-312
us-west-2 us-east-1 eu-west-1
Wisconsin, USA 100ms 80ms 120ms
Argentina 150ms 120ms 300ms
Spain 200ms 100ms 20ms
Real User Measurements
DNS steering: Geography
118. RE:INVENT 2018
NET-312
us-west-2 us-east-1 eu-west-1
Wisconsin, USA 100ms 80ms 120ms
Argentina 150ms 120ms 300ms
Spain 200ms 100ms 20ms
Geo IP Prefix
Wisconsin, USA 203.0.113.0/24
Argentina 192.0.2.0/24
Spain 2001:DB8::/32
Geo Database
Real User Measurements
DNS steering: Geography
120. RE:INVENT 2018
NET-312
DNS steering: Prefix steering
us-west-2 us-east-1 eu-west-1
203.0.113.0/24 100ms 80ms 120ms
192.0.2.0/24 150ms 120ms 300ms
2001:DB8::/32 200ms 100ms 20ms
Real User Measurements
121. RE:INVENT 2018
NET-312
DNS steering: Prefix steering
us-west-2 us-east-1 eu-west-1
203.0.113.0/24 100ms 80ms 120ms
192.0.2.0/24 150ms 120ms 300ms
2001:DB8::/32 200ms 100ms 20ms
Real User Measurements
100ms latency delta
122. RE:INVENT 2018
NET-312
DNS steering: Prefix steering
Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Day 8
Latency: delta optimized
Perfect
balance
Availability
risk