E2E Services using Cloud Visitation Platforms

26
Virtual

description

Here is a practical usecase. Your ISP wants to install a probe at your home to facilitate end-to-end active probing in the wild. The traditional way to do it is to create a custom machine, populate it with probing tools, fit it all into a small device and lend the box to end users. The problem is that software updates as well as upgrades of tools themselves imposes a major maintenance cost. This paper shows that if the box is designed as a small cloud platform, then maintenance cost can be mostly done away with. Instead, Virtual Machines -- packed with all the necessary software -- can visit with your box and leave when the job is done. The platform is an abstract buildup on top of a generic cloud platform and adds the necessary APIs for a wide range of possible jobs, hence the term visitation platform.

Transcript of E2E Services using Cloud Visitation Platforms

Page 1: E2E Services using Cloud Visitation Platforms

Virtual

Page 2: E2E Services using Cloud Visitation Platforms

.

Pre-Story: The First HomeBox

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 2/23...

2/23

Page 3: E2E Services using Cloud Visitation Platforms

.

The First HomeBox

Bigger ISP

Bigger ISP

ISP Network

Inside home ADSL router

• Router • QoS Broker • Meter

End user

• L2 VLAN • Shaping • Policing

ISP NOC

02 myself+0 "A Home Gateway Box with Meter, Probe and L2 QoS Policy Edge" COMPSACW (2013)

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 3/23...

3/23

Page 4: E2E Services using Cloud Visitation Platforms

.

HomeBox: Early Usecases• e2e probing, packet capture, L2/L3 QoS Policy Edge

Home Gateway Box

switch/mirror

meter Mirror traffic

Data to ISP (1) Flow (2) Probing

Probes

Probing tasks 2 devices in 1 box

Probing methods

02 myself+0 "A Home Gateway Box with Meter, Probe and L2 QoS Policy Edge" COMPSACW (2013)

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 4/23...

4/23

Page 5: E2E Services using Cloud Visitation Platforms

.

HomeBox: The Actual Box

1G Hub

Internet

Touch screen interface Home

network

Router Meter

02 myself+0 "A Home Gateway Box with Meter, Probe and L2 QoS Policy Edge" COMPSACW (2013)

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 5/23...

5/23

Page 6: E2E Services using Cloud Visitation Platforms

.

HomeBox: Lessons Learned

1. too expensive! 2 boxes, twice the price

2. high maintenance cost◦ device is at home, firmware updates?

3. higher flexibility is needed

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 6/23...

6/23

Page 7: E2E Services using Cloud Visitation Platforms

.

Briefly on Clouds

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 7/23...

7/23

Page 8: E2E Services using Cloud Visitation Platforms

.

Cloud Platforms

• let's forget about *aaS terminology and focus on practice

• TIER 1: Data Centers and Physical Machines (PMs) they house

• TIER 2: Virtualization Platform which turns PMs into VMs◦ VM management software is required◦ large systems can work acrossmultiple data centers◦ potentially across providers in federated clouds 06

S

• TIER 3: Apps running on top of TIER 2◦ some apps are platforms like heroku 04 -- see next page◦ heroku is used as the main example throughout the slides 06

06 K.He+5 "Next stop, the cloud: understanding modern web service deployment..." IMC (2013)

04 C.Kemp+1 "Professional Heroku Programming" Wiley (2013)

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 8/23...

8/23

Page 9: E2E Services using Cloud Visitation Platforms

.

Clouds: Multitenant Platforms

• one VM, multiple APPs• heroku is arguably one of the biggest examples 06

• the platform itself is TIER3, but creates anther tier for application running on topof the platform◦ warning: not a separate/new tier!◦ heroku simply packages and runs user apps, there is no added virtualization per

se

• multitenancy is a great idea -- one VM, many apps◦ the proposal is based on the same very idea

06 K.He+5 "Next stop, the cloud: understanding modern web service deployment..." IMC (2013)

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 9/23...

9/23

Page 10: E2E Services using Cloud Visitation Platforms

.

Main Problems in Clouds

1. vertical integration is preferred by businesses

◦ heroku is entirely based on Amazon's cloud◦ when Amazon cloud breaks, heroku breaks◦ major prolonged failure in June 2013

2. e2e concept is effectively lost in the virtualization mesh/mess

◦ end users are not taken into consideration◦ services do not care and e2e networks between themselves and user communities

3. cloud today is an extremely centralized system -- very lowreliability◦ pushing cloud to edges might help -- cloud offload?

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 10/23...

10/23

Page 11: E2E Services using Cloud Visitation Platforms

.

How HomeBox Can Help

• e2e performance probing 01

◦ many existing projects of similar nature 09 10◦ HomeBox can scale -- its main advantage

• social computing◦ applications from several users can visit with each other◦ visit means share the same location

• HomeBox Virtual (next) is one way to implement Internet of Things (IoT)

• offload CPU, storage, etc. to client boxes on edges -- ideally homes

01 1+myself "Active Network Measurement: Theory, Methods and Tools" ITU Association of Japan (2009)

09 "MLab: Measurement Lab" http://www.measurementlab.net/ (2009)

10 "TTM: Test Traffic Measurement Service" http://www.ripe.net.ttm (1999)

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 11/23...

11/23

Page 12: E2E Services using Cloud Visitation Platforms

.

CVP: Cloud Visitation Platform

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 12/23...

12/23

Page 13: E2E Services using Cloud Visitation Platforms

.

CVP: The Concept• simply, CVP needs to implement all the tiers in one device

Location 1 Location 2 …

Cloud Management Platform(s )

Cloud APPs … Tier 1 Tier 2 Tier 3

Cloud Visitation

Platforms

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 13/23...

13/23

Page 14: E2E Services using Cloud Visitation Platforms

.

CVP: Am I the First?• apparently, Cisco also had a similar... though very foggy... idea

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 14/23...

14/23

Page 15: E2E Services using Cloud Visitation Platforms

.

CVP: 3 Tiers, 1 Box

• TEAR1: the device needs to implement a virtualization platform◦ convert one PM into several VMs (one CPU core per VM)◦ CVP is unique by having interfaces here◦ CVP starts and ends here!

• TEAR2: VMs need to be made multitenant◦ a heroku-like container approach◦ containers are unique by having special default APIs supported by CVPs

beneath

• TEAR3: APPs can be anything supported by the container

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 15/23...

15/23

Page 16: E2E Services using Cloud Visitation Platforms

.

CVP as HomeBox Virtual

• step 1: implement the deviceas a small cloud

• step 2: make it possible torun cloud apps on yourdevice

• that's all!

Storage Sensors Misc. Devices

Cloud Visitation Platform

Container

Cloud Visitation Platform APIs

App App App …

API

Container App

App App …

API

Multitenancy

Physical Device

… Interfaces …

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 16/23...

16/23

Page 17: E2E Services using Cloud Visitation Platforms

.

CVP: Interfaces

• warning: a newpart!

• CVP apps would like to uselocal resources

• CVP implements them as

Interfaces• quotas, control, parallel access,scheduling

• special-purpose devices arepossible -- sensors, wifirouters, etc.

Storage Sensors Misc. Devices

Cloud Visitation Platform

Container

Cloud Visitation Platform APIs

App App App …

API

Container App

App App …

API

Multitenancy

Physical Device

… Interfaces …

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 17/23...

17/23

Page 18: E2E Services using Cloud Visitation Platforms

.

CVP: Container APIs

Storage Sensors Misc. Devices

Cloud Visitation Platform

Container

Cloud Visitation Platform APIs

App App App …

API

Container App

App App …

API

Multitenancy

Physical Device

… Interfaces …

• warning: a newpart!

• heroku has API-less containers

• APIs are for hardwarefunctions

• APPs can use APIs to accesslocal hardware

• CVP provides specialcontainers and supportsAPIs

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 18/23...

18/23

Page 19: E2E Services using Cloud Visitation Platforms

.

Example Use: E2E Probing

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 19/23...

19/23

Page 20: E2E Services using Cloud Visitation Platforms

.

Example: E2E Probing on CVP• back to the e2eprobing scenario in thefirst box

• pull-baseddesign -- apps are pulledfrom device provider◦ note: pull-based installation

ismore feasible --higher security

• apps know which destinationsto probe to◦ schedule, start time, end time,

kinds of probes, end of life,etc.

Global Network

Cloud Visitation Platform

App App App …

Device Provider

Global Services

Requests, probes, etc.

Pull-Based Installation

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 20/23...

20/23

Page 21: E2E Services using Cloud Visitation Platforms

.

Example: Implementation

• probing tools08 implemented as apps, then containers in CVP

• simple public containers are used 12

• current CVP is simply Zen's XCP cloud platform◦ presented CVP design is in development◦ will be announced soon

08 "e2eprobe: collection of probing tools" https://github.com/maratishe/e2eprobe (2013)

12 "Example heroku-like framework" https://github.com/progrium/dokku/ (2012)

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 21/23...

21/23

Page 22: E2E Services using Cloud Visitation Platforms

.

Wrapup

• home devices are implemented as CVP: Cloud Visitation Platforms

• hardware functionality is abstracted via interfaces and APIs

• simple example: CVP makes e2e probing possible in a totally newway◦ low maintenance◦ high scalability◦ total openness

• major note: reliability of devices is completely different --virtualization = isolation

• into the future: anything can be CVP◦ switching equipment, wifi routers, sensors, robots, digital libraries, ....

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 22/23...

22/23

Page 23: E2E Services using Cloud Visitation Platforms

.

That’s all, thank you ...

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 23/23...

23/23

Page 24: E2E Services using Cloud Visitation Platforms

.

[01] 1+myself (2009)Active Network Measurement: Theory, Methods and ToolsITU Association of Japan

[02] myself+0 (2013)A Home Gateway Box with Meter, Probe and L2 QoS Policy EdgeCOMPSACW

[03] myself+1 (2012)Analytical Models for L2 versus L3 QoS ProvisioningIEICE PN研

[04] C.Kemp+1 (2013)Professional Heroku ProgrammingWiley

[05] C.Dovrolis+4 (2010)Measurement Lab: Overview and an Invitation...ACM Comp. Comm. Review

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 23/23...

23/23

Page 25: E2E Services using Cloud Visitation Platforms

.

[06] K.He+5 (2013)Next stop, the cloud: understanding modern web service deployment...IMC

[07] IETF (2008)Management of Performance Measurement for NGNITU-T Y.2173

[08] (2013)e2eprobe: collection of probing toolshttps://github.com/maratishe/e2eprobe

[09] (2009)MLab: Measurement Labhttp://www.measurementlab.net/

[10] (1999)TTM: Test Traffic Measurement Servicehttp://www.ripe.net.ttm

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 23/23...

23/23

Page 26: E2E Services using Cloud Visitation Platforms

.

[11] (2007)ntophttp://www.ntop.org

[12] (2012)Example heroku-like frameworkhttps://github.com/progrium/dokku/

Marat Zhanikeev -- [email protected] E2E Services using Cloud Visitation Platforms -- http://tinyurl.com/marat140221 23/23...

23/23