SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Downloaden Sie, um offline zu lesen
Networking is NOT Free:
Lessons In Network Design
                        Dan Sneddon
                        Member Technical Staff

                        Twitter: @dxs
                        Download: http://engineering.cloudscaling.com/portland13


 CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution*
                           * All unlicensed or borrowed works retain their original licenses
Presenter Bio
• 20 years of network engineering and systems design
• Lead Global Network Engineer for Apple
• Network Security Architect for SLAC National Laboratory
• IT Architect for division of Schneider Electric
• Financial sector networking (banks and trading floors)
• Major startups, including Twitter
            Dan Sneddon
            Member Technical Staff
            Twitter: @dxs
                                 2
Our Journey Today

1. Datacenter Networking: Historical Perspective

2. Rise and Fall Of The VLANs

3. Networking At Cloud Scale

4. OpenStack Networking Models

5. Room For Improvement In OpenStack Networking


                            3
Datacenter Networks:
Historical Perspective
Datacenter Networking Timeline


 198              199                  200                 201
       0's              0's                  0's                 0+




•Client/Server    •100 Mb              •1 Gb+ Servers      •10 Gb+ Servers
•10 Mb Ethernet   •Switched Ethernet •10 Gb Uplinks        •40/100 Gb Uplinks
•Token Ring       •Bonded Interfaces •VLANs                •Virtual Networks
•Serial Cables    •Spanning-Tree       •Virtual Machines   •SDN


                                   5
1980’s: Shared Media and Serial

                              Token
                               Ring




                   10 M Hub




         10M Hub

                                      Serial Link
                                                    User
                     6
1990‘s: 100 Megabits Switched!

        Database
                                     User



                     Switch




              User            User
                        7
2000’s: Rise Of the Gigabit VLANs!
  Database



             VLAN 10                           Server VLAN



                       VLAN 20                       Administration



                                 VLAN 30                      Accounting



                                           Etc...                     Everyone Else



                                           8
2010’s: Everything Gets Simple!




User




                9
Rise And Fall
Of the VLANS
Datacenter VLAN Segregation
                           Layer 2/3 Boundary




   VLAN 10 VLAN 20        VLAN 30
                     11
VLAN Physical Separation




               12
VLAN Pros and Cons
Pros:
• Provide a level of isolation
• Reduction in size of broadcast domain
• Manageable, up to a certain size (especially with VTP, etc)

Cons:
• Each VLAN can only reach other VLANs through routers
• Spanning-tree (when it breaks, everything breaks)
• 4096 VLAN limit--assigning in blocks uses this up faster
                                 13
Death Of the VLANs
VLANs Only Scale So Far



•   In the late 2000’s, high-density (1U) servers become
    standard

•   There is no way to make spanned VLANs work for many
    thousands of servers

•   A new model takes over: small layer 2 domains with
    layer 3 routing


                               14
Breaking Through The Scale Barrier
VLANs Only Scale So Far




                               VLAN Locally, Route Globally




                          15
Hierarchical Internetworking Model
Scale-Out Networking
                       Core

                              Distribution

                                   Access




                                    Hosts


                       16
Networking At the
 Scale of Cloud
Two Cloud Infrastructure Models

         1                     2
    Enterprise               Elastic
   Virtualization        Infrastructure

                              New
    Legacy Apps           Dynamic Apps




                    18
Elastic Cloud vs.
Enterprise Virtualization
                        Enterprise Virtualization             Elastic Cloud

 Applications                Traditional & Legacy                 Dynamic


 Scaling Architecture           Managed Silos                    Horizontal


 Technology Stack            Heavy & Proprietary             Distributed & Open


 Price/Performance                   Low                     High (4-7x better)


 Failure Domains                    Large                          Small


 Provisioning                 Slower & Manual                Faster & 100% API

                        Server consolidation and lower      On-demand, scale-out
 Best For:
                            datacenter mgmt costs        infrastructure for new apps


                                        19
Nova-Network
Classic OpenStack Networking, With That Old-Timey Feel

                                                 FlatDHCP
4 Modes: Flat     Flat DHCP VlanManager
                                                 Multi-host HA

• Flat/Flat DHCP only support a single VLAN for everything

• VlanManager is the most feature-rich for multi-tenant

• VlanManager requires trunking all VLANs down to each host

• In a public cloud, max of 4096 VLANs limits tenants

                                 20
OCS Nova-Networking L3 Plugin
Cloudscaling Exclusive Solution


•   Layer 3 networking for VMs, with DHCP and NAT service

•   Each VM is on its own Linux bridge, no shared layer 2

•   Quantum not required

•   DHCP service is local to each compute host

•   AWS-like: floating IPs, elastic netblocks, and now VPC


                               21
Brokerless Messaging With ZeroMQ
Avoiding RabbitMQ’s Single Point Of Failure
               Nova-Compute                                  Nova-Compute




                              Single Point
                              Of Failure



                   RabbitMQ
                    Broker



  Nova-Scheduler                  Nova-API        Nova-Scheduler            Nova-API

               RabbitMQ                      vs.             ZeroMQ
              (Brokered)                                  (Peer To Peer)

                                             22
OpenStack Networking
OpenStack Networking
APIs For All Your Networking Things


• “Quantum” is now known as “OpenStack Networking”

• Pluggable architecture, with APIs for all network functionality

• Basic L3 plugin (finally!), but designed for L3 on flat L2 network

• nova-network process still performs some very basic functions

• Some plugins are more complete/stable than others

                                  24
OpenStack Networking
                       Horizon
    REST
    over HTTP(S)              REST


                                                                Nova
                    Quantum                          REST     (Quantum
                   API Service                                 Plugin)
        RPC
                                            DHCP
                                            Agent
                                                              Ceilometer
              OPENSTACK                             Notifi-
               NETWORK                              cations
                 SERVICE
                                         Virtual              Keystone
                                        Network
                                                    REST
                                         Plugin

                   Quantum
                   Agent(s)                                     SDN
                                        Provider     Varies
                                                               Solution
                                        Network
                                         Plugin

                                                     Varies   Physical
                         Varies                               Hardware
                                             SQL

                    Hypervisor
                                     Quantum DB
               compute node


                                       25
OpenStack Networking Modes


• VLAN networks are supported using provider network plugins

• Layer 3 plugin

• GRE tunnel support using virtual network plugins

• May be used with Linux Namespaces to isolate tenants from
  one another within a hypervisor

• Many commercial vendor plugins

                                26
Quantum Compatibility
Lots Of Choices For Virtual Network/SDN Providers
•Open vSwitch. http://www.openvswitch.org/openstack/documentation
•Nicira NVP. quantum/plugins/nicira/nicira_nvp_plugin/README and http://
www.nicira.com/support.
•Midokura. http://www.midokura.com/midonet/openstack/
•BigSwitch. http://www.bigswitch.com/sites/default/files/sdn_resources/
openstack_aag.pdf
•Cisco. quantum/plugins/cisco/README and http://wiki.openstack.org/cisco-
quantum
•Linux Bridge. quantum/plugins/linuxbridge/README and http://
wiki.openstack.org/Quantum-Linux-Bridge-Plugin  
•Ryu. quantum/plugins/ryu/README and http://www.osrg.net/ryu/
using_with_openstack.html
•NEC OpenFlow. http://wiki.openstack.org/Quantum-NEC-OpenFlow-Plugin

                                         27
Room For
Improvement
Default Layer 3 Design
OpenStack Networking Won’t Magically Configure Routing




VLANs


                                * Diagram taken from OpenStack Networking
                                  official documentation


                           29
Gaps In Functionality

•   VLAN networks are still problematic, Quantum doesn’t fix that

•   Layer 3 network plugin still gets deployed on shared layer 2

•   Dynamic routing protocols are not supported by L3 plugin

•   Overlay networks are great, unless something goes wrong--
    GRE tunnels hard to troubleshoot, we need tooling, diagnostics

•   Load-balancer-, firewall-, and VPN-as-a-service still in design
    phase, may not be production-ready until I or J release

                                 30
How Can We Make Things Better?
There Are Plenty Of Ways To Contribute



• Further work needed on the “metaplugin” that allows more
  than one plugin simultaneously

• ZeroMQ support (there are known problems with DHCP, etc.)

• Better high-availability, including active-active DHCP

• Better support for custom tenant networks with overlapping IPs


                                 31
Questions

    32
Networking is NOT Free:
Lessons In Network Design
                        Dan Sneddon
                        Member Technical Staff

                        Twitter: @dxs
                        Download: http://engineering.cloudscaling.com/portland13


 CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution*
                           * All unlicensed or borrowed works retain their original licenses

Weitere ähnliche Inhalte

Was ist angesagt?

Cloud Native Computing: What does it mean, and is your app Cloud Native?
Cloud Native Computing: What does it mean, and is your app Cloud Native?Cloud Native Computing: What does it mean, and is your app Cloud Native?
Cloud Native Computing: What does it mean, and is your app Cloud Native?
Michael O'Sullivan
 
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Kai Wähner
 
The Cloud Native Journey
The Cloud Native JourneyThe Cloud Native Journey
The Cloud Native Journey
VMware Tanzu
 

Was ist angesagt? (20)

Cloud Foundry - #IBMOTS 2016
Cloud Foundry - #IBMOTS 2016Cloud Foundry - #IBMOTS 2016
Cloud Foundry - #IBMOTS 2016
 
Cloud Native Computing: What does it mean, and is your app Cloud Native?
Cloud Native Computing: What does it mean, and is your app Cloud Native?Cloud Native Computing: What does it mean, and is your app Cloud Native?
Cloud Native Computing: What does it mean, and is your app Cloud Native?
 
Patterns of Cloud Native Architecture
Patterns of Cloud Native ArchitecturePatterns of Cloud Native Architecture
Patterns of Cloud Native Architecture
 
ClouNS - A Cloud-native Application Reference Model for Enterprise Architects
ClouNS - A Cloud-native Application Reference Model for Enterprise ArchitectsClouNS - A Cloud-native Application Reference Model for Enterprise Architects
ClouNS - A Cloud-native Application Reference Model for Enterprise Architects
 
Containers, From Development to Production
Containers, From Development to ProductionContainers, From Development to Production
Containers, From Development to Production
 
The Cloud Foundry Story
The Cloud Foundry StoryThe Cloud Foundry Story
The Cloud Foundry Story
 
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
Microservices, Containers, Docker and a Cloud-Native Architecture in the Midd...
 
Introducing the Open Container Project
Introducing the Open Container ProjectIntroducing the Open Container Project
Introducing the Open Container Project
 
Dockercon State of the Art in Microservices
Dockercon State of the Art in MicroservicesDockercon State of the Art in Microservices
Dockercon State of the Art in Microservices
 
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
Monitorama - Please, no more Minutes, Milliseconds, Monoliths or Monitoring T...
 
Millicomputing Usenix 2008
Millicomputing Usenix 2008Millicomputing Usenix 2008
Millicomputing Usenix 2008
 
Building a University Community PaaS Using Cloud Foundry (Cloud Foundry Summ...
Building a University Community PaaS Using Cloud Foundry (Cloud Foundry Summ...Building a University Community PaaS Using Cloud Foundry (Cloud Foundry Summ...
Building a University Community PaaS Using Cloud Foundry (Cloud Foundry Summ...
 
The Making of a Cloud Native Application Platform
The Making of a Cloud Native Application PlatformThe Making of a Cloud Native Application Platform
The Making of a Cloud Native Application Platform
 
Cloud Native In-Depth
Cloud Native In-DepthCloud Native In-Depth
Cloud Native In-Depth
 
The Cloud Native Journey
The Cloud Native JourneyThe Cloud Native Journey
The Cloud Native Journey
 
Pivotal Power Lunch - Why Cloud Native?
Pivotal Power Lunch - Why Cloud Native?Pivotal Power Lunch - Why Cloud Native?
Pivotal Power Lunch - Why Cloud Native?
 
Cloud Presentation and OpenStack case studies -- Harvard University
Cloud Presentation and OpenStack case studies -- Harvard UniversityCloud Presentation and OpenStack case studies -- Harvard University
Cloud Presentation and OpenStack case studies -- Harvard University
 
Cloud Native Applications Maturity Model
Cloud Native Applications Maturity ModelCloud Native Applications Maturity Model
Cloud Native Applications Maturity Model
 
State of the Stack April 2013
State of the Stack April 2013State of the Stack April 2013
State of the Stack April 2013
 
Smuggling Multi-Cloud Support into Cloud-native Applications using Elastic Co...
Smuggling Multi-Cloud Support into Cloud-native Applications using Elastic Co...Smuggling Multi-Cloud Support into Cloud-native Applications using Elastic Co...
Smuggling Multi-Cloud Support into Cloud-native Applications using Elastic Co...
 

Andere mochten auch

12.) fabric (your next data center)
12.) fabric (your next data center)12.) fabric (your next data center)
12.) fabric (your next data center)
Jeff Green
 

Andere mochten auch (20)

OpenStack Summit :: Profiling the Nova Scheduler
OpenStack Summit :: Profiling the Nova SchedulerOpenStack Summit :: Profiling the Nova Scheduler
OpenStack Summit :: Profiling the Nova Scheduler
 
The Lie of a Benevolent Dictator; the Truth of a Working Democratic Meritocracy
The Lie of a Benevolent Dictator; the Truth of a Working Democratic MeritocracyThe Lie of a Benevolent Dictator; the Truth of a Working Democratic Meritocracy
The Lie of a Benevolent Dictator; the Truth of a Working Democratic Meritocracy
 
12.) fabric (your next data center)
12.) fabric (your next data center)12.) fabric (your next data center)
12.) fabric (your next data center)
 
The Next Generation Datacenter
The Next Generation DatacenterThe Next Generation Datacenter
The Next Generation Datacenter
 
State of the Stack v4 - OpenStack in All It's Glory
State of the Stack v4 - OpenStack in All It's GloryState of the Stack v4 - OpenStack in All It's Glory
State of the Stack v4 - OpenStack in All It's Glory
 
Network Configuration Example: Configuring CoS to Support an MC-LAG on an FCo...
Network Configuration Example: Configuring CoS to Support an MC-LAG on an FCo...Network Configuration Example: Configuring CoS to Support an MC-LAG on an FCo...
Network Configuration Example: Configuring CoS to Support an MC-LAG on an FCo...
 
Knowledge Management as an ecosystem
Knowledge Management as an ecosystem Knowledge Management as an ecosystem
Knowledge Management as an ecosystem
 
EVPN for Cloud Builders
EVPN for Cloud BuildersEVPN for Cloud Builders
EVPN for Cloud Builders
 
EVPN & VXLAN for Cloud Builders
EVPN & VXLAN for Cloud BuildersEVPN & VXLAN for Cloud Builders
EVPN & VXLAN for Cloud Builders
 
Next Wave of Data Centers & Interconnects
Next Wave of Data Centers & InterconnectsNext Wave of Data Centers & Interconnects
Next Wave of Data Centers & Interconnects
 
The Evolving Data Center Network: Open and Software-Defined
The Evolving Data Center Network: Open and Software-DefinedThe Evolving Data Center Network: Open and Software-Defined
The Evolving Data Center Network: Open and Software-Defined
 
Presentation dc design for small and mid-size data center
Presentation   dc design for small and mid-size data centerPresentation   dc design for small and mid-size data center
Presentation dc design for small and mid-size data center
 
(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...
(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...
(ARC205) Creating Your Virtual Data Center: VPC Fundamentals and Connectivity...
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Virtualización en la Red del Data Center - Extreme Networks
Virtualización en la Red del Data Center - Extreme NetworksVirtualización en la Red del Data Center - Extreme Networks
Virtualización en la Red del Data Center - Extreme Networks
 
Network design
Network designNetwork design
Network design
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 
Converged Data Center: FCoE, iSCSI, and the Future of Storage Networking ( EM...
Converged Data Center: FCoE, iSCSI, and the Future of Storage Networking ( EM...Converged Data Center: FCoE, iSCSI, and the Future of Storage Networking ( EM...
Converged Data Center: FCoE, iSCSI, and the Future of Storage Networking ( EM...
 
POWER POINT PRESENTATION ON DATA CENTER
POWER POINT PRESENTATION ON DATA CENTERPOWER POINT PRESENTATION ON DATA CENTER
POWER POINT PRESENTATION ON DATA CENTER
 
Data center Building & General Specification
Data center Building & General Specification Data center Building & General Specification
Data center Building & General Specification
 

Ähnlich wie Networking is NOT Free: Lessons in Network Design

OpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDNOpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDN
Te-Yen Liu
 
Am 04 track1--salvatore orlando--openstack-apac-2012-final
Am 04 track1--salvatore orlando--openstack-apac-2012-finalAm 04 track1--salvatore orlando--openstack-apac-2012-final
Am 04 track1--salvatore orlando--openstack-apac-2012-final
OpenCity Community
 
Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13
Dan Wendlandt
 

Ähnlich wie Networking is NOT Free: Lessons in Network Design (20)

Network virtualization with open stack quantum
Network virtualization with open stack quantumNetwork virtualization with open stack quantum
Network virtualization with open stack quantum
 
OpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDNOpenStack 2012 fall summit observation - Quantum/SDN
OpenStack 2012 fall summit observation - Quantum/SDN
 
Quantum for Cloud Operators - Folsom Conference
Quantum for Cloud Operators  - Folsom Conference Quantum for Cloud Operators  - Folsom Conference
Quantum for Cloud Operators - Folsom Conference
 
OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012OpenStack Quantum: Cloud Carrier Summit 2012
OpenStack Quantum: Cloud Carrier Summit 2012
 
Quantum PTL Update - Grizzly Summit.pptx
Quantum PTL Update - Grizzly Summit.pptxQuantum PTL Update - Grizzly Summit.pptx
Quantum PTL Update - Grizzly Summit.pptx
 
Quantum grizzly summit
Quantum   grizzly summitQuantum   grizzly summit
Quantum grizzly summit
 
MidoNet Overview - OpenStack and SDN integration
MidoNet Overview - OpenStack and SDN integrationMidoNet Overview - OpenStack and SDN integration
MidoNet Overview - OpenStack and SDN integration
 
OpenStack Quantum Intro (OS Meetup 3-26-12)
OpenStack Quantum Intro (OS Meetup 3-26-12)OpenStack Quantum Intro (OS Meetup 3-26-12)
OpenStack Quantum Intro (OS Meetup 3-26-12)
 
Quantum Folsom Summit Developer Overview
Quantum Folsom Summit Developer OverviewQuantum Folsom Summit Developer Overview
Quantum Folsom Summit Developer Overview
 
Am 04 track1--salvatore orlando--openstack-apac-2012-final
Am 04 track1--salvatore orlando--openstack-apac-2012-finalAm 04 track1--salvatore orlando--openstack-apac-2012-final
Am 04 track1--salvatore orlando--openstack-apac-2012-final
 
Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13Openstack Quantum yahoo meetup 1 23-13
Openstack Quantum yahoo meetup 1 23-13
 
Network and Service Virtualization tutorial at ONUG Spring 2015
Network and Service Virtualization tutorial at ONUG Spring 2015Network and Service Virtualization tutorial at ONUG Spring 2015
Network and Service Virtualization tutorial at ONUG Spring 2015
 
HP Virtual Connect technical fundamental101 v2.1
HP Virtual Connect technical fundamental101   v2.1HP Virtual Connect technical fundamental101   v2.1
HP Virtual Connect technical fundamental101 v2.1
 
Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...
Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...
Midokura OpenStack Day Korea Talk: MidoNet Open Source Network Virtualization...
 
Quantum - The Network Mechanics
Quantum - The Network MechanicsQuantum - The Network Mechanics
Quantum - The Network Mechanics
 
OpenStack Quantum
OpenStack QuantumOpenStack Quantum
OpenStack Quantum
 
CloudStack and SDN
CloudStack and SDNCloudStack and SDN
CloudStack and SDN
 
Quantum - Virtual networks for Openstack
Quantum - Virtual networks for OpenstackQuantum - Virtual networks for Openstack
Quantum - Virtual networks for Openstack
 
OpenStack Networking and Automation
OpenStack Networking and AutomationOpenStack Networking and Automation
OpenStack Networking and Automation
 
Midokura OpenStack Meetup Taipei
Midokura OpenStack Meetup TaipeiMidokura OpenStack Meetup Taipei
Midokura OpenStack Meetup Taipei
 

Mehr von Randy Bias

Mehr von Randy Bias (20)

Rebooting the OpenContrail Community
Rebooting the OpenContrail CommunityRebooting the OpenContrail Community
Rebooting the OpenContrail Community
 
The History of Pets vs. Cattle ... And Using It Properly
The History of Pets vs. Cattle ... And Using It ProperlyThe History of Pets vs. Cattle ... And Using It Properly
The History of Pets vs. Cattle ... And Using It Properly
 
OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)OpenStack Architected Like AWS (and GCP)
OpenStack Architected Like AWS (and GCP)
 
OpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking ArchitectureOpenStack Scale-out Networking Architecture
OpenStack Scale-out Networking Architecture
 
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
SFBay OpenStack Meetup // Neutron and SDN in Production – Dec 3 2013
 
AWS Repatriation: Bring Your Apps Back
AWS Repatriation: Bring Your Apps BackAWS Repatriation: Bring Your Apps Back
AWS Repatriation: Bring Your Apps Back
 
State of the Stack v2
State of the Stack v2State of the Stack v2
State of the Stack v2
 
Scale-Out Block Storage
Scale-Out Block StorageScale-Out Block Storage
Scale-Out Block Storage
 
Open Cloud System Networking Vision
Open Cloud System Networking VisionOpen Cloud System Networking Vision
Open Cloud System Networking Vision
 
OpenStack Summit :: Redundancy Doesn't Always Mean "HA" or "Cluster"
OpenStack Summit :: Redundancy Doesn't Always Mean "HA" or "Cluster"OpenStack Summit :: Redundancy Doesn't Always Mean "HA" or "Cluster"
OpenStack Summit :: Redundancy Doesn't Always Mean "HA" or "Cluster"
 
OpenStack Summit :: Pimp My Cloud
OpenStack Summit :: Pimp My CloudOpenStack Summit :: Pimp My Cloud
OpenStack Summit :: Pimp My Cloud
 
2012 open storage summit keynote
2012 open storage summit   keynote2012 open storage summit   keynote
2012 open storage summit keynote
 
Distributed RPC in Nova with ZeroMQ
Distributed RPC in Nova with ZeroMQDistributed RPC in Nova with ZeroMQ
Distributed RPC in Nova with ZeroMQ
 
Architectures for open and scalable clouds
Architectures for open and scalable cloudsArchitectures for open and scalable clouds
Architectures for open and scalable clouds
 
Cloud Frontiers 2011
Cloud Frontiers 2011Cloud Frontiers 2011
Cloud Frontiers 2011
 
Is There Such a Thing as a Private Cloud? Citrix Synergy 2011
Is There Such a Thing as a Private Cloud? Citrix Synergy 2011Is There Such a Thing as a Private Cloud? Citrix Synergy 2011
Is There Such a Thing as a Private Cloud? Citrix Synergy 2011
 
State Of The Cloud - Lightning Talk
State Of The Cloud - Lightning TalkState Of The Cloud - Lightning Talk
State Of The Cloud - Lightning Talk
 
Orran Krieger: VMware vCloud Deck
Orran Krieger: VMware vCloud DeckOrran Krieger: VMware vCloud Deck
Orran Krieger: VMware vCloud Deck
 
Clouds Bring Green
Clouds Bring GreenClouds Bring Green
Clouds Bring Green
 
Challenges Embracing Cloud Storage
Challenges Embracing Cloud StorageChallenges Embracing Cloud Storage
Challenges Embracing Cloud Storage
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Networking is NOT Free: Lessons in Network Design

  • 1. Networking is NOT Free: Lessons In Network Design Dan Sneddon Member Technical Staff Twitter: @dxs Download: http://engineering.cloudscaling.com/portland13 CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution* * All unlicensed or borrowed works retain their original licenses
  • 2. Presenter Bio • 20 years of network engineering and systems design • Lead Global Network Engineer for Apple • Network Security Architect for SLAC National Laboratory • IT Architect for division of Schneider Electric • Financial sector networking (banks and trading floors) • Major startups, including Twitter Dan Sneddon Member Technical Staff Twitter: @dxs 2
  • 3. Our Journey Today 1. Datacenter Networking: Historical Perspective 2. Rise and Fall Of The VLANs 3. Networking At Cloud Scale 4. OpenStack Networking Models 5. Room For Improvement In OpenStack Networking 3
  • 5. Datacenter Networking Timeline 198 199 200 201 0's 0's 0's 0+ •Client/Server •100 Mb •1 Gb+ Servers •10 Gb+ Servers •10 Mb Ethernet •Switched Ethernet •10 Gb Uplinks •40/100 Gb Uplinks •Token Ring •Bonded Interfaces •VLANs •Virtual Networks •Serial Cables •Spanning-Tree •Virtual Machines •SDN 5
  • 6. 1980’s: Shared Media and Serial Token Ring 10 M Hub 10M Hub Serial Link User 6
  • 7. 1990‘s: 100 Megabits Switched! Database User Switch User User 7
  • 8. 2000’s: Rise Of the Gigabit VLANs! Database VLAN 10 Server VLAN VLAN 20 Administration VLAN 30 Accounting Etc... Everyone Else 8
  • 9. 2010’s: Everything Gets Simple! User 9
  • 10. Rise And Fall Of the VLANS
  • 11. Datacenter VLAN Segregation Layer 2/3 Boundary VLAN 10 VLAN 20 VLAN 30 11
  • 13. VLAN Pros and Cons Pros: • Provide a level of isolation • Reduction in size of broadcast domain • Manageable, up to a certain size (especially with VTP, etc) Cons: • Each VLAN can only reach other VLANs through routers • Spanning-tree (when it breaks, everything breaks) • 4096 VLAN limit--assigning in blocks uses this up faster 13
  • 14. Death Of the VLANs VLANs Only Scale So Far • In the late 2000’s, high-density (1U) servers become standard • There is no way to make spanned VLANs work for many thousands of servers • A new model takes over: small layer 2 domains with layer 3 routing 14
  • 15. Breaking Through The Scale Barrier VLANs Only Scale So Far VLAN Locally, Route Globally 15
  • 16. Hierarchical Internetworking Model Scale-Out Networking Core Distribution Access Hosts 16
  • 17. Networking At the Scale of Cloud
  • 18. Two Cloud Infrastructure Models 1 2 Enterprise Elastic Virtualization Infrastructure New Legacy Apps Dynamic Apps 18
  • 19. Elastic Cloud vs. Enterprise Virtualization Enterprise Virtualization Elastic Cloud Applications Traditional & Legacy Dynamic Scaling Architecture Managed Silos Horizontal Technology Stack Heavy & Proprietary Distributed & Open Price/Performance Low High (4-7x better) Failure Domains Large Small Provisioning Slower & Manual Faster & 100% API Server consolidation and lower On-demand, scale-out Best For: datacenter mgmt costs infrastructure for new apps 19
  • 20. Nova-Network Classic OpenStack Networking, With That Old-Timey Feel FlatDHCP 4 Modes: Flat Flat DHCP VlanManager Multi-host HA • Flat/Flat DHCP only support a single VLAN for everything • VlanManager is the most feature-rich for multi-tenant • VlanManager requires trunking all VLANs down to each host • In a public cloud, max of 4096 VLANs limits tenants 20
  • 21. OCS Nova-Networking L3 Plugin Cloudscaling Exclusive Solution • Layer 3 networking for VMs, with DHCP and NAT service • Each VM is on its own Linux bridge, no shared layer 2 • Quantum not required • DHCP service is local to each compute host • AWS-like: floating IPs, elastic netblocks, and now VPC 21
  • 22. Brokerless Messaging With ZeroMQ Avoiding RabbitMQ’s Single Point Of Failure Nova-Compute Nova-Compute Single Point Of Failure RabbitMQ Broker Nova-Scheduler Nova-API Nova-Scheduler Nova-API RabbitMQ vs. ZeroMQ (Brokered) (Peer To Peer) 22
  • 24. OpenStack Networking APIs For All Your Networking Things • “Quantum” is now known as “OpenStack Networking” • Pluggable architecture, with APIs for all network functionality • Basic L3 plugin (finally!), but designed for L3 on flat L2 network • nova-network process still performs some very basic functions • Some plugins are more complete/stable than others 24
  • 25. OpenStack Networking Horizon REST over HTTP(S) REST Nova Quantum REST (Quantum API Service Plugin) RPC DHCP Agent Ceilometer OPENSTACK Notifi- NETWORK cations SERVICE Virtual Keystone Network REST Plugin Quantum Agent(s) SDN Provider Varies Solution Network Plugin Varies Physical Varies Hardware SQL Hypervisor Quantum DB compute node 25
  • 26. OpenStack Networking Modes • VLAN networks are supported using provider network plugins • Layer 3 plugin • GRE tunnel support using virtual network plugins • May be used with Linux Namespaces to isolate tenants from one another within a hypervisor • Many commercial vendor plugins 26
  • 27. Quantum Compatibility Lots Of Choices For Virtual Network/SDN Providers •Open vSwitch. http://www.openvswitch.org/openstack/documentation •Nicira NVP. quantum/plugins/nicira/nicira_nvp_plugin/README and http:// www.nicira.com/support. •Midokura. http://www.midokura.com/midonet/openstack/ •BigSwitch. http://www.bigswitch.com/sites/default/files/sdn_resources/ openstack_aag.pdf •Cisco. quantum/plugins/cisco/README and http://wiki.openstack.org/cisco- quantum •Linux Bridge. quantum/plugins/linuxbridge/README and http:// wiki.openstack.org/Quantum-Linux-Bridge-Plugin   •Ryu. quantum/plugins/ryu/README and http://www.osrg.net/ryu/ using_with_openstack.html •NEC OpenFlow. http://wiki.openstack.org/Quantum-NEC-OpenFlow-Plugin 27
  • 29. Default Layer 3 Design OpenStack Networking Won’t Magically Configure Routing VLANs * Diagram taken from OpenStack Networking official documentation 29
  • 30. Gaps In Functionality • VLAN networks are still problematic, Quantum doesn’t fix that • Layer 3 network plugin still gets deployed on shared layer 2 • Dynamic routing protocols are not supported by L3 plugin • Overlay networks are great, unless something goes wrong-- GRE tunnels hard to troubleshoot, we need tooling, diagnostics • Load-balancer-, firewall-, and VPN-as-a-service still in design phase, may not be production-ready until I or J release 30
  • 31. How Can We Make Things Better? There Are Plenty Of Ways To Contribute • Further work needed on the “metaplugin” that allows more than one plugin simultaneously • ZeroMQ support (there are known problems with DHCP, etc.) • Better high-availability, including active-active DHCP • Better support for custom tenant networks with overlapping IPs 31
  • 32. Questions 32
  • 33. Networking is NOT Free: Lessons In Network Design Dan Sneddon Member Technical Staff Twitter: @dxs Download: http://engineering.cloudscaling.com/portland13 CCA - NoDerivs 3.0 Unported License - Usage OK, no modifications, full attribution* * All unlicensed or borrowed works retain their original licenses