SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Docker Networking In OpenStack
What you need to know now
Fawad Khaliq
• OpenStack Community Member
• Developer in Neutron
• Maintainer of PLUMgrid Neutron
Plugin (networking-plumgrid)
• How to contact and follow me
fawad@plumgrid.com
@fawadkhaliq
irc:fawadkhaliq
About Me
2
• Docker Background
– The Rapid Adoption
– Use Cases
– Nova-Docker
• Docker Networking
– Progress Report
– Unified VM and Docker Networking with Neutron
– Demo Time!
• Key Takeaways
3
Agenda
• A common packaging format for cloud
applications.
• A high-level API to provide lightweight
containers that run processes in isolation.
• 100+ million Docker Engine downloads
• 45,000+ applications in Docker Hub
Introduction to Docker
4
Why The Explosion? It’s Lightweight
5
Server Hardware
Host Operating System
Hypervisor
Guest OS Guest OS Guest OS
bins/libs bins/libs bins/libs
App A App A* App B
VMs
Server Hardware
Host Operating System
Docker Engine
bins/libs bins/libs
App A App A* App B
Containers
• Easy Application Deployment
• Continuous Integration
• Application Lifecycle
• Continuous Delivery
• Platform-as-a-Service (PaaS)
• Distributed Applications
Composition
Docker Use Cases
6
Server Hardware
Host Operating System
Docker Engine
Load
Balancer
Database
Application
Servers
https://www.docker.com/resources/usecases/
• Nova Compute
– driver for launching Docker containers as Nova instances
– Offers an overlap of features between Nova and Docker
– stackforge/nova-docker
• Heat
• Magnum
– Magnum design sessions; please attend and contribute!
7
Docker Networking Options – Circa 2013-14
8
container B
1
container A
Docker Proxy
iptables
Docker0
Linux Bridge
container A container B
Unix domain sockets2
container A
Host
network
3
Docker Networking Today – libnetwork
9
http://blog.docker.com/2015/04/docker-networking-takes-a-step-in-the-right-direction-2/
https://github.com/docker/libnetwork
OpenStack Networking Today - Neutron
10
PLUMgrid Neutron Plugin
Neutron API
PLUMgrid ONS Backend
PLUMgrid ONS
100% Software
On Demand NetworksPluggable and API Driven
Networking Must Be Unified!
11
Common Networking LayerPLUMgrid Open Networking Suite for OpenStack
Why? VMs and Containers Must Communicate With Each Other!
12
nova-compute
Docker Engine
nova-compute
Libvirt
VM1 VM2Container1 Container2
nova-api
network 1
network 2
How It Works
13
Initiate
Create Port
Bind VIF
PLUMgrid
Neutron Plugin
Neutron API
Nova API
Nova
Compute
Nova Docker
PLUMgrid ONS Backend
Launch
Docker
Is This Even Real?
14
Demo Time!
Demo Setup
16
Kilo DevStack
Neutron with PLUMgrid ONS Plugin
Compute
Nova Libvirt Driver
PLUMgrid Edge
Controller + Compute
Nova Docker Driver
PLUMgrid Director PLUMgrid Gateway
PLUMgrid Edge
What I Will Be Doing
17
1. Provision a network
2. Spawn a VM and a Docker container on the same network
3. Validate connectivity across hosts and Nova drivers
4. Create router and connect private network to external network and ping
openstack.org
5. Associate Floating IPs and check connectivity
6. Update Security Groups and see network topology disallow traffic.
What We Will End Up With
18
Server 1(Docker Compute) Server 2 (Libvirt Compute)
Physical Network
Docker VM
NAT
Virtual Network
Router
What I Just Did
19
1. Provisioned a network
2. Spawned a VM and a Docker container on two different hosts on same
network
3. Validated connectivity across hosts and Nova drivers
4. Created a router and connected private network to external network and
ping’ed openstack.org
5. Associated Floating IPs and checked connectivity
6. Updated Security Groups and saw network topology disallow traffic.
What’s next?
20
• Contribute to Magnum-Networking (Neutron)
• Provide with common Neutron API for Containers Networking
in Magnum
Key Takeaways
21
1. Docker Has Arrived In OpenStack
2. Docker Networking Has Evolved (For the Better)
3. PLUMgrid ONS Enables Unified Networking for
Docker and VMs in OpenStack
– Come visit us at Booth S14
22
Join OpenStack
Networking
(Neutron)
Development
Group!
Q&A
Thank you!

Weitere ähnliche Inhalte

Was ist angesagt?

Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Containers in production with Docker, CoreOS, Kubernetes and Apache StratosContainers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Lakmal Warusawithana
 
Container Network Interface: Network Plugins for Kubernetes and beyond
Container Network Interface: Network Plugins for Kubernetes and beyondContainer Network Interface: Network Plugins for Kubernetes and beyond
Container Network Interface: Network Plugins for Kubernetes and beyond
KubeAcademy
 

Was ist angesagt? (19)

Docker 1.11 @ Docker SF Meetup
Docker 1.11 @ Docker SF MeetupDocker 1.11 @ Docker SF Meetup
Docker 1.11 @ Docker SF Meetup
 
Docker 1.12 networking deep dive
Docker 1.12 networking deep diveDocker 1.12 networking deep dive
Docker 1.12 networking deep dive
 
Docker Networking - Current Status and goals of Experimental Networking
Docker Networking - Current Status and goals of Experimental NetworkingDocker Networking - Current Status and goals of Experimental Networking
Docker Networking - Current Status and goals of Experimental Networking
 
Docker networking
Docker networkingDocker networking
Docker networking
 
Tech Talk by Gal Sagie: Kuryr - Connecting containers networking to OpenStack...
Tech Talk by Gal Sagie: Kuryr - Connecting containers networking to OpenStack...Tech Talk by Gal Sagie: Kuryr - Connecting containers networking to OpenStack...
Tech Talk by Gal Sagie: Kuryr - Connecting containers networking to OpenStack...
 
Docker Orchestration at Production Scale
Docker Orchestration at Production Scale Docker Orchestration at Production Scale
Docker Orchestration at Production Scale
 
Introction to docker swarm
Introction to docker swarmIntroction to docker swarm
Introction to docker swarm
 
Project kuryr returns: Docker delivered, Kubernetes Next
Project kuryr returns: Docker delivered, Kubernetes NextProject kuryr returns: Docker delivered, Kubernetes Next
Project kuryr returns: Docker delivered, Kubernetes Next
 
Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Containers in production with Docker, CoreOS, Kubernetes and Apache StratosContainers in production with Docker, CoreOS, Kubernetes and Apache Stratos
Containers in production with Docker, CoreOS, Kubernetes and Apache Stratos
 
DockerDay2015: Docker Networking
DockerDay2015: Docker NetworkingDockerDay2015: Docker Networking
DockerDay2015: Docker Networking
 
Docker Machine & Docker Swarm
Docker Machine & Docker SwarmDocker Machine & Docker Swarm
Docker Machine & Docker Swarm
 
Nebulaworks Docker Overview 09-22-2015
Nebulaworks Docker Overview 09-22-2015Nebulaworks Docker Overview 09-22-2015
Nebulaworks Docker Overview 09-22-2015
 
Octo talk : docker multi-host networking
Octo talk : docker multi-host networking Octo talk : docker multi-host networking
Octo talk : docker multi-host networking
 
Containerd: Building a Container Supervisor by Michael Crosby
Containerd: Building a Container Supervisor by Michael CrosbyContainerd: Building a Container Supervisor by Michael Crosby
Containerd: Building a Container Supervisor by Michael Crosby
 
What's New in Docker 1.12?
What's New in Docker 1.12?What's New in Docker 1.12?
What's New in Docker 1.12?
 
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
Docker Meetup: Docker Networking 1.11, by Madhu VenugopalDocker Meetup: Docker Networking 1.11, by Madhu Venugopal
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
 
Docker Networking Overview
Docker Networking OverviewDocker Networking Overview
Docker Networking Overview
 
Docker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting TechniquesDocker Networking - Common Issues and Troubleshooting Techniques
Docker Networking - Common Issues and Troubleshooting Techniques
 
Container Network Interface: Network Plugins for Kubernetes and beyond
Container Network Interface: Network Plugins for Kubernetes and beyondContainer Network Interface: Network Plugins for Kubernetes and beyond
Container Network Interface: Network Plugins for Kubernetes and beyond
 

Andere mochten auch

How to grow a vegetable garden
How to grow a vegetable gardenHow to grow a vegetable garden
How to grow a vegetable garden
natalie_0302
 
Capstone Presentation _ NND
Capstone Presentation _ NNDCapstone Presentation _ NND
Capstone Presentation _ NND
Nisel Desai
 

Andere mochten auch (20)

Docker Networking with New Ipvlan and Macvlan Drivers
Docker Networking with New Ipvlan and Macvlan DriversDocker Networking with New Ipvlan and Macvlan Drivers
Docker Networking with New Ipvlan and Macvlan Drivers
 
Network Virtualization Implementation in OpenDaylight by the OVSDB Plugin Pro...
Network Virtualization Implementation in OpenDaylight by the OVSDB Plugin Pro...Network Virtualization Implementation in OpenDaylight by the OVSDB Plugin Pro...
Network Virtualization Implementation in OpenDaylight by the OVSDB Plugin Pro...
 
Opendaylight app development
Opendaylight app developmentOpendaylight app development
Opendaylight app development
 
SUSEcon Crowbar Presentation
SUSEcon Crowbar PresentationSUSEcon Crowbar Presentation
SUSEcon Crowbar Presentation
 
Networking in Docker Containers
Networking in Docker ContainersNetworking in Docker Containers
Networking in Docker Containers
 
Testing the limits of cloud networks
Testing the limits of cloud networksTesting the limits of cloud networks
Testing the limits of cloud networks
 
How to grow a vegetable garden
How to grow a vegetable gardenHow to grow a vegetable garden
How to grow a vegetable garden
 
Método de proyecto para la educación en tecnología
Método de proyecto para la educación en tecnologíaMétodo de proyecto para la educación en tecnología
Método de proyecto para la educación en tecnología
 
See Your OpenStack Network Like Never Before
See Your OpenStack Network Like Never BeforeSee Your OpenStack Network Like Never Before
See Your OpenStack Network Like Never Before
 
Building a Scalable Federated Hybrid Cloud
Building a Scalable Federated Hybrid CloudBuilding a Scalable Federated Hybrid Cloud
Building a Scalable Federated Hybrid Cloud
 
You Can Build Your OpenStack and Consume it Too
You Can Build Your OpenStack and Consume it TooYou Can Build Your OpenStack and Consume it Too
You Can Build Your OpenStack and Consume it Too
 
Capstone Presentation _ NND
Capstone Presentation _ NNDCapstone Presentation _ NND
Capstone Presentation _ NND
 
Q1 - evaluation
Q1 - evaluationQ1 - evaluation
Q1 - evaluation
 
ERA_Overview
ERA_OverviewERA_Overview
ERA_Overview
 
How to Quickly Implement a Secure Cloud for Government and Military | Webinar
How to Quickly Implement a Secure Cloud for Government and Military | WebinarHow to Quickly Implement a Secure Cloud for Government and Military | Webinar
How to Quickly Implement a Secure Cloud for Government and Military | Webinar
 
SDN Service Provider use cases Network Function Virtualization (NFV)
SDN Service Provider use cases Network Function Virtualization (NFV)SDN Service Provider use cases Network Function Virtualization (NFV)
SDN Service Provider use cases Network Function Virtualization (NFV)
 
Communicable disease
Communicable diseaseCommunicable disease
Communicable disease
 
Monitoring Security Policies for Container and OpenStack Clouds
Monitoring Security Policies for Container and OpenStack CloudsMonitoring Security Policies for Container and OpenStack Clouds
Monitoring Security Policies for Container and OpenStack Clouds
 
Tiffanie Pierce Vitae
Tiffanie Pierce VitaeTiffanie Pierce Vitae
Tiffanie Pierce Vitae
 
OpenStack and Application Delivery: Joy and Pain of an Intricate Relationship
OpenStack and Application Delivery: Joy and Pain of an Intricate RelationshipOpenStack and Application Delivery: Joy and Pain of an Intricate Relationship
OpenStack and Application Delivery: Joy and Pain of an Intricate Relationship
 

Ähnlich wie Docker Networking in OpenStack: What you need to know now

Ähnlich wie Docker Networking in OpenStack: What you need to know now (20)

DockerCon EU 2015 Barcelona
DockerCon EU 2015 BarcelonaDockerCon EU 2015 Barcelona
DockerCon EU 2015 Barcelona
 
Docker Networking : 0 to 60mph slides
Docker Networking : 0 to 60mph slidesDocker Networking : 0 to 60mph slides
Docker Networking : 0 to 60mph slides
 
DockerCon EU 2018 Workshop: Container Networking for Swarm and Kubernetes in ...
DockerCon EU 2018 Workshop: Container Networking for Swarm and Kubernetes in ...DockerCon EU 2018 Workshop: Container Networking for Swarm and Kubernetes in ...
DockerCon EU 2018 Workshop: Container Networking for Swarm and Kubernetes in ...
 
Webinar: From Development to Production with Docker and MongoDB
Webinar: From Development to Production with Docker and MongoDBWebinar: From Development to Production with Docker and MongoDB
Webinar: From Development to Production with Docker and MongoDB
 
Docker Platform and Ecosystem Nov 2015
Docker Platform and Ecosystem Nov 2015Docker Platform and Ecosystem Nov 2015
Docker Platform and Ecosystem Nov 2015
 
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on ContainersWSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
 
Deploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on ContainersDeploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on Containers
 
Container Orchestration Integration: OpenStack Kuryr & Apache Mesos
Container Orchestration Integration: OpenStack Kuryr & Apache MesosContainer Orchestration Integration: OpenStack Kuryr & Apache Mesos
Container Orchestration Integration: OpenStack Kuryr & Apache Mesos
 
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack NetworkingONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
ONUG Tutorial: Bridges and Tunnels Drive Through OpenStack Networking
 
Conatiner Networking with MidoNet
Conatiner Networking with MidoNetConatiner Networking with MidoNet
Conatiner Networking with MidoNet
 
Dockerizing OpenStack for High Availability
Dockerizing OpenStack for High AvailabilityDockerizing OpenStack for High Availability
Dockerizing OpenStack for High Availability
 
Open stackaustinmeetupsept21
Open stackaustinmeetupsept21Open stackaustinmeetupsept21
Open stackaustinmeetupsept21
 
Clocker: Docker in the Cloud
Clocker: Docker in the CloudClocker: Docker in the Cloud
Clocker: Docker in the Cloud
 
Dockercon 16 Recap
Dockercon 16 RecapDockercon 16 Recap
Dockercon 16 Recap
 
Secure Your Containers: What Network Admins Should Know When Moving Into Prod...
Secure Your Containers: What Network Admins Should Know When Moving Into Prod...Secure Your Containers: What Network Admins Should Know When Moving Into Prod...
Secure Your Containers: What Network Admins Should Know When Moving Into Prod...
 
99cloud Docker Training module 2
99cloud Docker Training module 299cloud Docker Training module 2
99cloud Docker Training module 2
 
Network plugins for kubernetes
Network plugins for kubernetesNetwork plugins for kubernetes
Network plugins for kubernetes
 
Simulating Production with Clocker
Simulating Production with ClockerSimulating Production with Clocker
Simulating Production with Clocker
 
Building a sdn solution for the deployment of web application stacks in docker
Building a sdn solution for the deployment of web application stacks in dockerBuilding a sdn solution for the deployment of web application stacks in docker
Building a sdn solution for the deployment of web application stacks in docker
 
Killer Docker Workflows for Development
Killer Docker Workflows for DevelopmentKiller Docker Workflows for Development
Killer Docker Workflows for Development
 

Mehr von PLUMgrid

Mehr von PLUMgrid (19)

SDN Scale-out Testing at OpenStack Innovation Center (OSIC)
SDN Scale-out Testing at OpenStack Innovation Center (OSIC)SDN Scale-out Testing at OpenStack Innovation Center (OSIC)
SDN Scale-out Testing at OpenStack Innovation Center (OSIC)
 
In-kernel Analytics and Tracing with eBPF for OpenStack Clouds
In-kernel Analytics and Tracing with eBPF for OpenStack CloudsIn-kernel Analytics and Tracing with eBPF for OpenStack Clouds
In-kernel Analytics and Tracing with eBPF for OpenStack Clouds
 
Service Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices ArchitectureService Discovery and Registration in a Microservices Architecture
Service Discovery and Registration in a Microservices Architecture
 
Delivering Composable NFV Services for Business, Residential and Mobile Edge
Delivering Composable NFV Services for Business, Residential and Mobile EdgeDelivering Composable NFV Services for Business, Residential and Mobile Edge
Delivering Composable NFV Services for Business, Residential and Mobile Edge
 
Design and Deploy Secure Clouds for Financial Services Use Cases
Design and Deploy Secure Clouds for Financial Services Use CasesDesign and Deploy Secure Clouds for Financial Services Use Cases
Design and Deploy Secure Clouds for Financial Services Use Cases
 
You Can Build Your OpenStack and Consume it Too
You Can Build Your OpenStack and Consume it TooYou Can Build Your OpenStack and Consume it Too
You Can Build Your OpenStack and Consume it Too
 
See Your OpenStack Network Like Never Before with Real-time Visibility and Mo...
See Your OpenStack Network Like Never Before with Real-time Visibility and Mo...See Your OpenStack Network Like Never Before with Real-time Visibility and Mo...
See Your OpenStack Network Like Never Before with Real-time Visibility and Mo...
 
Networking For Nested Containers: Magnum, Kuryr, Neutron Integration
Networking For Nested Containers: Magnum, Kuryr, Neutron IntegrationNetworking For Nested Containers: Magnum, Kuryr, Neutron Integration
Networking For Nested Containers: Magnum, Kuryr, Neutron Integration
 
Implementing vCPE with OpenStack and Software Defined Networks
Implementing vCPE with OpenStack and Software Defined NetworksImplementing vCPE with OpenStack and Software Defined Networks
Implementing vCPE with OpenStack and Software Defined Networks
 
Hands-on Lab: Test Drive Your OpenStack Network
Hands-on Lab: Test Drive Your OpenStack NetworkHands-on Lab: Test Drive Your OpenStack Network
Hands-on Lab: Test Drive Your OpenStack Network
 
Securing Micro Services in Cloud Foundry
Securing Micro Services in Cloud FoundrySecuring Micro Services in Cloud Foundry
Securing Micro Services in Cloud Foundry
 
Docker Networking in Swarm, Mesos and Kubernetes [Docker Meetup Santa Clara |...
Docker Networking in Swarm, Mesos and Kubernetes [Docker Meetup Santa Clara |...Docker Networking in Swarm, Mesos and Kubernetes [Docker Meetup Santa Clara |...
Docker Networking in Swarm, Mesos and Kubernetes [Docker Meetup Santa Clara |...
 
Unified Underlay and Overlay SDNs for OpenStack Clouds
Unified Underlay and Overlay SDNs for OpenStack CloudsUnified Underlay and Overlay SDNs for OpenStack Clouds
Unified Underlay and Overlay SDNs for OpenStack Clouds
 
Managing Multi-hypervisor OpenStack Cloud with Single Virtual Network
Managing Multi-hypervisor OpenStack Cloud with Single Virtual NetworkManaging Multi-hypervisor OpenStack Cloud with Single Virtual Network
Managing Multi-hypervisor OpenStack Cloud with Single Virtual Network
 
Revolutionizing IT and Telecom Industry with OpenStack, SDN and NFV
Revolutionizing IT and Telecom Industry with OpenStack, SDN and NFVRevolutionizing IT and Telecom Industry with OpenStack, SDN and NFV
Revolutionizing IT and Telecom Industry with OpenStack, SDN and NFV
 
EBPF and Linux Networking
EBPF and Linux NetworkingEBPF and Linux Networking
EBPF and Linux Networking
 
Federation manager demo
Federation manager demoFederation manager demo
Federation manager demo
 
Network Monitoring and Analytics
Network Monitoring and AnalyticsNetwork Monitoring and Analytics
Network Monitoring and Analytics
 
Navigating OpenStack Networking
Navigating OpenStack NetworkingNavigating OpenStack Networking
Navigating OpenStack Networking
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Kürzlich hochgeladen (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
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?
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Docker Networking in OpenStack: What you need to know now

  • 1. Docker Networking In OpenStack What you need to know now Fawad Khaliq
  • 2. • OpenStack Community Member • Developer in Neutron • Maintainer of PLUMgrid Neutron Plugin (networking-plumgrid) • How to contact and follow me fawad@plumgrid.com @fawadkhaliq irc:fawadkhaliq About Me 2
  • 3. • Docker Background – The Rapid Adoption – Use Cases – Nova-Docker • Docker Networking – Progress Report – Unified VM and Docker Networking with Neutron – Demo Time! • Key Takeaways 3 Agenda
  • 4. • A common packaging format for cloud applications. • A high-level API to provide lightweight containers that run processes in isolation. • 100+ million Docker Engine downloads • 45,000+ applications in Docker Hub Introduction to Docker 4
  • 5. Why The Explosion? It’s Lightweight 5 Server Hardware Host Operating System Hypervisor Guest OS Guest OS Guest OS bins/libs bins/libs bins/libs App A App A* App B VMs Server Hardware Host Operating System Docker Engine bins/libs bins/libs App A App A* App B Containers
  • 6. • Easy Application Deployment • Continuous Integration • Application Lifecycle • Continuous Delivery • Platform-as-a-Service (PaaS) • Distributed Applications Composition Docker Use Cases 6 Server Hardware Host Operating System Docker Engine Load Balancer Database Application Servers https://www.docker.com/resources/usecases/
  • 7. • Nova Compute – driver for launching Docker containers as Nova instances – Offers an overlap of features between Nova and Docker – stackforge/nova-docker • Heat • Magnum – Magnum design sessions; please attend and contribute! 7
  • 8. Docker Networking Options – Circa 2013-14 8 container B 1 container A Docker Proxy iptables Docker0 Linux Bridge container A container B Unix domain sockets2 container A Host network 3
  • 9. Docker Networking Today – libnetwork 9 http://blog.docker.com/2015/04/docker-networking-takes-a-step-in-the-right-direction-2/ https://github.com/docker/libnetwork
  • 10. OpenStack Networking Today - Neutron 10 PLUMgrid Neutron Plugin Neutron API PLUMgrid ONS Backend PLUMgrid ONS 100% Software On Demand NetworksPluggable and API Driven
  • 11. Networking Must Be Unified! 11 Common Networking LayerPLUMgrid Open Networking Suite for OpenStack
  • 12. Why? VMs and Containers Must Communicate With Each Other! 12 nova-compute Docker Engine nova-compute Libvirt VM1 VM2Container1 Container2 nova-api network 1 network 2
  • 13. How It Works 13 Initiate Create Port Bind VIF PLUMgrid Neutron Plugin Neutron API Nova API Nova Compute Nova Docker PLUMgrid ONS Backend Launch Docker
  • 14. Is This Even Real? 14
  • 16. Demo Setup 16 Kilo DevStack Neutron with PLUMgrid ONS Plugin Compute Nova Libvirt Driver PLUMgrid Edge Controller + Compute Nova Docker Driver PLUMgrid Director PLUMgrid Gateway PLUMgrid Edge
  • 17. What I Will Be Doing 17 1. Provision a network 2. Spawn a VM and a Docker container on the same network 3. Validate connectivity across hosts and Nova drivers 4. Create router and connect private network to external network and ping openstack.org 5. Associate Floating IPs and check connectivity 6. Update Security Groups and see network topology disallow traffic.
  • 18. What We Will End Up With 18 Server 1(Docker Compute) Server 2 (Libvirt Compute) Physical Network Docker VM NAT Virtual Network Router
  • 19. What I Just Did 19 1. Provisioned a network 2. Spawned a VM and a Docker container on two different hosts on same network 3. Validated connectivity across hosts and Nova drivers 4. Created a router and connected private network to external network and ping’ed openstack.org 5. Associated Floating IPs and checked connectivity 6. Updated Security Groups and saw network topology disallow traffic.
  • 20. What’s next? 20 • Contribute to Magnum-Networking (Neutron) • Provide with common Neutron API for Containers Networking in Magnum
  • 21. Key Takeaways 21 1. Docker Has Arrived In OpenStack 2. Docker Networking Has Evolved (For the Better) 3. PLUMgrid ONS Enables Unified Networking for Docker and VMs in OpenStack – Come visit us at Booth S14
  • 23. Q&A

Hinweis der Redaktion

  1. clear VM, clear cont from Intel.