how to build a generic fog cloud box

21
PDF: http://bit.do/150609 Screencast: youtube.com/c/MaratZhanikeev

Upload: marat-zhanikeev

Post on 28-Jul-2015

104 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: How to Build a Generic Fog Cloud Box

PDF: http://bit.do/150609 Screencast: youtube.com/c/MaratZhanikeev

Page 2: How to Build a Generic Fog Cloud Box

.

Clouds: Big Paradigm Shifts

1. Hybrid Clouds 02 ➔  Federated/Fog Clouds 05

◦ heterogeneous environments is the biggest issue 04

2. Live Migration ➔ Population Management 03

3. the blackbox of virtualization ➔ Local Hardware Awareness 01

◦ this one actually breaks the existing practice in clouds

02 K.Keahay+4 "Infrastructure Outsourcing in Multi-Cloud Environment" 8th Open Cirrus Summit (2012)

05 "Fog Computing, Ecosystem, Architecture and Applications" Cisco RFP (2014)

04 "Chameleon project" https://www.chameleoncloud.org (2014)

03 myself+0 "Multi-Source Stream Aggregation in the Cloud" Wiley Book on Advanced Content Delivery (2014)

01 myself+0 "A Cloud Visitation Platform to Facilitate Cloud Federation and Fog Computing" IEEE Computer (2015)

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 2/21...

2/21

Page 3: How to Build a Generic Fog Cloud Box

.

(1) Fog and Federated Clouds• Cisco CFP 05

• Federated/Fog Clouds require a brand new viewpoint

05 "Fog Computing, Ecosystem, Architecture and Applications" Cisco RFP (2014)

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 3/21...

3/21

Page 4: How to Build a Generic Fog Cloud Box

.

(2) VM/Container Populations• example of CDN 03, clouds can replace P2P networks with higher reliability

VMpopulation

CurrentSources

ServiceProvider

(SP)

Tracker

ServiceProvider

(SP)

Parentpeers

P2Pstreaming

Cloudstreaming

ClientClient

03 myself+0 "Multi-Source Stream Aggregation in the Cloud" Wiley Book on Advanced Content Delivery (2014)

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 4/21...

4/21

Page 5: How to Build a Generic Fog Cloud Box

.

(3) Local Hardware Awareness• traditional: only the Main Storage -- same for offload in hybrid clouds 02

• required: VMs should be able to discover and use local resources --again, the CDN case

CDN

Main

many

Manager

Storage Large

Federation, fog clouds VM

Cache 1 Cache 2

Manage content

CDN Traffic (End Users)

many

Cloud

02 K.Keahay+4 "Infrastructure Outsourcing in Multi-Cloud Environment" 8th Open Cirrus Summit (2012)

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 5/21...

5/21

Page 6: How to Build a Generic Fog Cloud Box

.

LHA [la:]

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 6/21...

6/21

Page 7: How to Build a Generic Fog Cloud Box

.

Cloud Visitation Platform

• a build-up on top of existingcloud platforms (I use xen)

• APIs: split between VMtools and RESTful APIs

• Interfaces: genericabstraction of hardwarefunctionality

• key feature: LocalHardware Awareness(LHA [la:])

• more details in 01

Storage Sensors

Cloud Visitation Platform

Virtual Machine

Cloud Visitation Platform

App App App …

API

Multi-

Tenancy

Physical Device

Billing, Fairness

Generics, Resilience

Application Specifics

BigData Interfaces

… Virtual Machine

App

Container API

Other local resource

01 myself+0 "A Cloud Visitation Platform to Facilitate Cloud Federation and Fog Computing" IEEE Computer (2015)

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 7/21...

7/21

Page 8: How to Build a Generic Fog Cloud Box

.

LHAP vs MiniCache

Local hardware

Virtual Machine

Cloud Platform (Xen)

App App App …

Multitenant

environment

Physical Machine (PM)

Tools

API Layer Control Layer

Local Hardware Awareness Platform (LHAP)

Virtual Machine

App

Tools …

Virtual Machine

App Virtual Machine

App App App …

Global network (to Internet)

In-box network

Fig1a: Conventional Platform

MiniOS

App

SSD

Operating System

Virtual Machine

App App App …

Multitenancy impossible

Physical Machine (PM)

Fig1b: Mini Cache

Cloud Platform (Xen)

Operating System

Global network (to Internet)

HDD Local Network

Global network (to Internet)

Physical Machine (PM)

Fig1c: LHAP (proposed)

Cloud Platform (Xen) Operating System

DtL: Direct to Local

Local hardware

SSD HDD

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 8/21...

8/21

Page 9: How to Build a Generic Fog Cloud Box

.

Tired? Too Much Information?

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 9/21...

9/21

Page 10: How to Build a Generic Fog Cloud Box

.

Cloudification Basics

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 10/21...

10/21

Page 11: How to Build a Generic Fog Cloud Box

.

Cloudification Curve

WiFi

Sca

le/s

ize o

f clo

udifi

edite

ms

Timeline

Mid-2015

Probablyshould not

cloudify

Should definitely cloudify

DataCenters

Racks IoV > VC

Desktop

APs,Beacons

Smartphone

Sensor

IoTDelegatednetworking

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 11/21...

11/21

Page 12: How to Build a Generic Fog Cloud Box

.

Level 1: Federation Box

Physical Device

CVP

VM VM Con. Con. Con.

SWITCH OUT IN

Storage

Sensors

Hadoop Isolation

Non-CVP part

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 12/21...

12/21

Page 13: How to Build a Generic Fog Cloud Box

.

Level 1: Federation Box (2)• Possible? yes, easily, already have CVP/LHAP prototype built on topof XCP1.6

• CVP/LHAP is generic, you can use it for any hardware

Physical Device

CVP

VM VM Con. Con. Con.

SWITCH OUT IN

Storage

Sensors

Hadoop Isolation

Non-CVP part

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 13/21...

13/21

Page 14: How to Build a Generic Fog Cloud Box

.

Level 2: Fog/Pocket Box

Physical Device

CVP

VM VM Con. Con. Con.

HUB

WiFi

Wireless users

Wired users Wireless

AP Storage

Sensors

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 14/21...

14/21

Page 15: How to Build a Generic Fog Cloud Box

.

Level 2: Fog/Pocket Box (2)

• Possible? Yes, same as before, the same CVP/LHAP prototype• unique: all local resources are based on VMs in the same box• current prototype: a Mac Mini box as an educational cloud in classes

Physical Device

CVP

VM VM Con. Con. Con.

HUB

WiFi

Wireless users

Wired users Wireless

AP

Storage

Sensors

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 15/21...

15/21

Page 16: How to Build a Generic Fog Cloud Box

.

Level 3: Fog/Embedded Box

WiFi

Wireless users

Wireless AP

Physical Device

CVP

VM VM Con. Con. Con.

Storage

Sensors

Beacon

WiFi AP WiFi Client

P2P WiFi

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 16/21...

16/21

Page 17: How to Build a Generic Fog Cloud Box

.

Level 3: Fog/Embedded Box (2)

• Possible? Not yet!, but working on it...

• Current status: Android-based, to have easy access to WiFi Direct andBeacon frameworks

WiFi

Wireless users

Wireless AP

Physical Device

CVP

VM VM Con. Con. Con.

Storage

Sensors

Beacon

WiFi AP WiFi Client

P2P WiFi

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 17/21...

17/21

Page 18: How to Build a Generic Fog Cloud Box

.

Fog Box Applications

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 18/21...

18/21

Page 19: How to Build a Generic Fog Cloud Box

.

Usecase 1: Campus Data Hub• features: a cloudified university campus, content delivery as a cloudservice

P2P WiFi HDD +

User A

User B

3G

WiFi

HDD

P2P WiFi

User A

User B User A

move

Campus

WDH

P2P WiFi

P2P WiFi P2P

WiFi

Company/University

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 19/21...

19/21

Page 20: How to Build a Generic Fog Cloud Box

.

Usecase 2: Vehiclular Clouds• cloudified in-car hardware for Vehicular Clouds (VCs) based onBeacons and P2P WiFi -- as part of smart grids

Cloud, BigData

Cloud, BigData Networked

power plants

Standalone power plants

Smart grid by cognitive radio

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 20/21...

20/21

Page 21: How to Build a Generic Fog Cloud Box

.

That’s all, thank you ...

M.Zhanikeev -- [email protected] How to Build a Generic Fog Cloud Box -- http://bit.do/150609 - 21/21...

21/21