Top Banner
www.cs.helsinki.fi Future generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of the Department Department of Computer Science University of Helsinki
39

Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Mar 16, 2018

Download

Documents

nguyen_duong
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: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

www.cs.helsinki.fi

Future generation of computational infrastructures and the role of cloud computing

Professor Sasu Tarkoma, Head of the Department Department of Computer Science

University of Helsinki

Page 2: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Introduction Overview of cloud technology Three case studies

Analytics Cloud for Smartphones Secure Scientific Cloud

4G and 5G Core Network Conclusions

Contents

Page 3: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

University of Helsinki

§  The largest and the oldest university in Finland

§  Key data for 2014 §  35 000 students §  8 200 employees §  300 subjects §  5 850 degrees/year §  480 PhDs/year

§  Founded in Turku 1640 §  Moved to Helsinki 1828

Page 4: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Faculty of Science / Kumpula Campus

Departments §  Chemistry

§  Computer science

§  Geosciences and Geography

§  Mathematics and Statistics

§  Physics

Page 5: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

§  Leading institution in Computer Science in Finland

§  Students and employees 2014 §  1 727 students (53 PhD students;

nearly 30 000 credits)

§  266 employees (168.7 FTE, 31.9% foreign, 20.3 % female)

§  Part of the Faculty of Science

§  Located in Exactum, Kumpula Campus

§  Renowned for high quality of research and teaching

§  The Linux kernel was originally developed at the Department by Linus Torvalds

Department of Computer Science

Page 6: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

www.cs.helsinki.fi

Overview of Cloud Technology

Page 7: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Scaling up Having more powerful servers

Scaling out Having more servers

Clusters provide computing resources Space requirements, power, cooling Most power converted into heat

Datacenters Massive computing units Warehouse-sized computer with hundreds or thousands of racks

Networks of datacenters

Computing Environment

Page 8: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Big Data compute and storage nodes are stored on racks based on common off the shelf components

Typically many racks in a cluster or datacenter Intra-rack and inter-rack communication have differing

latencies Nodes can experience failures

Computation in tasks or jobs Replication for fault tolerance

Placement of tasks and data is important Software ensures fault-tolerance and availability

Cluster Computing Environment

Page 9: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Definition by NIST: Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction.

Typically common-of-the-shelf servers Compute nodes, storage nodes, …

Virtualized resources running on a cloud platform IaaS, PaaS, SaaS, XaaS

Cloud Computing

Page 10: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Workloads are Evolving Server vs Cloud

Physical servers Needs expensive high availability tools Application scales up rather than out

Virtualized elastic resources Tolerates VM failure – if one fails, another replaces it Fault tolerance often built into the workload Application scales out rather than up

Page 11: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

OpenStack Architecture

Modular architecture made of individual autonomous components Components expose RESTFul API for communications Components have stateless worker nodes and rely on

messaging Framework that is designed for scaling out Based on a set of core services (largely Python and based on Linux) Big Data (Hadoop/Spark) support with Sahara

Page 12: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

www.cs.helsinki.fi

Analytics cloud for smartphones

Carat Team carat.cs.helsinki.fi

Page 13: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Motivation

A lot of heterogeneous, active devices and lot of users with different intents. – What kind of behavior is normal or typical?

Battery lifetime? Risk level?

Page 14: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Introducing Carat

Carat is the first system to use the mobile device community to detect and correct energy problems

Our method for diagnosing energy

anomalies uses the community to infer a specification (expected energy use), and we call deviation from that inferred specification an anomaly

Page 15: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Carat ●  Originated in UC Berkeley, in collaboration with

University of Helsinki ●  Mobile app for Android and iOS ●  Currently over 848 000 users ●  >2TB of data, > 100 million measurements ●  Research project with many directions ●  http://carat.cs.helsinki.fi

Page 16: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

16 02/03/16

The Carat project: System

Page 17: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

What is Carat?

●  Users see Hogs, high energy use apps ●  And Bugs that use energy faster on THEIR

device than on others ●  Users with these

issues quickly see battery life benefits once they are taken care of

Group receiving recommendations improved battery life by 41%

Page 18: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Collaborative Data Gathering

Each device collects Battery life, timestamp, running apps, system

settings The data is combined and results for your apps and

your device sent back to you Collaborative aspect: We know trends in the

community, as well as how your device is different This can be used for phones, sensors, houses,

base stations, servers, laptops, … anything that generates measurements

Page 19: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

An Early Warning System for Malware A lightweight technique for identifying devices at risk By looking at applications that occur with malware, it is possible to predict infection 5x better than choosing devices at random

–  Useful for administrators, organisations (Bring Your Own Device scenario)

Page 20: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Related Publications •  A. J. Oliner, A. P. Iyer, I. Stoica, E. Lagerspetz, S. Tarkoma. Carat: Collaborative Energy

Diagnosis for Mobile Devices. In ACM SenSys 2013.

•  A. J. Oliner, A. Iyer, E. Lagerspetz, S. Tarkoma, I. Stoica. Carat: Collaborative energy debugging for mobile devices. In HotDep 2012.

•  A. J. Oliner, A. P. Iyer, E. Lagerspetz, I. Stoica, and S. Tarkoma. Carat: Collaborative Energy Bug Detection. Poster and demo at the proceedings of the 9th USENIX Symposium on Networked Systems Design and Implementation (NSDI '12), San Jose, California.

•  K. Athukorala, E. Lagerspetz, M von Kügelgen, A. Jylhä, A. J. Oliner, S. Tarkoma, G. Jacucci. How Carat Affects User Behavior: Implications for Mobile Battery Awareness Applications. ACM CHI 2014.

•  H.T. T. Truong, E. Lagerspetz, P. Nurmi, A. J. Oliner, S. Tarkoma, N. Asokan, S. Bhattacharya, The Company You Keep: Measuring Mobile Malware Infection Rates and Identifying Inexpensive Predictors of Susceptibility to Infection, Proceedings of WWW 2014.

•  E. Lagerspetz, H. Truong, S. Tarkoma, N. Asokan. Mdoctor - A Mobile Malware Prognosis Application. DASec workshop in conjunction with ICDCS 2014.

•  E. Peltonen, E. Lagerspetz, P. Nurmi, and S. Tarkoma. Energy Modeling of System Settings: A Crowdsourced Approach, IEEE PerCom '15. (Best paper award).

•  S. Tarkoma, M. Siekkinen, E. Lagerspetz, Y. Xiao. “Smartphone Energy Consumption: Modelling and Optimization”, August 2014, Cambridge University Press.

•  E. Lagerspetz. Collaborative Mobile Energy Awareness. PhD thesis. University of Helsinki. November 2014. (UH Dissertation Award 2014).

Page 21: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Collaboration between Computer Science Department, University of Helsinki Sasu Tarkoma, Lirim Osmani Helsinki Institute of Physics (HIP) Paula Eerola, Tomas Lindén, John White, Salman Toor

Funded by Academy of Finland 2012 - 2014

Secure Scientific Cloud: Datacenter Indirection Infrastructure for

Secure HEP Data Analysis

Page 22: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Cloud based setup

We have a production CMS site based on private cloud setup OpenStack Gluster Filesystem Advanced Resource Connector (ARC) middleware for providing grid

interfaces CERN VM File System (CVMFS) OpenStack deployed on Ubuntu 12.04 LTS VMs based on Scientic Linux CERN 6.4

Page 23: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

System Architecture 6

Fig. 2: Overall system architecture of DII-HEP cloud based on Openstack, GlusterFS and Grid tools.

updating, creating and enforcing policies to the volumescreated.

The core cloud tier encompasses the key elementsof the OpenStack suite. The cloud controller pro-vides resource management and orchestrating activitiesby running: nova-api, nova-scheduler, nova-cert, nova-consoleauth, cinder-scheduler, Keystone, Glance andHorizon, but also the server instances of RabbitMQ,MySQL and GlusterFS. In addition to the cloud con-troller, a network controller manages the network ser-vices related to IP address management, DNS, DHCPand security groups through the elements of neutron-server, neutron-dhcp-agent, and neutron-l3-agent. At ahigh level, Neutron displays a very plug-in orientedarchitecture. Leveraging the concepts of linux networknamespaces, it provides an isolated virtual networkingstack for each tenant/user with its own network, inter-faces, and routing tables.

GlusterFS is used as storage backend for running theblock based storage provided by Cinder. Four of ourserver instances are configured to run as cinder volumenodes providing the storage volumes needed by theCMS analysis software.

The rest of the machines, referred to as ComputeNodes, run the nova-compute service which interactswith underlying hypervisor through the libvirt API. Eachcompute node has also installed a GlusterFS client thatprovides file system services for the unified mount pointwhere the VMs boot at, and an OpenvSwitch instancethat forwards the network traffic of the VMs running onthe compute nodes.

The virtual environment tier provides the actual appli-cation infrastructure in the form of virtual instances that

run a Compute Elemenent (CE) and number of WorkerNodes (WNs). Using the A-REX service provided by theARC software stack, the CE manages the authenticationof clients and distribution of jobs to the WNs. To fulfilthe storage requirements of the application tier, the setupis supported by a GlusterFS distributed storage config-uration with one admin node and six storage bricks.The CE is publicly exposed to acquire jobs from thegrid interface. It should be noted that monitoring andaccounting of the available resources is also one of theintegral parts of running a CMS site. The ARC CE runsthe information services that collect and submit site levelinformation to the publicly available accounting andmonitoring systems.

In our architecture, HIP is used to secure inter-VMcommunications with minimal deployment hurdles atthe client side. Despite of how tenants in private cloudsare isolated, we employ HIP mostly to harness its poten-tial for portable and secure addressing for hybrid clouds.The proposed architecture allows the application expertsto create HIP enabled secure environments within theapplication domain, while securing the computation andthe data. It is worth highlighting that we do not yetutilize HIP in securing the VM communication with thestorage elements as this remains future work.

OpenStack itself does not provide any built-in moni-toring tools. Instead, it relies on integrating with othersoftware that can be customized according to the require-ments. We employed Graphite24 and the collectd plugin25

to build a centralized monitoring tool to evaluate the

24. http://graphite.wikidot.com25. http://collectd.org

Page 24: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Secure cloud setup

We have used Host Identity Protocol (HIP) for structuring the secure cloud Host Identity Protocol (HIP)

Designed for mobile networks Provides a secure mechanism for IP multihoming and mobility (VM

migration) HIP separates the end-point identifier and locator roles of IP addresses Provides persistent cryptographic identifiers Supports both IPv4 and IPv6 addressing The Host Identifiers (HI) are not routable, so they are translated into routable addresses (locators) between network and transport layer The HIP connections are typically protected with IPSec HIP -> http://infrahip.hiit.fi

Page 25: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Secure hybrid cloud Tenant driven solution: Securing intra and inter cloud VM communication with the Host Identity Protocol (HIP)

Page 26: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Performance analysis: Impact of Running CMS in the Cloud

Application Level Performance 4% performance loss evaluated with the HEPSPEC-2006 (Thanks

to Ulf Tigerstedt, CSC for help with HEPSPEC tests) System Level Performance

VM boot response both at local vs GlusterFS based setup GlusterFS gives an acceptable VM startup time compared to local

disk Security performance of HIP is comparable to other VPN solutions

Large performance penalty on throughput, negligible impact on latency Our results indicate that SSL/TLS or HIP as a security measure do not drastically impact the performance footprint in production environment

Page 27: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

L. Osmani, S. Toor, M. Komu, M. J. Kortelainen, T. Lindén, J. White, R. Khan, P. Eerola, S. Tarkoma. Secure Cloud Connectivity for Scientific Applications. IEEE Transactions on Services Computing, 2015.

J. White, S. Toor, P. Eerola, T. Lindén, O. Kraemer, L. Osmani, S. Tarkoma, Dynamic Provisioning of Resources in a Hybrid Infrastructure, PoS(ISGC2014)019.

S. Toor, L. Osmani, P. Eerola, O. Kraemer, T. Lindén, S. Tarkoma, J. White. A scalable infrastructure for CMS data analysis based on OpenStack Cloud and Gluster file system. Journal of Physics: Conference Series 513 062047 doi:10.1088/1742-6596/513/6/062047.

Related publications

Page 28: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

www.cs.helsinki.fi

4G and 5G Core Network

Page 29: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

•  Beyond 4G for early 2020s •  Significant improvements in wireless communication

•  Smart radios and spectrum sharing •  1000 times higher spectral efficiency •  Cooperative relays and femtocells

•  Device-to-Device communication •  Support for Internet of Things and Machine-to-Machine •  World Wide Wireless Web •  SDN and cloud for the core network

5th Generation Mobile Networks (5G)

Page 30: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Open Networking Foundation (ONF) has identified SDN in future mobile networks where inter-cell interference management and mobile traffic management are the key use cases

Network Function Virtualization (NFV) ETSI Industry

Specification Group Started in 2013 Network Nodes as software on top of COTS Hardware Separation between hardware and software

Virtualization of Resources

30

Page 31: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Route packets Control network access Support client mobility Provide network security Manage network functions

Main Functions of the LTE Core

Page 32: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

4G LTE Evolved Packet Core (EPC)

SGW PGW

PCRF MME

HSS

eNodeB UE UE

UE

Internet GTP

GTP: GPRS Tunneling Protocol for IP-over-UDP control and data MME: Mobile Management Entity SGW: Serving Gateway: forwards user traffic and mobility anchor PGW: Packet Data Network Gateway: external networks and billing HSS: Home Subscriber Service PCRF: Policy Charging and Rules Function

Page 33: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

LTE EPC with SDN

33

SGW PGW

PCRF MME

HSS

eNodeB UE UE

UE

Internet Controller

Switch Switch

SGW and PGW use network controller to manage tunnels and the fast path

Page 34: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

LTE EPC with SDN and Cloud

34

SGW PGW

PCRF MME

HSS

eNodeB UE UE

UE

Internet Controller

Switch Switch

Virt.

Virt. Virt.

Virt.

Virt.

Virt.

5G elements as services/applications running in virtualized environment

VMs

Page 35: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

LTE RAN and EPC with SDN and Cloud

35

SGW PGW

PCRF MME

HSS

eNodeB UE UE

UE

Internet Controller

Switch Switch

Virt.

Virt. Virt.

Virt.

Virt.

Virt.

5G elements as services/applications running in virtualized environment

Virt.

Local and centralized coordination of radio resources

VMs

Page 36: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Cloudlets on a network

Constructed from clip art from pixabay.com

Mobile Edge Computing

36

The cloudlet architecture from CMU consists of customized ephemeral virtual machines with soft state, and a platform for running them Nokia Liquid Applications run on base stations Deploy applications near the users to avoid latency and bandwidth problems Facilitates elastic and mobile execution of network components and application logic in base stations

Page 37: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Aaron Yi Ding, Jon Crowcroft, Sasu Tarkoma, Hannu Flinck: Software defined networking for security enhancement in wireless mobile networks. Computer Networks 66: 94-101 (2014).

Heikki Lindholm, Lirim Osmani, Hannu Flinck, Sasu Tarkoma, Ashwin Rao. State Space Analysis to Refactor the Mobile Core. AllThingsCellular workshop in conjunction with ACM Sigcomm, August 17, 2015, London, United Kingdom.

Jose Costa-Requena, Jukka Manner, Raimo Kantola, Aaron Yi Ding, Sasu Tarkoma. Software Defined 5G Mobile Backhaul. 5GU 2014.

Huber Flores, Pan Hui, Sasu Tarkoma, Yong Li, Satish Narayana Srirama, Rajkumar Buyya: Mobile code offloading: from concept to practice and beyond. IEEE Communications Magazine 53(3): 80-88 (2015).

Related publications

Page 38: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

www.cs.helsinki.fi

Conclusions

Page 39: Future generation of computational infrastructures and · PDF fileFuture generation of computational infrastructures and the role of cloud computing Professor Sasu Tarkoma, Head of

Conclusions

The current and emerging digital infrastructure builds on cloud technology and virtualization

Cloud technology offers flexibility and elasticity as well

as management capability Distributed cloud and mobile edge computing Three cases: scientific clouds, smartphone analysis,

and 5G networks