Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Microservices Architectures with Docker Swarm, etcd, Kuryr and Neutron


Published on

Microservices architectures are revolutionizing the way software is envisioned and built. OpenStack has started to play a key role in enabling the microservices architectures and focused groups inside OpenStack community are working towards this goal: Magnum, Kuryr etc.
Docker is one of the key components here and combining them all, we get to build microservices architectures using tools like Docker Swarm, Etcd, Kuryr and Neutron. This workshop will provide attendees with the opportunity to gain experience with various Docker features and uses cases integrated with the OpenStack ecosystem. The lab will cover wide range of topics:

Introduction to Docker and OpenStack
Docker Swarm: Architecture and usage
Kuryr and Neutron: Architecture and usage with DevStack
Deploying Microservices
Breaking Docker, Kuryr and debugging it!

Attendees simply need to come in (with their laptop). Workshop speaker/organizer will provide instructions and will be available to answer any questions.

Published in: Software
  • Be the first to comment

Microservices Architectures with Docker Swarm, etcd, Kuryr and Neutron

  1. 1. Hands-on Workshop | OpenStack Summit, Barcelona Learn About Microservices Architectures with Docker Swarm, Etcd, Kuryr, Neutron
  2. 2. Copyright © PLUMgrid, Inc. 2011-2016 Introduction Speaker 2 Senior Software Engineer, PLUMgrid Khaliq Fawad @fawadkhaliq
  3. 3. Copyright © PLUMgrid, Inc. 2011-2016 • Brief Introduction to Microservices • Docker, Docker Swarm • etcd • Kuryr, Neutron (with PLUMgrid plugin) • Service Discovery/Service Registration • Hands-on workshop • Questions Agenda 3
  4. 4. Copyright © PLUMgrid, Inc. 2011-2016 Introduction to Microservices Enter the world of containers! 4 ContainersVirtual Machines Start/Stop time Workload Density Seconds to minutes Milliseconds 1x 10x-100x
  5. 5. Copyright © PLUMgrid, Inc. 2011-2016 Introduction to Microservices Monolithic services vs Microservices 5 • Monolithic • All in one application with single big unified code base • Comprises of multiple small components packaged as one • Entire application grows overtime with each component growth • Harder to maintain overtime, especially upgrades and troubleshooting • Microservices • Divide and conquer • Move each component into a separate service entity • Connect via APIs • Code base is easier to manage • Deploying is easier and upgrade downtimes are reduced • Easier to scale/replace a component
  6. 6. Copyright © PLUMgrid, Inc. 2011-2016 Docker Swarm Architecture 6
  7. 7. Copyright © PLUMgrid, Inc. 2011-2016 • Distributed K/V store based on directories • Service definition queried using JSON-based HTTP APIs • Clients handle failure or load balancing themselves • Allows watch on changes etcd 7
  8. 8. Copyright © PLUMgrid, Inc. 2011-2016 etcd 8 ETCD
  9. 9. Copyright © PLUMgrid, Inc. 2011-2016 Service Registration/Service Discovery 9
  10. 10. Copyright © PLUMgrid, Inc. 2011-2016 Kuryr, Neutron, PLUMgrid 10
  11. 11. Copyright © PLUMgrid, Inc. 2011-2016 OpenStack Networks PLUMgrid Virtual Domains From OpenStack Networks to PLUMgrid Virtual Domains 11
  12. 12. Copyright © PLUMgrid, Inc. 2011-2016 Virtual Domains Your Private Virtual Data Center 12 • Tenant Virtual Domains • Isolation & segmentation of workloads • Self-service provision of all functions • Service Virtual Domains • Owned by Cloud Operator • Used to apply common services or security policies • Hosts external connectivity • Virtual Domain Chaining • Decouple changes from physical infrastructure • Fully distributed within IO Visor layer DNS Service Virtual Domain Tenant Virtual Domains
  13. 13. Copyright © PLUMgrid, Inc. 2011-2016 Virtual Network Functions 13 Distributed Virtual Network Functions Description Connector • Connectivity: External, Port Bundle (“Multi-gateway LAG”), Appliance and Inter Virtual Domain Bridge • Distributed Layer 2 network function • Connects VMs on same IP subnet inside Virtual Domain • Include Private VLAN functionality Router • Distributed Layer 3 network function • Connects VMs from different subnets inside a Virtual Domain • Includes Dynamic Routing Protocols (RIP, OSPF, BGP) DHCP • Distributed DHCP function for dynamic IP Address allocation • Associated on per Bridge basis NAT • Distributed Network Address Translation function • Supports Inbound / Outbound, Many to One, One to One NAT Security Policies • Distributed Layer 4 Security network function • Substitute for Layer 4 ACLs / Firewalls DNS • Distributed Domain Name Service
  14. 14. Any Questions? Before we move on to the hands-on workshop 14
  15. 15. HANDS-ON WORKSHOP 15
  16. 16. Copyright © PLUMgrid, Inc. 2011-2016 Hands-on Workshop Environment 16
  17. 17. Copyright © PLUMgrid, Inc. 2011-2016 Content Overview 17 Docker, Kuryr, Neutron Microservices using Docker Compose Service Registration and Service Discovery
  18. 18. Copyright © PLUMgrid, Inc. 2011-2016 Content Overview 18 Hybrid VM and Container Application Micro segmentation for Containers and VMs Extended Exercises
  19. 19. Visit Us @Booth B37 THANK YOU!