SlideShare une entreprise Scribd logo
1  sur  22
Télécharger pour lire hors ligne
Let’s Talk Container
Networking: Packet
and Project Calico
Adam Rothschild <asr@packet.net>
Co-Founder and SVP, Infrastructure
New York, NY - April 16, 2015
AGENDA
● Packet and Container Networking Use Cases
● Container Networking 101
● Leading Projects and Architectures
● To Overlay or Not to Overlay
● Review and Calico Intro
ABOUT PACKET
And what’s with the robot...
PACKET’S MANIFESTO
● Provide high-performance bare metal compute nodes, available globally in <5 minutes.
● Ensure high-performance networking at all layers:
○ Bonded NICs at 2x1G or 2x10G
○ Dense 10G/40G on the backbone (soon: 100G)
○ Backbone network designed with copious capacity and eyeball delivery in mind
○ High availability: no SPOF on the top of rack, or core network!
● Design for all of the above with “Internet scale” in mind:
○ Support many thousands of hosts inside a datacenter
○ Support many thousands of disparate customers
○ Support backend networking between datacenters
○ Support IP mobility, global load balancing, between datacenters
○ Legacy-free layer-3 datacenter network to meet these needs; zero VLANs and STP
throughout our entire production network (* some on our parallel management network,
out of full disclosure :-)
OUR INTERNETS; L3
EVERYWHERE
to POP to POP
Optical (n*10G)
Copper (1G)
2*1G bonded 2*1G bonded
BBR
DSR DSR
ESR ESR ESR
Servar Servar
BBR
Packet
Datacenter
Carrier Hotel POPCarrier Hotel POP
ESR
to NSP/peering
CSR CSR
to NSP/peering
CUSTOMER NEEDS
Stripped down to the essentials, Packet’s ecosystem and “Internet scale”
customers want:
● Simple node discovery, ability to move a service/container between hosts
without provider coordination
● Secure and free/cheap back-end transfer
● IP takeover (e.g. heartbeat) for HA/DR use cases
● Security zoning between server tiers
● VPN between diverse providers or cloud environments (e.g. mix and match
AWS, DO, SL compute)
CONTAINER NETWORKING
101
Defaults and Concepts
DOCKER NETWORKING
The Problem:
DOCKER NETWORKING
● Remember, Containers != Small VM’s
● Environments can be expected to have rapid creation / deletion of
containers
● Containers are expected to move around alot
● Finally something that is cross provider -- but what about the network?
● Security? What security?
DOCKER NETWORKING
To recap, if you’re running containers today, your networking options include:
● Run docker separately on each box; exposing ports on public or private interfaces so containers
can talk to each other.
● Run in-between / overlay solutions like Weave to fully abstract the networking.
● Run "ready-to-go" multi-host platforms for docker like Deis, Flynn, or Rancher.
● Build a shared bridge on a meshed network among your boxes and get your Docker services to
spawn containers there.
LEADING PROJECTS
Open Source Projects and Architectures
Route based
THE LANDSCAPE
FLANNEL
WEAVE
Overlay / tunnel based
ROCKET (PROPOSED)
WEAVE
RANCHER
1. Creates a full-mesh network between containers using IPSEC tunnels
2. Rancher server orchestrates IPSEC setup and key management. Fully
automatic. No manual steps required
3. IPSEC tunnels are created on demand to reduce overhead
4. Rancher server manage DHCP server and IP address allocation.
Allocates 10.42/16 address globally by default.
5. Rancher takes over container linking from Docker
6. Works with Docker native API and command line. Rancher listens for
Docker events and sets up networking in the background.
7. Optionally disable encryption to improve performance
THE APPROACHES: OVS
OCTO TECHNOLOGY
...seriously?!
TO OVERLAY OR NOT TO OVERLAY
That’s the Question
OVERLAY CONCERNS
I am an infrastructure operator, not a software engineer, by trade, and I see
many operational challenges:
● Performance bottleneck as additional encapsulations (e.g. VXLAN, GRE,
MPLS) and crypto (IPSec, SSL/TLS) are handled by the host
○ Not a problem with VMs, as network is constrained before compute
○ Very much a problem with powerful bare metal
● Overlay agents are required on the host/hypervisor layer
● Topology is extremely complex, difficult to understand and troubleshoot; is
the connectivity problem with the overlay or underlay?
● IP multicast required for some implementations; “BUM” flooding
● Annoying defaults: [double] NAT, hardcoded subnets (which could overlap)
● Scaling to large host count is still an issue with many implementations!
● All of this complexity for questionable gain, as we are about to see...
NEEDS REVISITED
Do we actually need an overlay for these?
● Secure and free/cheap back-end transfer
● Simple node discovery, ability to move a service/container between hosts
without provider coordination
● IP takeover (e.g. heartbeat) for HA/DR use cases
● Security zoning between server tiers
● VPN between diverse providers or cloud environments (e.g. mix and match
AWS, DO, SL compute)
VPN is the only real use case today, and it’s becoming decreasingly relevant as
the cloud interconnection market takes off. See: Equinix Cloud Exchange,
SoftLayer and Amazon Direct Connect, et al.
GET INVOLVED!
● Rocket Networking Spec: https://github.
com/coreos/rkt/issues/273
● Docker Networking Spec: https://github.
com/docker/docker/issues/8951
Questions or
comments
welcome:
asr@packet.net

Contenu connexe

Dernier

notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
Health
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Dernier (20)

notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Air Compressor reciprocating single stage
Air Compressor reciprocating single stageAir Compressor reciprocating single stage
Air Compressor reciprocating single stage
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 

Packet Project Calico Keynote Presentation

  • 1. Let’s Talk Container Networking: Packet and Project Calico Adam Rothschild <asr@packet.net> Co-Founder and SVP, Infrastructure New York, NY - April 16, 2015
  • 2. AGENDA ● Packet and Container Networking Use Cases ● Container Networking 101 ● Leading Projects and Architectures ● To Overlay or Not to Overlay ● Review and Calico Intro
  • 3. ABOUT PACKET And what’s with the robot...
  • 4. PACKET’S MANIFESTO ● Provide high-performance bare metal compute nodes, available globally in <5 minutes. ● Ensure high-performance networking at all layers: ○ Bonded NICs at 2x1G or 2x10G ○ Dense 10G/40G on the backbone (soon: 100G) ○ Backbone network designed with copious capacity and eyeball delivery in mind ○ High availability: no SPOF on the top of rack, or core network! ● Design for all of the above with “Internet scale” in mind: ○ Support many thousands of hosts inside a datacenter ○ Support many thousands of disparate customers ○ Support backend networking between datacenters ○ Support IP mobility, global load balancing, between datacenters ○ Legacy-free layer-3 datacenter network to meet these needs; zero VLANs and STP throughout our entire production network (* some on our parallel management network, out of full disclosure :-)
  • 5. OUR INTERNETS; L3 EVERYWHERE to POP to POP Optical (n*10G) Copper (1G) 2*1G bonded 2*1G bonded BBR DSR DSR ESR ESR ESR Servar Servar BBR Packet Datacenter Carrier Hotel POPCarrier Hotel POP ESR to NSP/peering CSR CSR to NSP/peering
  • 6. CUSTOMER NEEDS Stripped down to the essentials, Packet’s ecosystem and “Internet scale” customers want: ● Simple node discovery, ability to move a service/container between hosts without provider coordination ● Secure and free/cheap back-end transfer ● IP takeover (e.g. heartbeat) for HA/DR use cases ● Security zoning between server tiers ● VPN between diverse providers or cloud environments (e.g. mix and match AWS, DO, SL compute)
  • 9. DOCKER NETWORKING ● Remember, Containers != Small VM’s ● Environments can be expected to have rapid creation / deletion of containers ● Containers are expected to move around alot ● Finally something that is cross provider -- but what about the network? ● Security? What security?
  • 10. DOCKER NETWORKING To recap, if you’re running containers today, your networking options include: ● Run docker separately on each box; exposing ports on public or private interfaces so containers can talk to each other. ● Run in-between / overlay solutions like Weave to fully abstract the networking. ● Run "ready-to-go" multi-host platforms for docker like Deis, Flynn, or Rancher. ● Build a shared bridge on a meshed network among your boxes and get your Docker services to spawn containers there.
  • 11. LEADING PROJECTS Open Source Projects and Architectures
  • 14. WEAVE
  • 15. RANCHER 1. Creates a full-mesh network between containers using IPSEC tunnels 2. Rancher server orchestrates IPSEC setup and key management. Fully automatic. No manual steps required 3. IPSEC tunnels are created on demand to reduce overhead 4. Rancher server manage DHCP server and IP address allocation. Allocates 10.42/16 address globally by default. 5. Rancher takes over container linking from Docker 6. Works with Docker native API and command line. Rancher listens for Docker events and sets up networking in the background. 7. Optionally disable encryption to improve performance
  • 18. TO OVERLAY OR NOT TO OVERLAY That’s the Question
  • 19. OVERLAY CONCERNS I am an infrastructure operator, not a software engineer, by trade, and I see many operational challenges: ● Performance bottleneck as additional encapsulations (e.g. VXLAN, GRE, MPLS) and crypto (IPSec, SSL/TLS) are handled by the host ○ Not a problem with VMs, as network is constrained before compute ○ Very much a problem with powerful bare metal ● Overlay agents are required on the host/hypervisor layer ● Topology is extremely complex, difficult to understand and troubleshoot; is the connectivity problem with the overlay or underlay? ● IP multicast required for some implementations; “BUM” flooding ● Annoying defaults: [double] NAT, hardcoded subnets (which could overlap) ● Scaling to large host count is still an issue with many implementations! ● All of this complexity for questionable gain, as we are about to see...
  • 20. NEEDS REVISITED Do we actually need an overlay for these? ● Secure and free/cheap back-end transfer ● Simple node discovery, ability to move a service/container between hosts without provider coordination ● IP takeover (e.g. heartbeat) for HA/DR use cases ● Security zoning between server tiers ● VPN between diverse providers or cloud environments (e.g. mix and match AWS, DO, SL compute) VPN is the only real use case today, and it’s becoming decreasingly relevant as the cloud interconnection market takes off. See: Equinix Cloud Exchange, SoftLayer and Amazon Direct Connect, et al.
  • 21. GET INVOLVED! ● Rocket Networking Spec: https://github. com/coreos/rkt/issues/273 ● Docker Networking Spec: https://github. com/docker/docker/issues/8951