21 - idnog03 - jimmy halim (cloudflare) - brief introduction of cloudflare, the routing and benefit...

32
Jimmy Halim IDNOG3 [email protected] Jakarta, 28 July 2016 Building & Managing 80+ PoPs

Upload: indonesia-network-operators-group

Post on 15-Jan-2017

227 views

Category:

Internet


0 download

TRANSCRIPT

Page 1: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Jimmy Halim [email protected] Jakarta, 28 July 2016

Building & Managing 80+ PoPs

Page 2: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Overview of CloudFlare

Page 3: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

● 4+ million zones/domains● 43+ billion DNS queries/day● How?

○ Orange cloud○ Global distributed network

in 80+ locationsStill growing fast!

○ Anycast routing

Protect and accelerate any website online

Page 4: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Benefit of orange cloud● Direct visitors to the nearest entry point

○ Fast!■ Lesser hops■ Reduced latency■ Improved performance

● Save bandwidth!○ Lesser requests to origin

■ Typically 50% of the resources on any givenweb page are cacheable

○ Mitigate malicious visitors or DDoS ■ Stop them before get to the origin web server

● Resiliency○ 80+ locations!

Page 5: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Grey cloud vs orange cloud

Page 6: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Building like crazy

Page 7: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

1 new PoP per week!

Page 8: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Strategic Planning

● Agreement/Negotiation● Location

○ Peering Exchanges ○ Cost○ Support

● Size○ Traffic analysis

■ Number of Racks■ Equipment types■ Transits/Peering Exchanges

● How many?● How big are the pipes?

Page 9: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Challenges

● Installation○ Regulation

■ Import policy○ Transits

■ Different carriers have different setup/policies○ Language barriers

● Human factors○ Configuration errors!

■ Anycast

● Traffic turnup○ How to ensure it is not impacting

■ No outages please!

Page 10: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Solutions

● Out of band network is a must!○ Acting as last resort○ Upgrade/downgrade○ Maintenances

● Configuration template○ Auto configuration

■ Anycast!○ Peer review

● Global Network Engineering○ Round the clock deployment

■ Reduced bottleneck

Page 11: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Testing with providers

● Circuit testing○ Point to point extended ping test

■ Test all physical ports○ Failover Testing

■ Redundancy● Do not create a blackhole instead!

● Use testing prefix○ Global versus domestic

■ RIPE Atlas measurement■ Public route servers

○ Good related BGP configuration■ It does what is supposed to do

Page 12: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Traffic Turnup

● Do not send all prefixes at 1 go!○ Start with few prefixes○ Check the routing to these few prefixes

■ Global traffic analysis● No big drop of traffic in other location ● Traffic comes from the right countries

○ Monitor for 24 hours■ Confirms there are no anomalies observed

● On the new location● Globally

○ Announce all prefixes■ In batches■ Repeat the same steps above!

Page 13: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Traffic Turnup

● Get the providers to be involved○ Especially if it is a single homed○ Inform them the schedule

■ Get them to understand what to expect■ Troubleshoot and fix the problem faster!

○ Their users might be able to see problem faster

Page 14: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Managing 80+ PoPs

Page 15: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

● 80+ locations● 500+ transit/exchange ports● 500+ network equipments● Uncountable alerts!

Challenges

Page 16: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Building Resilience Network

● Stable hardware and software● Automatic configuration template/peer review● Solid monitoring system● Network automation● Global network engineering

Page 17: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Hardware and Software

● Proper evaluation and testing○ Fits requirement○ Bugs free○ Scalable

● Global standardization○ Same models of hardware○ Same software codes

● No mass software upgrade!○ Small PoP first○ Deploy in batches

Page 18: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Solid Monitoring System

● Reduced unwanted alerts○ Only gets relevant alerts○ Silence PoP/ports during maintenances

● Monitor the performance of transit providers○ Detects packet loss on their backbone○ Provides automatic related traceroutes○ Actions based on severity

■ Disabling the PoP automatically■ Disabling traffic on related transit provider automatically■ Suggests on actions to do

Page 19: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Alerts Channel and Dashboard

Page 20: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Alerts Channel and Dashboard

Page 21: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Alerts Channel and Dashboard

Page 22: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Alerts Channel and Dashboard

Page 24: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Network Automation | NAPALM-Salt (examples)● salt "edge*" net.cli "show version"● salt -G "os:junos" net.cli "show chassis hardware”● salt -G "os:iosxr" net.arp● salt-run net.find [target_device]● salt-run net.find [mac_address]● salt-run bgp.neighbors [bgp_asn]● salt [target_device] [anycast.disable | anycast.enable]● salt [target_device] [transit.disable | transit.enable]

[transit_name]

Page 25: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Network Automation | NAPALM-Salt (examples)

Page 26: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Global Network Engineering

● Follow the sun approach○ San Francisco -> Singapore -> London -> San Francisco

● Doing all stuffs○ Technical operations○ Network engineering○ Network expansion projects○ New PoPs deployment○ Peering stuffs

● Very fast response to network issues and escalation

Page 27: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Statistics

Page 28: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective
Page 29: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective
Page 30: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Indonesian’ Statistics

Page 31: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective

Q&A

Page 32: 21 - IDNOG03 - Jimmy Halim (Cloudflare) - Brief Introduction of CloudFlare, the routing and benefit to Internet, plus network perpective