Deep-Dive on Container
Networking Architectures
Frans Van Rooyen
Infrastructure Architect
@jfvanrooyen
Adobe
© Copyright 2017 Dell Inc.2
Agenda
Container Networking
• Power of Containers
• Single Host
• Multiple Hosts
• What else I should know?
© Copyright 2017 Dell Inc.3
What’s the problem - Deploying an App
My App
Quality Engineering Beta Production
Repo
Apache
Glibc
© Copyright 2017 Dell Inc.4
Deploying a Docker App
Quality Engineering Beta Production
Docker
Repo
Docker Server
App
Docker Server
App
Docker Server
App
Docker Server
AppApp App App AppApp
© Copyright 2017 Dell Inc.5
Foundations – Single Host
When you install Docker, it creates three networks automatically.
Bridge: The bridge network represents the docker0 network present in all Docker installations. Unless you
specify otherwise with the docker run --network=<NETWORK> option, the Docker daemon connects
containers to this network by default.
None: The none network adds a container to a container-specific network stack. That container lacks a
network interface.
Host: The host network adds a container on the hosts network stack. You’ll find the network configuration
inside the container is identical to the host.
© Copyright 2017 Dell Inc.6
The default Bridge network in detail
© Copyright 2017 Dell Inc.7
User-defined networks
• You can create a new bridge network, overlay
network or MACVLAN network.
• You can also create a network plugin or remote
network written to your own specifications.
• You can create multiple networks.
• You can add containers to more than one
network. Containers can only communicate within
networks but not across networks.
• A container attached to two networks can
communicate with member containers in either
network.
© Copyright 2017 Dell Inc.8
What happens when we do this on thousands of
hosts…
Not Simple: Lots of manual configuration per host
Not Scalable: Hard to keep track off and maintain
Not Secure: No ability to define policies
© Copyright 2017 Dell Inc.9
Overlay
• Overlays use networking tunnels to deliver
communication across hosts
• This allows containers to behave as if they are on the
same machine by tunneling network subnets from one
host to the next; in essence, spanning one network
across multiple hosts
• Many tunneling technologies exist, such as virtual
extensible local area network (VXLAN)
© Copyright 2017 Dell Inc.10
Issues with Overlays
Not Simple: Complex to deploy and operate
Limited Scalable: Limitations on controllers
Performance: Extra hot because of encapsulation
© Copyright 2017 Dell Inc.11
Underlay
Underlay network drivers expose host interfaces (i.e., the
physical network interface at eth0) directly to containers or
VMs running on the host.
MACvlan
Ipvlan
Direct Routing
Fan Networking
Point-to-Point
© Copyright 2017 Dell Inc.12
Direct Routing
Simple:
L3 + BGP FTW
Scalable:
BGP?
Performance:
NO L2!
Secure: Policy based routing
© Copyright 2017 Dell Inc.13
Public Services? (Service Discovery)
New service comes up at random port
How do we get to it programmatically?
Tools used to do this:
Etcd
Consul
Zookeeper
© Copyright 2017 Dell Inc.14
Load Balancing in a Micro-service World
Internal
HAProxy
Ngnix
Marathon-LB
External
AVI
© Copyright 2017 Dell Inc.15
Security for Containers
• Cilium is open source software for providing
and transparently securing the network
connectivity between application services
deployed using Linux container management
platforms like Docker and Kubernetes.
• At the foundation of Cilium is a new Linux
kernel technology called eBPF, which
enables the dynamic insertion of BPF
bytecode into the Linux kernel. Cilium
generates individual BPF programs for each
container to provide networking, security and
visibility.
© Copyright 2017 Dell Inc.16
A word about Orchestrators
DC/OS, K8S, Swarm
© Copyright 2017 Dell Inc.17
Adobe Use Case – Project Ethos
Developer
Build and Deploy
AWS Azure Private
CoreOS CoreOS CoreOS
Infrastructure
Service Discovery
LB
Consumer
QE ClusterDev Cluster Prod Cluster
Platform
Deep-Dive on Container Networking Architectures - Frans van Rooyen - Dell EMC World 2017

More Related Content

PPTX
Docker for Private Clouds with RackHD - Justin Kenney and Aaron Spiegel - Del...
PPTX
Reduce Your Configuration Management Nightmare with Docker - Jonah Horowitz -...
PPTX
Kubernetes and ScaleIO demo - Clinton Kitson - Dell EMC World 2017
PPTX
Storage Integrations for Container Orchestrators
PPTX
Deep Dive on Container Storage Architectures - Clinton Kitson and Chris Duche...
PPTX
Containers and their Ecosystem: An Introduction to Containers - Kendrick Cole...
PPTX
Large Scale Cassandra Made Better in Containers - Chris Duchesne and Aaron Sp...
PPTX
Deep Dive on REX-Ray, libStorage and the Container Storage Interface - Clinto...
Docker for Private Clouds with RackHD - Justin Kenney and Aaron Spiegel - Del...
Reduce Your Configuration Management Nightmare with Docker - Jonah Horowitz -...
Kubernetes and ScaleIO demo - Clinton Kitson - Dell EMC World 2017
Storage Integrations for Container Orchestrators
Deep Dive on Container Storage Architectures - Clinton Kitson and Chris Duche...
Containers and their Ecosystem: An Introduction to Containers - Kendrick Cole...
Large Scale Cassandra Made Better in Containers - Chris Duchesne and Aaron Sp...
Deep Dive on REX-Ray, libStorage and the Container Storage Interface - Clinto...

What's hot (20)

PPTX
There's More to Docker than the Container: The Docker Platform - Kendrick Col...
PPT
Google does containers: Hello Kubernetes - Steve Wong and Vladimir Vivien - D...
PPTX
The Open Source Effect on Dell EMC - Joshua Bernstein - Dell EMC World 2017
PPTX
{code} and containers
PPT
Mesosphere and the Enterprise: Run Your Applications on Apache Mesos - Steve ...
PPTX
Managing ScaleIO as Software on Mesos - David vonThenen - Dell EMC World 2017
PPTX
Data Analytics Using Container Persistence Through SMACK - Manny Rodriguez-Pe...
PPTX
Leading an Open Source community at a large Enterprise - Jonas Rosland - Open...
PPTX
Managing ScaleIO as Software on Mesos
PPTX
Docker Federal Summit 2017 General Session
PDF
Containers and microservices for realists
PDF
DCEU 18: Edge Computing with Docker Enterprise
PPTX
Cloudy with a Chance of Databases
PPTX
Why cloud native matters
PDF
Build Robust Blockchain Services with Hyperledger and Containers
PPTX
Microsoft Ignite 2017 - SQL Server on Kubernetes, Swarm, and Open Shift
PPTX
DockerCon SF 2015: Using Docker to Keep Houses Warm: Highly Distributed Micro...
PDF
Containers and Kubernetes
PPTX
Cloud-Native Applications with Microservices and Containers
PPTX
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
There's More to Docker than the Container: The Docker Platform - Kendrick Col...
Google does containers: Hello Kubernetes - Steve Wong and Vladimir Vivien - D...
The Open Source Effect on Dell EMC - Joshua Bernstein - Dell EMC World 2017
{code} and containers
Mesosphere and the Enterprise: Run Your Applications on Apache Mesos - Steve ...
Managing ScaleIO as Software on Mesos - David vonThenen - Dell EMC World 2017
Data Analytics Using Container Persistence Through SMACK - Manny Rodriguez-Pe...
Leading an Open Source community at a large Enterprise - Jonas Rosland - Open...
Managing ScaleIO as Software on Mesos
Docker Federal Summit 2017 General Session
Containers and microservices for realists
DCEU 18: Edge Computing with Docker Enterprise
Cloudy with a Chance of Databases
Why cloud native matters
Build Robust Blockchain Services with Hyperledger and Containers
Microsoft Ignite 2017 - SQL Server on Kubernetes, Swarm, and Open Shift
DockerCon SF 2015: Using Docker to Keep Houses Warm: Highly Distributed Micro...
Containers and Kubernetes
Cloud-Native Applications with Microservices and Containers
RICON 2014 - Build a Cloud Day - Crash Course Open Source Cloud Computing
Ad

Similar to Deep-Dive on Container Networking Architectures - Frans van Rooyen - Dell EMC World 2017 (20)

PDF
Building a sdn solution for the deployment of web application stacks in docker
PDF
OpenStack Tokyo 2015: Connecting the Dots with Neutron
PDF
DockerCon EU 2015: Docker Networking Deep Dive
PPTX
Docker with devops program
PPTX
Docker with devops program
PDF
Docker meetup talk - chicago March 2014
PPTX
Docker Networking Overview
PDF
08 sdn system intelligence short public beijing sdn conference - 130828
PDF
Implementing DevOps – How it came to the fore, its key elements and example d...
PDF
Monitoring thecloud openstackdaysturkey
PDF
Triton + Docker, July 2015
PDF
KubernetesNetworkingAndImplementation-Lecture.pdf
PPTX
Microservices and containers networking: Contiv, an industry leading open sou...
PDF
Docker vs. Kubernetes vs. Serverless
PPTX
Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]
PDF
Docker Overview - Rise of the Containers
PDF
Container Networking Deep Dive
PDF
Infoblox Cloud Solutions - Cisco Mid-Atlantic User Group
PDF
ELCE 2012 - Dive into Android Networking: Adding Ethernet Connectivity
PDF
Docker Enterprise Networking and Cisco Contiv - Cisco Live 2017 BRKSDN-2256
Building a sdn solution for the deployment of web application stacks in docker
OpenStack Tokyo 2015: Connecting the Dots with Neutron
DockerCon EU 2015: Docker Networking Deep Dive
Docker with devops program
Docker with devops program
Docker meetup talk - chicago March 2014
Docker Networking Overview
08 sdn system intelligence short public beijing sdn conference - 130828
Implementing DevOps – How it came to the fore, its key elements and example d...
Monitoring thecloud openstackdaysturkey
Triton + Docker, July 2015
KubernetesNetworkingAndImplementation-Lecture.pdf
Microservices and containers networking: Contiv, an industry leading open sou...
Docker vs. Kubernetes vs. Serverless
Docker, cornerstone of cloud hybridation ? [Cloud Expo Europe 2016]
Docker Overview - Rise of the Containers
Container Networking Deep Dive
Infoblox Cloud Solutions - Cisco Mid-Atlantic User Group
ELCE 2012 - Dive into Android Networking: Adding Ethernet Connectivity
Docker Enterprise Networking and Cisco Contiv - Cisco Live 2017 BRKSDN-2256
Ad

Recently uploaded (20)

PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PDF
substrate PowerPoint Presentation basic one
PDF
Electrocardiogram sequences data analytics and classification using unsupervi...
PDF
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
PDF
A symptom-driven medical diagnosis support model based on machine learning te...
PDF
SaaS reusability assessment using machine learning techniques
PDF
4 layer Arch & Reference Arch of IoT.pdf
PPTX
Internet of Everything -Basic concepts details
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PPTX
Build automations faster and more reliably with UiPath ScreenPlay
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PDF
Examining Bias in AI Generated News Content.pdf
PDF
Ensemble model-based arrhythmia classification with local interpretable model...
PDF
Human Computer Interaction Miterm Lesson
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PPTX
Module 1 Introduction to Web Programming .pptx
PDF
Auditboard EB SOX Playbook 2023 edition.
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
substrate PowerPoint Presentation basic one
Electrocardiogram sequences data analytics and classification using unsupervi...
MENA-ECEONOMIC-CONTEXT-VC MENA-ECEONOMIC
A symptom-driven medical diagnosis support model based on machine learning te...
SaaS reusability assessment using machine learning techniques
4 layer Arch & Reference Arch of IoT.pdf
Internet of Everything -Basic concepts details
Lung cancer patients survival prediction using outlier detection and optimize...
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
Build automations faster and more reliably with UiPath ScreenPlay
EIS-Webinar-Regulated-Industries-2025-08.pdf
Examining Bias in AI Generated News Content.pdf
Ensemble model-based arrhythmia classification with local interpretable model...
Human Computer Interaction Miterm Lesson
Rapid Prototyping: A lecture on prototyping techniques for interface design
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
Module 1 Introduction to Web Programming .pptx
Auditboard EB SOX Playbook 2023 edition.

Deep-Dive on Container Networking Architectures - Frans van Rooyen - Dell EMC World 2017

  • 1. Deep-Dive on Container Networking Architectures Frans Van Rooyen Infrastructure Architect @jfvanrooyen Adobe
  • 2. © Copyright 2017 Dell Inc.2 Agenda Container Networking • Power of Containers • Single Host • Multiple Hosts • What else I should know?
  • 3. © Copyright 2017 Dell Inc.3 What’s the problem - Deploying an App My App Quality Engineering Beta Production Repo Apache Glibc
  • 4. © Copyright 2017 Dell Inc.4 Deploying a Docker App Quality Engineering Beta Production Docker Repo Docker Server App Docker Server App Docker Server App Docker Server AppApp App App AppApp
  • 5. © Copyright 2017 Dell Inc.5 Foundations – Single Host When you install Docker, it creates three networks automatically. Bridge: The bridge network represents the docker0 network present in all Docker installations. Unless you specify otherwise with the docker run --network=<NETWORK> option, the Docker daemon connects containers to this network by default. None: The none network adds a container to a container-specific network stack. That container lacks a network interface. Host: The host network adds a container on the hosts network stack. You’ll find the network configuration inside the container is identical to the host.
  • 6. © Copyright 2017 Dell Inc.6 The default Bridge network in detail
  • 7. © Copyright 2017 Dell Inc.7 User-defined networks • You can create a new bridge network, overlay network or MACVLAN network. • You can also create a network plugin or remote network written to your own specifications. • You can create multiple networks. • You can add containers to more than one network. Containers can only communicate within networks but not across networks. • A container attached to two networks can communicate with member containers in either network.
  • 8. © Copyright 2017 Dell Inc.8 What happens when we do this on thousands of hosts… Not Simple: Lots of manual configuration per host Not Scalable: Hard to keep track off and maintain Not Secure: No ability to define policies
  • 9. © Copyright 2017 Dell Inc.9 Overlay • Overlays use networking tunnels to deliver communication across hosts • This allows containers to behave as if they are on the same machine by tunneling network subnets from one host to the next; in essence, spanning one network across multiple hosts • Many tunneling technologies exist, such as virtual extensible local area network (VXLAN)
  • 10. © Copyright 2017 Dell Inc.10 Issues with Overlays Not Simple: Complex to deploy and operate Limited Scalable: Limitations on controllers Performance: Extra hot because of encapsulation
  • 11. © Copyright 2017 Dell Inc.11 Underlay Underlay network drivers expose host interfaces (i.e., the physical network interface at eth0) directly to containers or VMs running on the host. MACvlan Ipvlan Direct Routing Fan Networking Point-to-Point
  • 12. © Copyright 2017 Dell Inc.12 Direct Routing Simple: L3 + BGP FTW Scalable: BGP? Performance: NO L2! Secure: Policy based routing
  • 13. © Copyright 2017 Dell Inc.13 Public Services? (Service Discovery) New service comes up at random port How do we get to it programmatically? Tools used to do this: Etcd Consul Zookeeper
  • 14. © Copyright 2017 Dell Inc.14 Load Balancing in a Micro-service World Internal HAProxy Ngnix Marathon-LB External AVI
  • 15. © Copyright 2017 Dell Inc.15 Security for Containers • Cilium is open source software for providing and transparently securing the network connectivity between application services deployed using Linux container management platforms like Docker and Kubernetes. • At the foundation of Cilium is a new Linux kernel technology called eBPF, which enables the dynamic insertion of BPF bytecode into the Linux kernel. Cilium generates individual BPF programs for each container to provide networking, security and visibility.
  • 16. © Copyright 2017 Dell Inc.16 A word about Orchestrators DC/OS, K8S, Swarm
  • 17. © Copyright 2017 Dell Inc.17 Adobe Use Case – Project Ethos Developer Build and Deploy AWS Azure Private CoreOS CoreOS CoreOS Infrastructure Service Discovery LB Consumer QE ClusterDev Cluster Prod Cluster Platform

Editor's Notes

  • #13: Uses BGP to distribute routes for every network —  specifically to that workload using a /32 — which allows it to seamlessly integrate with existing data center infrastructure without the need for overlays. Without the overhead of overlays or encapsulation, the result is networking with exceptional performance and scale. Routable IP addresses for containers expose the IP address to the rest of the world; hence, ports are inherently exposed to the outside world. Network engineers trained and accustomed to deploying, diagnosing and operating networks using routing protocols may find direct routing easier to digest. However, it’s worth noting that Calico doesn’t support overlapping IP addresses.
  • #14: The basic idea behind service discovery is that any new instance of an application should be able to programmatically identify the details of its current environment. This is required in order for the new instance to be able to "plug in" to the existing application environment without manual intervention. Service discovery tools are generally implemented as a globally accessible registry that stores information about the instances or services that are currently operating. Most of the time, in order to make this configuration fault tolerant and scalable, the registry is distributed among the available hosts in the infrastructure.