hypriot cluster lab marcel großmann · an arm-powered cloud solution utilizing docker marcel...

Post on 20-Aug-2020

8 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

p. 1Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

An ARM-Powered Cloud Solution Utilizing Docker

Marcel Großmann Andreas EiermannMathias Renner

Hypriot Cluster Lab

p. 2Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

1. Challenges induced by IoT/Fog Computing2. Conceptual Proposal: Single Board Computers &

Container Virtualization3. Proof of Concept: Hypriot Cluster Lab (HCL)

Agenda

p. 3Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

1. Challenges induced by IoT/Fog Computing2. Conceptual Proposal: Single Board Computers &

Container Virtualization3. Proof of Concept: Hypriot Cluster Lab (HCL)

Agenda

p. 4Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

Motivation

[Picture: www.offshorewind.biz] [Picture: www.gruenderfreunde.de]

p. 5Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

IoT’s Requirements

Hardware• “Expansion to small”• High energy efficiency• Low-cost products

Software• Standards for

Interconnectivity/Interoperability• Security & Privacy• Safety• Scalability• Manageability• Automation, Auto-Configuration• Resilience, Self-Healing• Open Source

[Renner, 2015]

p. 6Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

1. Challenges induced by IoT/Fog Computing2. Conceptual Proposal: Single Board Computers &

Container Virtualization3. Proof of Concept: Hypriot Cluster Lab (HCL)

Agenda

p. 7Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

IoT Hardware Model: Raspberry Pi 3

[Pic

ture

: ww

w.a

lphr

.com

]

p. 8Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

Raspberry Pi Zero

[Picture: raspberrypi-spy.co.uk]

p. 9Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

IoT Software Stack

LinuxLinux

MiddlewareOS

IoT App

OS

IoT AppSome App

Container Virtualization

Some App

p. 10Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

Does Container Virtualization meet IoT’s requirements?

• Standards for Interconnectivity/Interoperability

• Security & Privacy• Safety• Scalability• Manageability• Automation, Auto-Configuration• Resilience, Self-Healing• Open Source

OS

IoT AppMiddleware

OS

IoT App

p. 11Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

Evolution of Virtualization

[Holla, 2015]

WritableContainerWebsite

Image

Image

RootFS

Add Caddy

Add Vim

Alpine

BootFSKernel

Groups, Namespace, Devicemapper

p. 12Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

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

VM vs. Container Virtualization

Hypervisor Container-Enabled Kernel

p. 13Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

Wifi for First Live Demo: Starting Webserver

SSID: hcl@ictPassword: hcl4iotrocks

Then go to: http://hcl.ict

p. 14Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

Summary

Middleware

OS

IoT App

Sof

twar

eH

ardw

are

p. 15Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

1. Challenges induced by IoT/Fog Computing2. Conceptual Proposal: Single Board Computers &

Container Virtualization3. Proof of Concept: Hypriot Cluster Lab (HCL)

Agenda

p. 16Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

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...

p. 17Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

HCL vs. IoT’s requirements

Hardware• High energy efficiency• “Expansion to small”• Low-cost products

Software• Standards for

Interconnectivity/Interoperability• Security & Privacy• Safety• Scalability• Manageability• Resilience, Self-Healing• Open Source

p. 18Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

HCL: Outlook

• Add feature: Resilience by integrating Kubernetes/Mesos/Nomad• Add security layer with TINC

p. 19Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

HCL Setup Processcreate VLAN set temporary

static IP avahi-browse

clusterexists?

nounset temporary IP

set first IP of subnet

create avahi service file

configure and start dnsmasq

unset temporary IP

yes

request IP via DHCP

reconfigure docker engine

create and start HCL container

boot

Cluster is configured

p. 20Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

Use Cases

[www.cleantechnica.com]

[Picture: www.offshorewind.biz] [Picture: www.gruenderfreunde.de]

p. 21Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

Use Case 1: Communication via Overlay Network

Cluster-03Cluster-01Manager node

Internet

p. 22Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

Use Case 2: Loadbalancing

p. 23Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

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.

p. 24Hypriot Cluster Lab | M. Großmann, A. Eiermann & M. Renner | Computer Networks Group, University of Bamberg

Marcel Großmann marcel.grossmann@uni-bamberg.de

Andreas Eiermannandreas@hypriot.com

Mathias Renner mathias@hypriot.com

Questions ?

top related