Top Banner
SODA: Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging Network and Distributed Services) Department of Computer Sciences Center for Education and Research in Information Assurance and Security (CERIAS) Purdue University
58

SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Dec 20, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

SODA: Service-On-Demand Architecture for

Application Service Hosting Utility Platforms

Dongyan Xu, Xuxian Jiang

Lab FRIENDS (For Research In Emerging Network and Distributed Services)

Department of Computer Sciences Center for Education and Research in Information Assurance

and Security (CERIAS) Purdue University

Page 2: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Outline

Motivations and goals Related work Research components of SODA Summary and on-going work

Page 3: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Motivations

Vision of utility computing Computation utility Storage utility

Application service hosting Conference management e-Campaign Digital government Serving the underserved communities IT function shadowing for disaster recovery

Virtual enterprise, collaboratory, and community

Page 4: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Our Goal

To build a value-added application service hosting platform based on shared infrastructure, achieving: On-demand creation and provisioning Virtualization Isolation Protection Accountability Privacy

Page 5: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Utility computing architectures VERITAS, HP UDC, IBM Oceano

Grid platforms Computation: Globus, Condor, Legion, NetSolve,

Harness, Cactus Storage and data: SRB, NeST, Data Grid,

OceanStore Shared infrastructure

PlanetLab, Emulab Active services

Active Service Grid, Berkeley Active Service Framework, CANS (NYU), Darwin, WebOS

Related Work

Page 6: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Resource isolation GARA, QLinux (UMass), Virtual service (UMich),

Resource Container, Cluster Reserves (Rice) Virtualization technologies

Virtual super computer (aggregation): NOW, HPVM

Virtual OS, isolation kernel (slicing): VMWare, Xen (Cambridge), Denali (UW), UML, UMLinux, Virtual Private Server (Ensim)

Grid computing on VM: Virtuoso (Northwestern), Entropia

Virtual cluster: Cluster-on-Demand (Duke)

Related Work

Page 7: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

SODA Service-On-Demand Architecture for

application service hosting utility platforms

Research components of SODA General architecture Protection, intrusion detection, logging Confined and VM-based overlay Market-driven planning and management

Page 8: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Outline

Research components of SODA: General architecture Security and protection Confined VM-based overlay ‘Property’ planning and management

Page 9: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Detailed Information Xuxian Jiang, Dongyan Xu, "SODA: a Service-On-Demand

Architecture for Application Service Hosting Utility Platforms", Proceedings of The 12th IEEE International Symposium on High Performance Distributed Computing (HPDC-12), Seattle, WA, June 2003.

Page 10: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Overview of SODA

SODA Host (physical)

AS

AS’

Virtual service node

Page 11: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Virtualization: Key Technique

Two-level OS structure Host OS Guest OS

Strong isolation Administration isolation Installation isolation Fault / attack Isolation Recovery, migration, and

forensics Virtual service node

Application service (AS) Guest OS Internetworking enabled

One SODA host

Host OS

…Guest OS Guest OS

AS1 ASn

Page 12: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

SODA Master SODA Agent

Host OS

Guest OS

Service SSODA

Daemon

Host OS

Guest OS

Service S

SODADaemon

Host OS

Guest OS

Service S’SODA

DaemonGuest OS

Service S’

Service Switch for S Service Switch for S’

Service Requests From ClientsService Requests From Clients

Service Creation Requests From ASP

Virtual servicenode

Page 13: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

On the Same SODA Host

WWW service Honeypot

Page 14: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Host OS and Guest OS Guest OS: based on User-Mode Linux

(UML), an open-source virtual OS (different from UMLinux and VServer ) By Jeff Dike, http://user-mode-linux.sourceforge.net Running in user space of host OS Separate kernel address space Physical memory usage limit

Host OS: Linux (linux-2.4.19, enhanced) CPU fair share scheduler (for CPU isolation

between virtual service nodes)

Page 15: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Experiment: CPU Isolation

Original Linux Scheduler Enhanced Linux Scheduler

VM1: CPU-intensive VM2: IO-intensive VM3: Web

Page 16: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

On-Demand Service Priming

Performed by SODA Daemon Customization of guest OS (“cook to

order” ) Active service image downloading Automatic bootstrapping of virtual

service node

Page 17: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Service Bootstrapping Time

Linux Configuration

Image sizeTime

(seattle)Time

(tacoma)

Rootfs_tomrtbt_1.7.205

15 MB 2.0 sec. 3.0 sec.

Rootfs_base_1.0 29.3 MB 3.0 sec. 4.0 sec.

Root_fs_lfs_4.0 400 MB 4.0 sec. 16.0 sec.

Root_fs.rh-7.2-server.pristine.2

0021012253 MB 22.0 sec. 42.0 sec.

Page 18: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Slow-Down (w/o optimization)

1,368 37,004gettimeofday

1,200 27,044munmap

1,208 27,864mmap

1,084 26,904dup2

1,064 26,648geteuid

1,208 27,276getpid

Linux UMLSystem call

System call level(clock cycles)

Application level

Page 19: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Outline

Research components of SODA: General architecture Security and protection Confined VM-based overlay ‘Property’ planning and management

Page 20: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Detailed Information Xuxian Jiang, Dongyan Xu, Rudolf Eigenmann, "Protection

Mechanisms for Application Service Hosting Platforms", Proceedings of IEEE/ACM Int'l Symposium on Cluster Computing and the Grid (CCGrid 2004), Chicago, IL, April 2004.

Xuxian Jiang, Dongyan Xu, "Collapsar: A VM-Based Architecture for Network Attack Detention Center", to appear in Proceedings of the 13th USENIX Security Symposium (Security '04), San

Diego, CA, August 2004.

Page 21: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Security and Protection

Virtual switching and firewalling

IDS in guest OS kernel

Untamperable logging (‘blackbox’-ing) Host OS

…Guest OS Guest OS

AS1 ASn

Page 22: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Virtual Switching and Firewalling

Virtualmachine(with IPaddr.)

SODA host(Invisible on

Internet)

Guest OS Guest OSGuest OS

Host OS

Firewall

Page 23: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Kernort: IDS in Guest OS Kernel

Problems with traditional IDS Encrypted traffic (e.g. ssh) makes NIDS less effective App-level IDS process will be “killed”, once a machine is

compromised Log may be tampered with Fail-open

Related projects Backtracker (Michigan) VMM-based retrospection (Stanford) Forensix (OHSU) ESP (Purdue CERIAS) Open-source projects: Snort, Saint Jude

Page 24: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Kernort

VM-based IDS Deployed in each VM

Inside guest OS kernel: a unique vista point Customizable without affecting host OS Clearer view Untamperable logging (saved to SODA host) Renewable signature (read from SODA host) Fail-close instead of fail-open

Page 25: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Kernort: IDS in Guest OS Kernel

Guest OS Guest OS

Page 26: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Kernort

Components Kernort sensor

Event-driven (system call and packet reception) Renewable signature set Matching against a small signature set (“Top 20

most wanted”) Kernort blackbox

Untamperable logging Privacy preservation of ASes

Analyzer Exhaustive signature matching Detection of complex attack patterns Session replay

Page 27: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Kernort

Virtual machine

Host OS

Kernort (shaded areas: logs)

Page 28: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Real-Time Alert

Page 29: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Session Re-play

Page 30: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Impact on Performance

Page 31: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Impact on Performance

Page 32: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Outline

Research components of SODA: General architecture Security and protection Confined VM-based overlay ‘Property’ planning and management

Page 33: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Detailed Information Xuxian Jiang, Dongyan Xu, "vBET: a VM-Based Emulation Testbed",

Proceedings of ACM Workshop on Models, Methods and Tools for Reproducible Network Research (MoMeTools, in conjunction with ACM SIGCOMM 2003), Karlsruhe, Germany, August 2003.

Xuxian Jiang, Dongyan Xu, "VIOLIN: Virtual Internetworking on OverLay INfrastructure", Department of Computer Sciences Technical Report CSD TR 03-027, Purdue University, July 2003.

Xuxian Jiang, Dongyan Xu, “A Middleware Architecture for Confined Virtual Machine Overlays", in preparation, March 2004.

Page 34: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Traditional Overlay Network Problems with traditional overlays:

Open for attacks Attacks from the outside (i.e. Internet) against

overlay nodes Attacks from an overlay node against the outside

Difficult to manage An overlay across multiple administration domains A host participate in multiple overlays Difficult to enforce overlay topology and traffic

volume

VPN does not solve the problems

Page 35: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Traditional Overlay Network

FirewallFirewall

Firewall

Page 36: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

VM-based Overlay The case for VM-based overlay

Multiple overlays on shared infrastructure On-demand creation Confinement and isolation

VM introduces new network administration complexity “What is this new machine that has suddenly

appeared in my domain?” “Where is the machine that was in my domain

yesterday?” “How much network connectivity should a VM have?” “How many IP addresses for VMs?”

Page 37: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Confined VM-based Overlay In addition to VM, we need VN for VMs

VN: a highly overloaded term (VPN, X-bone…)

What is new: Confined and VM-based overlays

Applications Multi-institutional collaborations Philanthropic (volunteer) computing systems Network emulations

Page 38: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Confined VM-based Overlay

Firewall Firewall

Firewall

VMVM

VM

≤1Mbps

≤2Mbps ≤2MbpsVirtual

infrastructure

Page 39: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Key Properties

Confined overlay topology and traffic No attack possible from inside the

overlay to the outside world Virtual IP address space No need for application modification

and re-compilation

Page 40: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

A More Generic Picture

VIOLIN:Virtual

Internetworkingon OverLay

INfrastructure

Page 41: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

vBET: an Example of Confined Overlays on Demand

An education tool for network and distributed system emulation

Fidelity-preserving setup Maneuverable network entities Real-world network software

Strict confinement (network security experiment)

Flexible configuration Not constrained by device/port availability No manual cable re-wiring or hardware setup

Simultaneous experiments Cost-effective

Page 42: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

vBETvBET Features Can be deployed in n ≥ 1 vBET servers Efficient startup and tear-down of

emulated entities Strong network virtualization

IP address space Virtual routers, switches, firewalls, end-hosts,

links Communications confined by virtual topology

Dynamic addition, deletion, migration, configuration of network entities

Page 43: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

vBET GUI

Page 44: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Sample Emulation: OSPF Routing

Page 45: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Emulation of OSPF RoutingDemo video clip at:http://www.cs.purdue.edu/~jiangx/vBET/videos/vbet_ospf.avi

Page 46: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Sample Emulation: Distributed Firewalls

Page 47: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Screenshot

Page 48: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Sample Emulation: Chord P2P Network

Page 49: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Screenshot

Page 50: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Outline

Research components of SODA: General architecture Security and protection Confined VM-based overlay ‘Property’ planning and management

Page 51: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Property Planning and Management

Tenant selection: Among a set of potential tenants (ASes),

which ones to host? (for maximum revenue, resource utilization, security…)

SODA provider selection: Among a set of SODA providers, which one

should be chosen to host an AS?

Page 52: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Examples of bad planning: Many PDA transcoding ASes in an area with

a small PDA user population AS not requiring client registration and log-in

(potential DDoS attacks) Majority of ASes exhibiting similar demand

characteristics such as:

Property Planning and Management

Load

Time

Page 53: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Property Planning and Management AS profiling

Resource requirement Security/authentication Demand characteristics

Market analysis Competing ASes, market

size/growth/expected share ASes correlation (“80% of clients requesting

AS X also request AS Y” ) Trading/pricing of SODA machine slices

Page 54: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Property Planning and Management Forming alliance of SODA providers

Page 55: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Property Planning and Management

Forming alliance of SODA providers

Page 56: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Summary

Virtualization: a key enabling technology in realizing utility computing vision

Hosting utility is more complex than computation utility (host – tenants – clients)

SODA achieves: On-demand service creation Service virtualization, isolation and

confinement Protection, accountability, privacy Overlay isolation and confinement

Page 57: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Ongoing Work

VM/service migration, shadowing, recovery

Service profiling, accounting, auditing (resources, security)

Market-driven planning, provisioning, and management (SODA ecology)

Deployment and evaluation (Purdue Bindley Bioscience Center)

Page 58: SODA : Service-On-Demand Architecture for Application Service Hosting Utility Platforms Dongyan Xu, Xuxian Jiang Lab FRIENDS (For Research In Emerging.

Thank you.

For more information:

{dxu, jiangx}@cs.purdue.eduhttp://www.cs.purdue.edu/~dxu

AOL keywords “Purdue SODA Friends”