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.
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop
RIPE Atlas
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 2
Goals
• Learn how to:
- Benefit from using RIPE Atlas measurements for n...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 3
Try Yourself
• Go to https://atlas.ripe.net
• Do you have a RIPE NCC Acc...
Introduction to
RIPE ATLAS
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 5
RIPE Atlas Measurement
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 6
Probes in Greece
• https://atlas.ripe.net/results/maps/network-coverage/...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 7
RIPE Atlas Numbers
• 9,700+ probes connected (255+ Anchors)
• 4,400+ res...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 8
RIPE Atlas Community
• Users
• Hosts
- Probes
- Anchors
• Sponsors
- 5 s...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 9
Schedule a Measurement
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 10
Schedule a Measurement (advanced)
• Using command-line & scripting:
- h...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 11
Let’s Summarise: Why RIPE Atlas?
• Monitor the performance of your netw...
Measurement Results
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 13
Searching for Measurements
• Go to “Measurements, Maps and Tools” >
“Me...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 14
RIPE Atlas REST APIs
• List of scheduled measurements
- https://atlas.r...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 15
LatencyMON
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 16
DomainMON and DNSMON
• DomainMON (https://atlas.ripe.net/domainmon/)
- ...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 17
What’s New: TraceMON
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 18
TraceMON: Network Annotation
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 19
TraceMON: Quick Info
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 20
Use Our Tools in your Dashboard
IXP Country Jedi
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 22
IXP Country Jedi
• Tool and concept by Emile Aben
- https://github.com/...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 23
IXP Country Jedi
• Benefits:
- Shows how IXPs help keep traffic local
-...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 24
Paths for Greece
IPv4 IPv6
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 25
How Many Paths Go Via Local IXP?
2016 2017
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 26
More Probes, Better Data Quality
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 27
Optimise Routing
• Interactive tool! (click over the cell…)
- http://sg...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 28
Intermediate ASNs
Greece
Snapshot: 1 May 2017
Eyeball Jedi
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 30
Eyeball to Eyeball matrix
• The boxes are sized according to the APNIC
...
Use cases
Examples of RIPE Atlas Use
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 32
Use Cases (1)
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 33
Use Cases (2)
• DDoS Attack on Dyn DNS Servers (Oct. 2016)
- 10s millio...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 34
Use Cases (3)
• Monitor Game Service Connectivity (Sept. 2016)
• Requir...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 35
Use Cases (4)
• Amsterdam Power Outage (March 2015)
• When and where th...
Integration with
Network Monitoring
Systems
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 37
Network Monitoring
• You can keep using your internal monitoring
system...
Real-time Performance
Monitoring
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 39
RIPE Atlas Streaming
• RIPE Atlas streaming is an architecture that
all...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 40
Example
Command-line interface
(CLI) Toolset
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 42
RIPE Atlas CLI
• Network troubleshooting from command line
• Familiar o...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 43
Configure RIPE Atlas CLI
• Reuse the API key of the previous exercise
- ...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 44
Create a Measurement
• Create a ping measurement to wikipedia.org
- One...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 45
Search Probes
• Search all probes in AS 3333
- ripe-atlas probes --asn ...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 46
Other examples
• Geo-specific from 20 probes from Canada:
- ripe-atlas ...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 47
Fetch an Existing Measurement
• Fetch the ping measurement 2340408
- ri...
Code with RIPE Atlas
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 49
Support Projects
• Sagan
- A Python translation layer for RIPE Atlas me...
Take part in the
RIPE Atlas community
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 51
RIPE Atlas Community
• Volunteers host probes in homes or offices
- Reg...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 52
Get Involved!
• Use RIPE Atlas for your operations:
monitoring, trouble...
Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 53
Contact us
• Users’ mailing list: ripe-atlas@ripe.net
• Articles and up...
Questions
pgkigkis@ripe.net
@GigisPetros
Reedem this voucher
“GRNOG2017"
Upcoming SlideShare
Loading in …5
×

RIPE Atlas

121 views

Published on

Presentation given by Petros Gigis at GRNOG in Athens, Greece on 26 May 2017.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

RIPE Atlas

  1. 1. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop RIPE Atlas
  2. 2. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 2 Goals • Learn how to: - Benefit from using RIPE Atlas measurements for network monitoring and troubleshooting - Integrate RIPE Atlas in your monitoring platform - Use API calls and Command line tool (CLI) to create and inspect measurements - Write code to manipulate RIPE Atlas data - Receive measurement results in real-time
  3. 3. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 3 Try Yourself • Go to https://atlas.ripe.net • Do you have a RIPE NCC Access account? • It’s free, If not - create one: ripe.net/register • Do you have credits to spend? • Reedem this voucher “GRNOG2017” on https://atlas.ripe.net/user/credits • It’s free, credits are just to avoid platform abuse
  4. 4. Introduction to RIPE ATLAS
  5. 5. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 5 RIPE Atlas Measurement
  6. 6. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 6 Probes in Greece • https://atlas.ripe.net/results/maps/network-coverage/?filter=Greece+(gr)
  7. 7. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 7 RIPE Atlas Numbers • 9,700+ probes connected (255+ Anchors) • 4,400+ results collected per second • 35,000+ user defined measurements weekly - Six types of user-defined measurements available to probe hosts and RIPE NCC members: ping, traceroute, DNS, SSL, NTP, WiFi - You need credits! - Global measurements towards root name servers - Regional measurements towards “anchors”
  8. 8. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 8 RIPE Atlas Community • Users • Hosts - Probes - Anchors • Sponsors - 5 sponsors in 2016 - 2 already for 2017 • 300 +Ambassadors
 at many conferences
  9. 9. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 9 Schedule a Measurement
  10. 10. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 10 Schedule a Measurement (advanced) • Using command-line & scripting: - https://atlas.ripe.net/docs/measurement-creation-api/ - You will need an API key: https://atlas.ripe.net/keys/ • Using the Command Line Interface (explained later) - Resembles day-to-day operational input/output formats
  11. 11. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 11 Let’s Summarise: Why RIPE Atlas? • Monitor the performance of your network in real time from thousands of vantage points • Troubleshoot problems close to your customers • Validate your peering strategies • Plan your content distribution • Demonstrate performance to your customers
  12. 12. Measurement Results
  13. 13. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 13 Searching for Measurements • Go to “Measurements, Maps and Tools” > “Measurements”
  14. 14. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 14 RIPE Atlas REST APIs • List of scheduled measurements - https://atlas.ripe.net/api/v2/measurements/ - https://atlas.ripe.net/api/v2/measurements/{TYPE}/ • Information about a specific measurement - https://atlas.ripe.net/api/v2/measurements/{ID}/ • Results of a specific measurement - https://atlas.ripe.net/api/v2/measurements/{ID}/results
  15. 15. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 15 LatencyMON
  16. 16. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 16 DomainMON and DNSMON • DomainMON (https://atlas.ripe.net/domainmon/) - Up-to-date performance overview of your DNS zone • DNSMON (https://dnsmon.ripe.net) - Monitoring of root and many Top-Level Domain zones
  17. 17. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 17 What’s New: TraceMON
  18. 18. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 18 TraceMON: Network Annotation
  19. 19. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 19 TraceMON: Quick Info
  20. 20. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 20 Use Our Tools in your Dashboard
  21. 21. IXP Country Jedi
  22. 22. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 22 IXP Country Jedi • Tool and concept by Emile Aben - https://github.com/emileaben/ixp-country-jedi - https://labs.ripe.net/Members/emileaben/measuring-ixps- with-ripe-atlas • Method: - Traceroute mesh between RIPE Atlas probes - Detect whether they go via local IXP(s)’ LAN IP - Hops geolocated using OpenIPMap database • Data: - http://sg-pub.ripe.net/emile/ixp-country-jedi/
  23. 23. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 23 IXP Country Jedi • Benefits: - Shows how IXPs help keep traffic local - Comparing countries’ performances with each other - Routing and traffic optimisation - Comparing IPv6 and IPv4 • Greece: - http://sg-pub.ripe.net/emile/ixp-country-jedi/latest/GR/
  24. 24. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 24 Paths for Greece IPv4 IPv6
  25. 25. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 25 How Many Paths Go Via Local IXP? 2016 2017
  26. 26. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 26 More Probes, Better Data Quality
  27. 27. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 27 Optimise Routing • Interactive tool! (click over the cell…) - http://sg-pub.ripe.net/emile/ixp-country/latest/GR • Red or blue: the path is going out of country - If this is a surprise, talk to your upstream(s) • Yellow: the path that is not going via local IXP - If this is undesired, make a new peering agreement
  28. 28. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 28 Intermediate ASNs Greece Snapshot: 1 May 2017
  29. 29. Eyeball Jedi
  30. 30. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 30 Eyeball to Eyeball matrix • The boxes are sized according to the APNIC estimates of Internet users per ASN • The box area is used as a metric to calculate percentages of user-to-user connections with certain characteristics. Greece In-country 75,44% Out-of-country 0,00% No coverage 0,00% Inconsistencies 15,86% Not measured 8,70% Snapshot: 1 April 2017 Available online at: http://sg-pub.ripe.net/petros/eyeball-jedi/matrix.html?country=GR
  31. 31. Use cases Examples of RIPE Atlas Use
  32. 32. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 32 Use Cases (1)
  33. 33. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 33 Use Cases (2) • DDoS Attack on Dyn DNS Servers (Oct. 2016) - 10s millions devices - Mirai botnet - Legitimate requests
  34. 34. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 34 Use Cases (3) • Monitor Game Service Connectivity (Sept. 2016) • Requirements: - Check General Reachability, Latency, Historical data - Supported by an active and helpful community - Integrate with their existing logging system • Track down an outage in one upstream • Became sponsors
  35. 35. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 35 Use Cases (4) • Amsterdam Power Outage (March 2015) • When and where the outage was happening
  36. 36. Integration with Network Monitoring Systems
  37. 37. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 37 Network Monitoring • You can keep using your internal monitoring system and integrate Atlas in it with an API - https://atlas.ripe.net/api/v2/measurements/<measurement- id>/status-check • Set thresholds: - E.g. https://atlas.ripe.net/api/v2/measurements/123456789/ status-check/?max_packet_loss=95 • Documentation - https://atlas.ripe.net/docs/api/v2/manual/measurements/ status-checks.html
  38. 38. Real-time Performance Monitoring
  39. 39. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 39 RIPE Atlas Streaming • RIPE Atlas streaming is an architecture that allows users to receive the measurement results as soon as they are sent by the probes - Real-time server and performance monitoring - Advanced filtering: you can specify what thresholds/type to receive • There are three types of data: - Measurement results - Probe connection status events - Measurements metadata
  40. 40. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 40 Example
  41. 41. Command-line interface (CLI) Toolset
  42. 42. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 42 RIPE Atlas CLI • Network troubleshooting from command line • Familiar output (ping, dig, traceroute) • Linux/OSX - http://ripe-atlas-tools.readthedocs.org/en/latest/ installation.html#requirements-and-installation • Windows [experimental] - https://github.com/chrisamin/ripe-atlas-tools-win32 • Documentation: - https://ripe-atlas-tools.readthedocs.org/
  43. 43. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 43 Configure RIPE Atlas CLI • Reuse the API key of the previous exercise - Or create a new one at https://atlas.ripe.net/keys/ • Configure your CLI - ripe-atlas configure --set authorisation.create=MY_API_KEY
  44. 44. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 44 Create a Measurement • Create a ping measurement to wikipedia.org - One-off, default parameters - ripe-atlas measure ping --target wikipedia.org
  45. 45. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 45 Search Probes • Search all probes in AS 3333 - ripe-atlas probes --asn 3333 • Show specific fields - ripe-atlas probes --asn 3333 --field asn_v6 --field country 
 --field is_public --field description --field status • Search for probes in and around Paris - ripe-atlas probes --location "Paris, France" --radius 15
  46. 46. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 46 Other examples • Geo-specific from 20 probes from Canada: - ripe-atlas measure ping --target example.com --probes 20 --from-country ca • 20 Canadian probes that definitely support IPv6: - ripe-atlas measure ping --target example.com --probes 20 --from-country ca --include-tag system-ipv6-works • Create a recurring measurement: - ripe-atlas measure ping --target example.com --interval 3600
  47. 47. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 47 Fetch an Existing Measurement • Fetch the ping measurement 2340408 - ripe-atlas report 2340408
  48. 48. Code with RIPE Atlas
  49. 49. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 49 Support Projects • Sagan - A Python translation layer for RIPE Atlas measurement results - https://github.com/RIPE-NCC/ripe.atlas.sagan • Cousteau - A Python wrapper around all the RIPE Atlas API - https://github.com/RIPE-NCC/ripe-atlas-cousteau • The output is firmware version transparent • You can install them with pip
  50. 50. Take part in the RIPE Atlas community
  51. 51. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 51 RIPE Atlas Community • Volunteers host probes in homes or offices - Register on our website and request a probe - You get it for free but please keep it connected! • Organisations host RIPE Atlas Anchors • Sponsor organisations give financial support or host multiple probes in their own networks
  52. 52. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 52 Get Involved! • Use RIPE Atlas for your operations: monitoring, troubleshooting, measuring • Do scientific research • Participate in a webinar • Add multi-lingual content • Become an ambassador or a sponsor • Place a probe in a new exotic location
  53. 53. Gigis Petros | 26 May 2017 | 1st GRNOG Workshop 53 Contact us • Users’ mailing list: ripe-atlas@ripe.net • Articles and updates: https://labs.ripe.net/atlas • Questions and bugs: atlas@ripe.net • Twitter: @RIPE_Atlas and #RIPEAtlas
  54. 54. Questions pgkigkis@ripe.net @GigisPetros
  55. 55. Reedem this voucher “GRNOG2017"

×