Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Calico Presentation at Cologne Docker Meetup, A...

Calico Presentation at Cologne Docker Meetup, April 2015

Neil Jerram

April 20, 2015
Tweet

More Decks by Neil Jerram

Other Decks in Technology

Transcript

  1. THE BRAINS OF THE NEW GLOBAL NETWORK CALICO - SIMPLE

    IP NETWORKING FOR CLUSTERED DOCKER CONTAINERS Neil Jerram 20th April 2015 Metaswitch Networks | Proprietary and confidential | © 2014 | 1
  2.  Open source (Apache licensed) project  Networking of workloads

    in a data center / cloud environment  Sponsored by Metaswitch WHAT IS CALICO? Metaswitch Networks | Proprietary and confidential | © 2014 | 2 Simple Scale Open Thousands of servers, 100k’s of workloads Don’t demand users to be networking experts Open source and open standards
  3. Virtual L2 segments, implemented in software by virtual switch THE

    STANDARD VIRTUAL NETWORKING MODEL Metaswitch Networks | Proprietary and confidential | © 2014 | 4 vSwitch vSwitch vSwitch Linux Linux Linux Encap / de- encap (& flooding!) Outer MAC Outer IP Outer UDP VXLAN VM MAC VM IP VM TCP/UDP VM Data Router service required to hop between tenants NAT required for public Internet access On/off-ramp required to get to NAS, etc. Virtual L2 segments, implemented in software by virtual switch
  4. ☹ Unnecessary complexity ☹ Low scale limits ☹ Performance issues

    ☹ Management overhead ☹ Inefficient resource utilization ☹ Difficulty troubleshooting ☹ Demands placed on application developers to be networking experts THIS LEADS TO… Metaswitch Networks | Proprietary and confidential | © 2014 | 5 ALL solutions that use overlay / underlay model suffer from these effects, however they are mitigated. These issues become critical with containers due to the higher scale than VMs (100s vs 10s per server) … It doesn’t have to be this way!
  5. WHAT IF WE BUILT A DATA CENTER LIKE THE INTERNET?

    Metaswitch Networks | Proprietary and confidential | © 2014 | 7 IP App IP App IP App IP App IP App IP App IP App IP App Router Router Router BGP BGP Hosts
  6. WHAT IF WE BUILT A DATA CENTER LIKE THE INTERNET?

    Metaswitch Networks | Proprietary and confidential | © 2014 | 8 IP App IP App IP App IP App IP App IP App IP App IP App BGP BGP Compute Node Compute Node VMs / LXCs Router Router Router VMs / LXCs
  7. ADVANTAGES OF THE CALICO MODEL  More scalable  Based

    on proven Internet-style architecture  More efficient  Simplified data path between VMs and physical network  Equal Cost Multi-Path (ECMP) enables full utilization of physical links  Easier to troubleshoot  Eliminates nested IP stacks needed for overlay-based networking  More secure  Applies traffic isolation rules at both egress and ingress points  More interoperable  Supports direct connectivity between VMs, Linux Containers (LXCs) and physical devices  Does not require “On/Off ramps” for non-virtualized network elements  More robust  Load-balancing and resilience easily provided by Anycast  More straightforward  1:1 NAT and floating IPs are no longer strict requirements  More distributable  Supports geographically distributed service chains straightforwardly Metaswitch Networks | Proprietary and confidential | © 2014 | 9
  8. DEMO TIME… Metaswitch Networks | Proprietary and confidential | ©

    2014 | 10 Host 1 Policy Group 1 (“Default”) L2 Policy Group 2 (“Group_A”) Host 2 Container C 192.168.1.3 Container B 192.168.1.2 Container A 192.168.1.1 Workloads Felix BIRD Calico Control Plane (‘node’ container) Container E 192.168.1.5 Container D 192.168.1.4 Workloads Felix BIRD Calico Control Plane (‘node’ container) etcd, Powerstrip etcd, Powerstrip Plugin.ep Plugin.net Calico Orchestrator (‘master’ container)
  9. DEMO TIME… Metaswitch Networks | Proprietary and confidential | ©

    2014 | 11 Host 1 Policy Group 1 (“Default”) L2 Policy Group 2 (“Group_A”) Host 2 Container C 192.168.1.3 Container B 192.168.1.2 Container A 192.168.1.1 Workloads Felix BIRD Calico Control Plane (‘node’ container) Container E 192.168.1.5 Container D 192.168.1.4 Workloads Felix BIRD Calico Control Plane (‘node’ container) etcd, Powerstrip etcd, Powerstrip Plugin.ep Plugin.net Calico Orchestrator (‘master’ container)
  10. GET INVOLVED  www.projectcalico.org  docs.projectcalico.org  GitHub:  Metaswitch/calico-docker

     Metaswitch/calico  Mailing list  Download & try it out  We welcome your feedback and contributions Metaswitch Networks | Proprietary and confidential | © 2014 | 13