Hypriot Cluster Lab An ARM-Powered Cloud Solution Utilizing Docker Marcel Großmann Andreas Eiermann Mathias Renner Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 1
Agenda 1. Challenges induced by IoT/Fog Computing 2. Conceptual Proposal: Single Board Computers & Container Virtualization 3. Proof of Concept: Hypriot Cluster Lab (HCL) Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 2
Agenda 1. Challenges induced by IoT/Fog Computing 2. Conceptual Proposal: Single Board Computers & Container Virtualization 3. Proof of Concept: Hypriot Cluster Lab (HCL) Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 3
Motivation [Picture: www.offshorewind.biz] [Picture: www.gruenderfreunde.de] Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 4
IoT’s Requirements Hardware Software • “Expansion to small” • Standards for • High energy efficiency Interconnectivity/Interoperability • Low-cost products • Security & Privacy • Safety • Scalability • Manageability • Automation, Auto-Configuration • Resilience, Self-Healing • Open Source [Renner, 2015] Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 5
Agenda 1. Challenges induced by IoT/Fog Computing 2. Conceptual Proposal: Single Board Computers & Container Virtualization 3. Proof of Concept: Hypriot Cluster Lab (HCL) Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 6
IoT Hardware Model: Raspberry Pi 3 [Picture: www.alphr.com] Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 7
Raspberry Pi Zero [Picture: raspberrypi-spy.co.uk] Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 8
IoT Software Stack IoT App Some App IoT App Some App Container Virtualization Middleware Linux OS Linux OS Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 9
Does Container Virtualization meet IoT’s requirements? IoT App IoT App Middleware OS OS • Standards for Interconnectivity/Interoperability • Security & Privacy • Safety • Scalability • Manageability • Automation, Auto-Configuration • Resilience, Self-Healing • Open Source Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 10
Evolution of Virtualization Writable Website Container Add Caddy Image Add Vim Image Alpine RootFS Groups, Namespace, Devicemapper BootFS Kernel [Holla, 2015] Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 11
VM vs. Container Virtualization Hypervisor Container-Enabled Kernel Runs Operating System Runs processes Heavyweight isolated virtual machines Lightweight kernel namespaces Can theoretically emulate any architecture Is less flexible in architecture emulation VMs start via a full boot-up process Very fast namespace + process creation Platform-oriented solution Service-oriented solution Optimized for generality Optimized for minimalism and speed Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 12
Wifi for First Live Demo: Starting Webserver SSID: hcl@ict Password: hcl4iotrocks Then go to: http://hcl.ict Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 13
Summary IoT App Software Middleware OS Hardware Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 14
Agenda 1. Challenges induced by IoT/Fog Computing 2. Conceptual Proposal: Single Board Computers & Container Virtualization 3. Proof of Concept: Hypriot Cluster Lab (HCL) Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 15
Proof of concept: Hypriot Cluster Lab • A piece of software, built against IoT’s requirements • Status: Proof of concept, not production ready • Available on Github.com • Cooperation between University of Bamberg and the Hypriot Team • Includes lots of plumbing: Docker, Avahi, Dnsmasq... Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 16
HCL vs. IoT’s requirements Hardware Software • High energy efficiency • Standards for • “Expansion to small” Interconnectivity/Interoperability • Low-cost products • Security & Privacy • Safety • Scalability • Manageability • Resilience, Self-Healing • Open Source Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 17
HCL: Outlook • Add feature: Resilience by integrating Kubernetes/Mesos/Nomad • Add security layer with TINC Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 18
HCL Setup Process set temporary boot create VLAN avahi-browse static IP no yes cluster unset unset exists? temporary IP temporary IP set first IP of subnet create avahi service file configure and request IP via start dnsmasq DHCP Cluster is create and start reconfigure configured HCL container docker engine Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 19
Use Cases [www.cleantechnica.com] [Picture: www.offshorewind.biz] [Picture: www.gruenderfreunde.de] Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 20
Use Case 1: Communication via Overlay Network Internet Manager node Cluster-01 Cluster-03 Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 21
Use Case 2: Loadbalancing Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 22
Literature • Renner, M. (2015). Evaluation of Container Technology as a Model for the Infrastructure of the Internet of Things. http://mathias-renner.de/thesis.pdf • Holla, S. (2015). Orchestrating Docker : manage and deploy Docker services to containerize applications efficiently . Birmingham: Packt Publishing. Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 23
Questions ? Marcel Großmann marcel.grossmann@uni-bamberg.de Andreas Eiermann andreas@hypriot.com Mathias Renner mathias@hypriot.com Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg p. 24
Recommend
More recommend