Advanced Cloud Infrastructures

Similar documents
Spring 2017 :: CSE 506. Introduction to. Virtual Machines. Nima Honarmand

Virtualization. ...or how adding another layer of abstraction is changing the world. CIS 399: Unix Skills University of Pennsylvania.

Lecture 09: VMs and VCS head in the clouds

Virtualization. Michael Tsai 2018/4/16

Nested Virtualization and Server Consolidation

Virtualization Introduction

Module 1: Virtualization. Types of Interfaces

Data Centers and Cloud Computing

Deployment Patterns using Docker and Chef

Power Efficiency of Hypervisor and Container-based Virtualization

Virtualization Overview NSRC

Chapter 5 C. Virtual machines

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

LINUX Virtualization. Running other code under LINUX

Data Centers and Cloud Computing. Slides courtesy of Tim Wood

What is Cloud Computing? Cloud computing is the dynamic delivery of IT resources and capabilities as a Service over the Internet.

Distributed Systems COMP 212. Lecture 18 Othon Michail

Data Centers and Cloud Computing. Data Centers

Cloud and Datacenter Networking

Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware

About the XenClient Enterprise Solution

Introduction to Cloud Computing and Virtualization. Mayank Mishra Sujesha Sudevalayam PhD Students CSE, IIT Bombay

Docker and Splunk Development

Cloud Computing. Luigi Santangelo Department of Computer Engineering University of Pavia

I/O and virtualization

Virtualization and Performance

Fast packet processing in the cloud. Dániel Géhberger Ericsson Research

The only open-source type-1 hypervisor

64-bit ARM Unikernels on ukvm

Paperspace. Architecture Overview. 20 Jay St. Suite 312 Brooklyn, NY Technical Whitepaper

IBM Bluemix compute capabilities IBM Corporation

Virtualization, Xen and Denali

The OnApp Cloud Platform

Virtualization. Pradipta De

FIVE REASONS YOU SHOULD RUN CONTAINERS ON BARE METAL, NOT VMS

An overview of virtual machine architecture

Red Hat Enterprise Virtualization and KVM Roadmap. Scott M. Herold Product Management - Red Hat Virtualization Technologies

The Challenges of X86 Hardware Virtualization. GCC- Virtualization: Rajeev Wankar 36

TALK THUNDER SOFTWARE FOR BARE METAL HIGH-PERFORMANCE SOFTWARE FOR THE MODERN DATA CENTER WITH A10 DATASHEET YOUR CHOICE OF HARDWARE

CS 470 Spring Virtualization and Cloud Computing. Mike Lam, Professor. Content taken from the following:

Full Scalable Media Cloud Solution with Kubernetes Orchestration. Zhenyu Wang, Xin(Owen)Zhang

CLOUD COMPUTING IT0530. G.JEYA BHARATHI Asst.Prof.(O.G) Department of IT SRM University

Cisco Cloud Strategy. Uwe Müller. Leader PreSales Cloud & Datacenter Germany

Virtualizaton: One Size Does Not Fit All. Nedeljko Miljevic Product Manager, Automotive Solutions MontaVista Software

CS 350 Winter 2011 Current Topics: Virtual Machines + Solid State Drives

Virtualizing Oracle 11g/R2 RAC Database on Oracle VM: Methods/Tips

Lecture 5: February 3

Can "scale" cloud applications "on the edge" by adding server instances. (So far, haven't considered scaling the interior of the cloud).

Knut Omang Ifi/Oracle 20 Oct, Introduction to virtualization (Virtual machines) Aspects of network virtualization:

Chapter 3 Virtualization Model for Cloud Computing Environment

Top five Docker performance tips

Next-Generation Cloud Platform

Virtual Leverage: Server Consolidation in Open Source Environments. Margaret Lewis Commercial Software Strategist AMD

Simple custom Linux distributions with LinuxKit. Justin Cormack

Demystifying the Cloud With a Look at Hybrid Hosting and OpenStack

Multiprocessor Scheduling. Multiprocessor Scheduling

CSC 5930/9010 Cloud S & P: Virtualization

Container Adoption for NFV Challenges & Opportunities. Sriram Natarajan, T-Labs Silicon Valley Innovation Center

Empirical Evaluation of Latency-Sensitive Application Performance in the Cloud

24-vm.txt Mon Nov 21 22:13: Notes on Virtual Machines , Fall 2011 Carnegie Mellon University Randal E. Bryant.

Hypervisor security. Evgeny Yakovlev, DEFCON NN, 2017

Open Hybrid Cloud & Red Hat Products Announcements

SUSE Linux Entreprise Server for ARM

Xen and CloudStack. Ewan Mellor. Director, Engineering, Open-source Cloud Platforms Citrix Systems

No Limits Cloud Introducing the HPE Helion Cloud Suite July 28, Copyright 2016 Vivit Worldwide

SMARTPHONE MARKETS AND TECHNOLOGIES

Real-Time Cache Management for Multi-Core Virtualization

Virtualization (II) SPD Course 17/03/2010 Massimo Coppola

SOFTWARE DEFINED STORAGE VS. TRADITIONAL SAN AND NAS

CSC 170 Introduction to Computers and Their Applications. Computers

Unikernels? Thomas [Twitter]

Towards Massive Server Consolidation

Instructions Board Game For Windows 7 32 Bit Laptop >>>CLICK HERE<<<

Cloud Networking (VITMMA02) Server Virtualization Data Center Gear

Improving CPU Performance of Xen Hypervisor in Virtualized Environment

Xen and the Art of Virtualization. Nikola Gvozdiev Georgian Mihaila

Introduction to Virtualization and Containers Phil Hopkins

Understanding the latent value in all content

Power your planet. Optimizing the Enterprise Data Center POWER7 Powers a Smarter Infrastructure

#techsummitch

CIT 668: System Architecture. Amazon Web Services

CSCI 8530 Advanced Operating Systems. Part 19 Virtualization

Deflating the hype: Embedded Virtualization in 3 steps

EDGE COMPUTING & IOT MAKING IT SECURE AND MANAGEABLE FRANCK ROUX MARKETING MANAGER, NXP JUNE PUBLIC

Why Vyatta is Better than Cisco

The intelligence of hyper-converged infrastructure. Your Right Mix Solution

Transforming Management for Modern Scale-Out Infrastructure

Overview of the Raspberry Pi Models 3B & 2B

VARIABILITY IN OPERATING SYSTEMS

Status Update About COLO (COLO: COarse-grain LOck-stepping Virtual Machines for Non-stop Service)

StorPool Distributed Storage Software Technical Overview

From Containers to Cloud with Linux on IBM Z. Utz Bacher STSM Linux and Containers on IBM Z

CHAPTER 16 - VIRTUAL MACHINES

OPS-9: Fun With Virtualization. John Harlow. John Harlow. About John Harlow

The Fastest And Most Efficient Block Storage Software (SDS)

A Hands on Introduction to Docker

Virtual Machines. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Extremely Fast Distributed Storage for Cloud Service Providers

SOFTWARE DEFINED STORAGE

Parallels Virtuozzo Containers

Transcription:

Advanced Cloud Infrastructures From Data Centers to Fog Computing (part 1) Guillaume Pierre Master 2 CCS & SIF, 2017 Advanced Cloud Infrastructures 1 / 35

Advanced Cloud Infrastructures 2 / 35

Advanced Cloud Infrastructures 3 / 35

Table of Contents 1 Cloud Data Centers 2 Cloud-based applications are changing 3 Edge Computing 4 Fog Computing 5 Research question: what is the smallest, cheapest machine which can still be used as a fog computing node? 6 Virtualizing a Raspberry Pi Advanced Cloud Infrastructures Cloud Data Centers 4 / 35

Traditional system architectures Application Middleware OS Machine Traditional architecture Advanced Cloud Infrastructures Cloud Data Centers 5 / 35

Traditional system architectures Application Middleware OS Machine Traditional architecture Advanced Cloud Infrastructures Cloud Data Centers 5 / 35

The varying capacity problem Demand Compute capacity Time Advanced Cloud Infrastructures Cloud Data Centers 6 / 35

The varying capacity problem Demand Necessary capacity Compute capacity Time Advanced Cloud Infrastructures Cloud Data Centers 6 / 35

The varying capacity problem Demand Necessary capacity Compute capacity Unused capacity Time Advanced Cloud Infrastructures Cloud Data Centers 6 / 35

The varying capacity problem Demand Necessary capacity Compute capacity Unused capacity Time What if demand increases beyond the capacity? Advanced Cloud Infrastructures Cloud Data Centers 6 / 35

Cloud Computing Di cult to vary capacity! Resources available on demand Manual resource Resource management is fully management automated Pay only for what you use Application Middleware Infrastructure as a Service OS Virtualization Machine Machine Machine++OS OS Machine + OS Traditional architecture Advanced Cloud Infrastructures Cloud architecture Cloud Data Centers 7 / 35

Cloud Computing Applications & Services Application PaaS Map Reduce Spark Storm... Middleware OS Machine Traditional architecture Infrastructure as a Service Virtualization Machine + Machine OS + OS OS Cloud architecture Advanced Cloud Infrastructures Cloud Data Centers 7 / 35

Table of Contents 1 Cloud Data Centers 2 Cloud-based applications are changing 3 Edge Computing 4 Fog Computing 5 Research question: what is the smallest, cheapest machine which can still be used as a fog computing node? 6 Virtualizing a Raspberry Pi Advanced Cloud Infrastructures Cloud-based applications are changing 8 / 35

The new mobile computing landscape Since 2016: mobile network trac > xed trac Advanced Cloud Infrastructures Cloud-based applications are changing 9 / 35

New types of mobile applications Interactive applications require ultra-low network latencies E.g., augmented reality require end-to-end delays under 20 ms But latencies to the closest data center are 20-30 ms using wired networks, up to 50-150 ms on 4G mobile networks!!! Advanced Cloud Infrastructures Cloud-based applications are changing 10 / 35

The new IoT landscape Fact: IoT-generated trac grows faster than the Internet backbone capacity Advanced Cloud Infrastructures Cloud-based applications are changing 11 / 35

New types of mobile applications Throughput-oriented applications require local computations E.g., distributed videosurveillance is relevant only close to the cameras Why waste long-distance network resources? Advanced Cloud Infrastructures Cloud-based applications are changing 12 / 35

Question Who owns computing resources located closest to the mobile end users and the IoT devices? Advanced Cloud Infrastructures Cloud-based applications are changing 13 / 35

Question Who owns computing resources located closest to the mobile end users and the IoT devices? Answer: Mobile network operators Advanced Cloud Infrastructures Cloud-based applications are changing 13 / 35

Table of Contents 1 Cloud Data Centers 2 Cloud-based applications are changing 3 Edge Computing 4 Fog Computing 5 Research question: what is the smallest, cheapest machine which can still be used as a fog computing node? 6 Virtualizing a Raspberry Pi Advanced Cloud Infrastructures Edge Computing 14 / 35

Mobile network operator's revenues Where does mobile network operator's revenues come from? I I I I 1990's: 2000's: 2010's: What's Voice (not any more) Text/SMS (not any more) Data (not for very long... ) next? Advanced Cloud Infrastructures Edge Computing 15 / 35

Mobile network operator's revenues Where does mobile network operator's revenues come from? I I I I 1990's: 2000's: 2010's: What's Voice (not any more) Text/SMS (not any more) Data (not for very long... ) next? Services! Let's steal part of the cloud computing business... I No cloud data center can be closer to the users than us! Advanced Cloud Infrastructures Edge Computing 15 / 35

Edge computing Before: After: Advanced Cloud Infrastructures Edge Computing 16 / 35

Standardization eorts European Telecommunications Standards Institute: Mobile Multi-Access Edge Computing Fujitsu, Hewlett-Packard, Huawei, Intel, Juniper, Motorola, NEC,Nokia, Orange, Samsung, Sony, Vodafone,... Focus: integration within mobile phone networks Advanced Cloud Infrastructures Edge Computing 17 / 35

Standardization eorts European Telecommunications Standards Institute: Mobile Multi-Access Edge Computing Fujitsu, Hewlett-Packard, Huawei, Intel, Juniper, Motorola, NEC,Nokia, Orange, Samsung, Sony, Vodafone,... Focus: integration within mobile phone networks Open Edge Computing Initiative Focus: openness Intel, Huawei, Vodafone, Carnegie-Mellon university,... Advanced Cloud Infrastructures Edge Computing 17 / 35

Standardization eorts European Telecommunications Standards Institute: Mobile Multi-Access Edge Computing Fujitsu, Hewlett-Packard, Huawei, Intel, Juniper, Motorola, NEC,Nokia, Orange, Samsung, Sony, Vodafone,... Focus: integration within mobile phone networks Open Edge Computing Initiative Focus: openness Intel, Huawei, Vodafone, Carnegie-Mellon university,... Open Fog Consortium ARM, Cisco, Dell, Intel, Microsoft,... Advanced Cloud Infrastructures Edge Computing 17 / 35

Standardization eorts European Telecommunications Standards Institute: Mobile Multi-Access Edge Computing Fujitsu, Hewlett-Packard, Huawei, Intel, Juniper, Motorola, NEC,Nokia, Orange, Samsung, Sony, Vodafone,... Focus: integration within mobile phone networks Open Edge Computing Initiative Focus: openness Intel, Huawei, Vodafone, Carnegie-Mellon university,... Open Fog Consortium ARM, Cisco, Dell, Intel, Microsoft,... Fog/Edge/Massively Distributed Clouds WG at OpenStack Advanced Cloud Infrastructures Edge Computing 17 / 35

Table of Contents 1 Cloud Data Centers 2 Cloud-based applications are changing 3 Edge Computing 4 Fog Computing 5 Research question: what is the smallest, cheapest machine which can still be used as a fog computing node? 6 Virtualizing a Raspberry Pi Advanced Cloud Infrastructures Fog Computing 18 / 35

What is fog computing? Fog computing = cloud + edge + end-user devices as a single execution platform Low latency Localized trac Less global trac Better reliability Privacy... Advanced Cloud Infrastructures Fog Computing 19 / 35

Fog Cloud We need cloud servers close to the users, but the users are everywhere (and they are mobile) Let's place one cloud server within short range of any end-user device Fog computing resources will need to be distributed in thousands of locations Advanced Cloud Infrastructures Fog Computing 20 / 35

Fog Cloud We need cloud servers close to the users, but the users are everywhere (and they are mobile) Let's place one cloud server within short range of any end-user device Fog computing resources will need to be distributed in thousands of locations Fog nodes will be connected with commodity networks Forget your multi-gbps data center networks! Advanced Cloud Infrastructures Fog Computing 20 / 35

Fog Cloud We need cloud servers close to the users, but the users are everywhere (and they are mobile) Let's place one cloud server within short range of any end-user device Fog computing resources will need to be distributed in thousands of locations Fog nodes will be connected with commodity networks Forget your multi-gbps data center networks! Fog nodes must be small, cheap, easy to deploy and to replace Advanced Cloud Infrastructures Fog Computing 20 / 35

Fog Cloud Typical Cloud platform Few data centers Lots of resources per data center High-performance networks Cloud resource location is (mostly) irrelevant Advanced Cloud Infrastructures Fog Computing 21 / 35

Fog Cloud Typical Cloud platform Few data centers Lots of resources per data center High-performance networks Cloud resource location is (mostly) irrelevant Typical Fog platform Huge number of points-of-presence Few resources per PoP Commodity networks Fog resource location is extremely important Advanced Cloud Infrastructures Fog Computing 21 / 35

Table of Contents 1 Cloud Data Centers 2 Cloud-based applications are changing 3 Edge Computing 4 Fog Computing 5 Research question: what is the smallest, cheapest machine which can still be used as a fog computing node? 6 Virtualizing a Raspberry Pi Advanced Cloud Infrastructures Research question: what is the smallest, cheapest machine which can still be used as a fog computing node? 22 / 35

Raspberry PIs are more powerful than you may think RPi3 Pine A64+ HP 820 G2 CPU (s) 46.5 4.1 2.8 Memory (MB/s) 933 1098 5658 Network (Mb/s) 94.2 922 935 Storage (MB/s) 2.53 2.42 23.9 Power when idle (W) 2 2 15 Power under load (W) 4.4 4.1 24.5 Price 92 e 74 e 1600 e We chose RPi3 as our base platform for the time being Mostly because of easy purchase options and community support... Advanced Cloud Infrastructures Research question: what is the smallest, cheapest machine which can still be used as a fog computing node? 23 / 35

What about a real application? Input: live video stream Processing: face recognition algorithm running inside Apache Flink Advanced Cloud Infrastructures Research question: what is the smallest, cheapest machine which can still be used as a fog computing node? 24 / 35

What about a real application? Input: live video stream Processing: face recognition algorithm running inside Apache Flink The RPIs are only 3-5 times slower than my laptop But they are 17 times cheaper If my applications scale horizontally I can use as many RPIs as necessary Advanced Cloud Infrastructures Research question: what is the smallest, cheapest machine which can still be used as a fog computing node? 24 / 35

Table of Contents 1 Cloud Data Centers 2 Cloud-based applications are changing 3 Edge Computing 4 Fog Computing 5 Research question: what is the smallest, cheapest machine which can still be used as a fog computing node? 6 Virtualizing a Raspberry Pi Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 25 / 35

Virtualization App 1 App 2... App 3 Micro-architecture Digital logic layer (memory, compute circuits) Operating system Assembler layer Bus Peripherals (disk, screen, network, keyboard...) "The hardware machine" Traditional machine architecture: Applications Operating system Hardware Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 26 / 35

Virtualization Assembler layer Micro-architecture Digital logic layer (memory, compute circuits) Operating system Assembler layer Bus Peripherals (disk, screen, network, keyboard...) "The hardware machine" Let's create a special application which behaves exactly the same as the assembler layer... Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 26 / 35

Virtualization Virtual machine App 1 App 2... Guest operating system Hypervisor (assembler layer) Micro-architecture Digital logic layer (memory, compute circuits) Host operating system Assembler layer Bus Peripherals (disk, screen, network, keyboard...) "The hardware machine" We can execute any operating system on top of it...... and any application over the guest operating system We have a virtual machine Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 26 / 35

Virtualization 2 cores, 6 GB RAM 4 cores, 8 GB RAM Virtual machine 1 Virtual machine 2 App 1 App 2... Guest operating system Hypervisor Micro-architecture Digital logic layer (memory, compute circuits) Host operating system Assembler layer App 1 App 2... Guest operating system Hypervisor Bus Peripherals (disk, screen, network, keyboard...) "The hardware machine" 8 cores, 16 GB RAM We can run multiple virtual machines on the same physical machine: Each virtual machine runs in full isolation from the other VMs Each virtual machine owns a subset of the hardware resources of the physical machine Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 26 / 35

Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 27 / 35

Why is virtualization interesting for cloud providers? Isolation: I can create multiple VMs on the same machine and give each VM to a dierent user (they will not see nor interfere with each other) Customization: Each user can customize their VMs according to their own requirements. Consolidation: Few applications can really exploit a large server machine to its maximum capacity. With virtualization I can split this capacity in smaller units and thereby increase my resource utilization. Management: Virtualization simplies resource management: I can measure how many resources each user is using, migrate VMs from one host to another, etc. Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 28 / 35

Virtualization technologies Virtualization technologies are now totally mainstream: Commercial: VMware, Microsoft App-V,... Open-Source: KVM, VirtualBox, Xen,... Paravirtualization vs. full virtualization: Paravirtualization works on any hardware platform but it requires special support in the guest OS. Slow! Full virtualization exploits special features of modern CPUs, does not require special support in the guest OS. Faster! Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 29 / 35

Virtualization technologies Virtualization technologies are now totally mainstream: Commercial: VMware, Microsoft App-V,... Open-Source: KVM, VirtualBox, Xen,... Paravirtualization vs. full virtualization: Paravirtualization works on any hardware platform but it requires special support in the guest OS. Slow! Full virtualization exploits special features of modern CPUs, does not require special support in the guest OS. Faster! Virtual machines are waaaaaayyyyyy too heavyweight for a RPI Each guest OS needs lots of memory Each OS needs to execute lots of background stu Impossible to run 100+ VMs on a single machine... Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 29 / 35

Containers App 1 App 2... App 3 Micro-architecture Digital logic layer (memory, compute circuits) Operating system Assembler layer Bus Peripherals (disk, screen, network, keyboard...) "The hardware machine" Traditional machine architecture: Applications Operating system Hardware Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 30 / 35

Containers Container 1 Container 2 App 1 App 2 App 3... Micro-architecture Digital logic layer (memory, compute circuits) Operating system Assembler layer Bus Peripherals (disk, screen, network, keyboard...) "The hardware machine" Let's create groups of processes which belong together: Process groups are totally isolated from each other Each process group belongs to a single user Each process group has its own hardware resource limits (CPU, RAM,... ) Each process group has its own network access policy Etc. We have containers Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 30 / 35

Container technologies Containers are an operating system feature No need for special CPU support Fully supported in Linux, Windows,... We usually add an extra software layer to simplify management: Docker Containers are less customizable than VMs Container owners cannot choose their OS But was that really necessary in the rst place? Not always. Containers are much more lightweight than VMs No need to run lots of (mostly identical) operating systems next to each other Containers often start in less than 1 second We can easily run hundreds of containers on a mid-sized machine Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 31 / 35

LXC containers Performance Agility Performance is extremely close to bare-metal Starting 150 containers w/ Apache Total time: 36 s (240 ms/container) Consumes about 2% of CPU Memory usage: 10 MB/container Stopping 150 containers: Total time: 9 seconds http://www.slideshare.net/bodenrussell/realizing-linux-containerslxc Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 32 / 35

Docker is a shipping container system for code https://impythonist.wordpress.com/2015/06/21/ docker-the-future-of-virtualization-for-your-django-web-development/ Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 33 / 35

https://blog.docker.com/2015/10/raspberry-pi-dockercon-challenge-winner/ Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 34 / 35

Teaser Next week we'll see that building a real fog platform is not as easy as it looks... Advanced Cloud Infrastructures Virtualizing a Raspberry Pi 35 / 35