• No results found

What We Can Do in the Cloud (1) -Tutorial for Cloud Computing Course- Mikael Fernandus Simalango WISE Research Lab Ajou University, South Korea

N/A
N/A
Protected

Academic year: 2021

Share "What We Can Do in the Cloud (1) -Tutorial for Cloud Computing Course- Mikael Fernandus Simalango WISE Research Lab Ajou University, South Korea"

Copied!
46
0
0

Loading.... (view fulltext now)

Full text

(1)

What We Can Do in the Cloud (1)

-Tutorial for Cloud Computing Course-

Mikael Fernandus Simalango WISE Research Lab

Ajou University, South Korea

(2)

Overview

qToday’s highlight:

» Cloud Services and Cloud Management Services

» Virtualization Primer

» Perspectives of a Cloud Computing Project

» Detailed Views of Existing Cloud Solutions

» WISE on Cloud (only for Ajou students)

(3)

Cloud Services and Cloud

Management Services

(4)

Cloud Services

qCore: “API” cloud services

qeXtra: XaaS (X as a Service)

A

pplication service

P

latform service

I

nfrastructural service

SaaS (Software as a Service)

PaaS (Platform as a Service)

IaaS (Infrastructure as a Service)

Privacy as a Service, Test a Service, Accounting as a Service, CRM as a Service, Repository as a Service,…, IT as a Service

(5)

Cloud Services (cont’d)

qCloud Services and Cloud Layers

Application layer Platform layer

Infrastructure layer

SaaS (Software as a Service)

PaaS (Platform as a Service)

IaaS (Infrastructure as a Service)

Cloud service types Cloud layers

HW

Virtualization layer

(6)

Cloud Services (cont’d)

qSaaS (Software as a Service):

» Software deployed as a hosted service and accessible by users over the internet

§ Used on-demand and charged on utility basis

» Examples of SaaS providers:

(7)

Cloud Services (cont’d)

qPaaS (Platform as a Service):

» Platforms built on top of virtualized infrastructure that can be used to deploy applications

» Examples of PaaS solutions:

§ Apache Hadoop

§ Google App Engine

§ Amazon Elastic MapReduce

(8)

Cloud Services (cont’d)

qIaaS (Infrastructure as a Service):

» Computing infrastructure (servers, storage,

network) delivered on-demand and charged on utility basis

» Examples of public IaaS providers:

§ Amazon EC2

§ Rackspace cloud

§ Joyent

§ Gogrid

(9)

Cloud Services (cont’d)

qHow about private IaaS providers?

» “Private” duality:

§ Single tenancy

§ Stricter SLA constraints

» Private cloud: a cloud formed on top of internal

infrastructure and/or privileged cloud infrastructure offered by public cloud provider

Internal infrastructure:

Server-network-storage

Provider infrastructure:

Server-network-storage

Private cloud

(10)

Cloud Services (cont’d)

qBuilding a private cloud:

» Virtualize legacy infrastructure

» Integrate with public cloud infrastructure for more elasticity

§ Requires cloud federation for resource orchestration

§ Cloud management services can be necessary

APP MW

OS HW

APP MW

OS HW

APP MW

OS HW

APP MW

OS

APP MW

OS

APP MW

OS Hypervisor

HW

(11)

Cloud Management Services

qCloud management services:

» Services that enable management functionalities to core cloud services

§ Mostly management of cloud infrastructure (IaaS management):

– VM management – Traffic management

– Load balancing and replication – Fault recovery

– High availability management – Performance monitoring

– etc

(12)

Cloud Management Services (cont’d)

qExamples of cloud infrastructure

management services:

» Open source solutions:

§ Open Nebula

§ Eucalyptus

» Commercial solutions:

§ Zeus

§ Platform computing

(13)

Virtualization Primer

(14)

Virtualization Primer

qVirtualization:

» Provides abstraction and encapsulation of physical resources

» Enables a pool of virtual machines that can be instantiated, terminated, migrated, suspended, deployed, copied, and destroyed

qVirtualization is not a cloud service but it is a

key enabler to cloud computing

(15)

Virtualization Primer

qVirtual Machine Manager or Hypervisor:

» A software-based actor that is responsible for virtualizing physical resources and managing communication between underlying hardware and instantiated virtual machines

qTypes of hypervisor:

» Type 1 hypervisor: runs directly on hardware

» Type 2 hypervisor: runs on a host operating system

(16)

Virtualization Primer

qType 1 hypervisor:

qExamples: Xen, KVM, VMWare ESXi, Citrix

XenServer, Microsoft Virtual Server

APP MW

OS HW

Hypervisor

+ =

HW Hypervisor APP

MW OS VM

APP MW

OS VM

APP MW

OS VM

(17)

Virtualization Primer

qType 2 hypervisor:

qExamples: Oracle VirtualBox, Vmware

Workstation, Microsoft Virtual PC, etc

APP MW

OS HW

Hypervisor

+ =

HW APP MW

OS VM

APP MW

OS VM

Hypervisor APP

MW OS

(18)

Perspectives of a Cloud

Computing Project

(19)

Perspectives of a Cloud Computing Project

qTwo sides of a coin:

+ Innovation + Optimization

+ Invention

+ Ingenious solution

(20)

Perspectives of a Cloud Computing Project

qPlanning the project:

Define the problem to attack Preliminary

survey

Define nature of project Innovative

project

Inventive project Set benchmark

solution Find holes,

missing features Develop solution

Testing Theoretical

model

Model validation

Invention

Benchmarking Innovation Performance and

gain validation

(21)

Perspectives of a Cloud Computing Project

qSample project: Project Dummy A

Problem: How can I know the topic that is hot on the net today?

Domain: Data mining and information retrieval

Benchmark solution: Twitter’s trending topic Nature of project: Innovation

Proposed solution:

-Combine Twitter’s trending topic with other sources: daily newspapers, social networking sites such as Facebook

-Use ensemble method to get better conjecture of today’s trending topic Test and deployment: Build Java code and deploy on GoogleAppEngine

Crawl analysis is conducted on Amazon EC2

(22)

Perspectives of a Cloud Computing Project

qProject Dummy A workflow:

Twitter’s trending topic

URL list:

1. cnn.com

2. news.com.au 3. bbc.co.uk 4. …

Crawler Word filter

Synonym-based classifier

Synonym-based classifier

Synonym-based classifier

{Term_i,rank}

{Term_i,rank}

{Term_i,rank}

Integrator classifier World’s trending

topic

(23)

Perspectives of a Cloud Computing Project

qSample project: Project Dummy B

Problem: How can we automate VM provisioning on hybrid cloud?

Domain: VM management

Theoretical model: Put the definitions, lemmas, and theorems here Nature of project: Invention

-Method and apparatus for automating VM provisioning on hybrid cloud using cloud supervising agent

Test and deployment: Build architectural design and implementation of cloud supervising agent using Java MPI and

test on existing IaaS clouds Proposed solution:

(24)

Perspectives of a Cloud Computing Project

qWhich way are you going?

» Reflect your current

understanding in cloud computing

» Beware of the timeline

» Match project complexity with your current knowledge,

development skill, and available time

(25)

Detailed Views of Existing

Cloud Solutions

(26)

Detailed Views of Existing Cloud Solutions

qMore in discussion:

» Amazon Web Services (IaaS and PaaS)

» Eucalyptus Community Cloud (IaaS)

» OpenNebula (IaaS)

» Google App Engine (PaaS)

» Apache Hadoop (PaaS)

» Github (SaaS)

(27)

Detailed Views of Existing Cloud Solutions:

Amazon Web Services

qFor first-timers:

» http://aws.amazon.com

Login Signup

(28)

Detailed Views of Existing Cloud Solutions:

Amazon Web Services (cont’d)

qAWS Management Console

Amazon cloud services

(29)

Detailed Views of Existing Cloud Solutions:

Amazon Web Services (cont’d)

qAmazon cloud services you may use in your

project:

» Amazon S3 (Simple Storage Service) -> bucket- based file storage system

» Amazon EC2 (Elastic Compute Cloud) -> virtual computing environment on Amazon’s

infrastructure

» Amazon Elastic MapReduce -> Amazon’s

platform for MapReduce implementation using Hadoop

(30)

Detailed Views of Existing Cloud Solutions:

Amazon Web Services (cont’d)

qAmazon EC2: Create a virtual computing

environment by using AMI (Amazon Machine Image)

(31)

Detailed Views of Existing Cloud Solutions:

Amazon Web Services (cont’d)

qAmazon EC2: Each running AMI instance will have a public IPv4 address and be accessible via SSH

(32)

Detailed Views of Existing Cloud Solutions:

Amazon Web Services (cont’d)

qAmazon Elastic MapReduce: Admin panel

(33)

Detailed Views of Existing Cloud Solutions:

Amazon Web Services (cont’d)

qAmazon Elastic MapReduce: Job flow wizard

(34)

Detailed Views of Existing Cloud Solutions:

Amazon Web Services (cont’d)

qBe careful with your financial expense when

using AWS:

» E.g. :Amazon EC2 standard Linux small on- demand instance, data in 10TB/m, data out 10TB/m in November 2010

§ $0.085/h or approx. 100 won/h (base)

§ ~$0.1/GB or approx. 120 won/GB (data in)

§ ~$0.15/GB or approx. 175 won/GB (data out)

§ Monthly price: 30*24*$0.085 + 10*1024*$0.1 + 10*1024*$0.15 = $2621.2 ~ 3.040.350 won

– Plus the price of data storage in S3

(35)

Detailed Views of Existing Cloud Solutions:

Eucalyptus Community Cloud

qEucalyptus: open-source cloud management

software that implementes IaaS-style cloud

computing using the existing Linux-based

infrastructure

qFor first-timers:

» http://open.eucalyptus.com

(36)

Detailed Views of Existing Cloud Solutions:

Eucalyptus Community Cloud

qEucalyptus Community Cloud:

» A sandbox environment that can be used to testdrive and experiment with Eucalyptus

» Free of charge (currently)

» Register at:

http://open.eucalyptus.com/CommunityCloud

(37)

Detailed Views of Existing Cloud Solutions:

Eucalyptus Community Cloud

qFeatures of Eucalyptus Community Cloud:

(20100913)

(38)

Detailed Views of Existing Cloud Solutions:

Eucalyptus Community Cloud

qECC administrative GUI:

(39)

Detailed Views of Existing Cloud Solutions:

Eucalyptus Community Cloud

qECC sample command line tool:

(40)

Detailed Views of Existing Cloud Solutions:

Eucalyptus Community Cloud

qWhen you may consider using Eucalyptus

Community Cloud:

» You want to get more familiar with IaaS cloud

» Data processing in your project is bursty and not really big (the testbed is limited to 5GB of

storage, 4 running instances, and 6 hours of instance lifetime)

(41)

Detailed Views of Existing Cloud Solutions:

Github

qGithub: version control system with social

capabilities such as commenting and tagging

qIf you have ever heard of CVS and SVN,

then Github also serves similar purpose but

with different flavor

qHosting an open source public project on

Github is free

qFor first timers:

» http://github.com

(42)

Detailed Views of Existing Cloud Solutions:

Github

qSample project hosted on Github (Jquery):

(43)

Detailed Views of Existing Cloud Solutions:

Github

qWhen you may consider using github for

your projects:

» You want feedback from others about your code

» You want your code to get more exposure

» You are a fan of social application

» You don’t like SVN or CVS

(44)

WISE on Cloud

(45)

This section is not available in this public release

(46)

Special Notice

q All company logos are copyrighted to the corresponding companies

q The images in the header of title slide were taken from quickstart.com and incomingit.com

q The image on the right top of each content slide was taken from sevensheaven.nl

q The coin figure was taken from ancients.info

References

Related documents

nationally if Australia were to levy a carbon tax, would domestic nuclear production become economically sustainable. Without such measures, or significant subsidies by

Software as a Service (SaaS), Platform as a Service (PaaS), and Infrastructure as a Service (IaaS) are the three types of cloud computing services [1].. People use

 Amsterdam University Library: The interim mobile library website created by Amsterdam University library provides a number of services including access to the OPAC,

DRAM configuration is 64 bits wide with parity disabled. 255K bytes of non-volatile configuration memory. Based on the output of the show version command, answer the following

Uzziah, Menahem began to reign over Israel, and he reigned ten years ; 2 Kings xv.. Perhaps

When analysing changes occurring in the milk yield and composition depending on successive lactation it was concluded that the highest amount of obtained milk, calculated FCM and

Focus group #4 (N=8) included representatives from the regional transit system, the Veteran’s hospital, the local senior living community, local community college, and

 The underlying open source project’s name is Nova, and it provides the software that can control an Infrastructure as a Service (IaaS) cloud computing platform.  It is similar