• No results found

T Mobile Cloud Computing Private Cloud & Assignment

N/A
N/A
Protected

Academic year: 2021

Share "T Mobile Cloud Computing Private Cloud & Assignment"

Copied!
28
0
0

Loading.... (view fulltext now)

Full text

(1)

Yrjö Raivio, Koushik Annapureddy, Ramasivakarthik Mallavarapu

Aalto University, School of Science

Department of Computer Science and Engineering Data Communications Software

Email: yrjo.raivio(at)aalto.fi

Course email: t-110.5121(at)tkk.fi

T-110.5121 Mobile Cloud Computing

Private Cloud &

Assignment 2

19.10.2011

(2)

© Y Raivio

Outline

10/19/2011 2

• Private Infrastructure as a Service (IaaS)

• Eucalyptus

• OpenStack

• OpenNebula

• OpenNebula in practise

• Assignment 2

See also: http://cse.aalto.fi/studies/eit-2011/lecture-materials/

(3)

Private Infrastructure as a Service

(IaaS)

(4)

© Y Raivio

• Cloud computing management software

• Manage infrastructure (private and public)

• Launch VMs into a cloud

• Resource scheduler

• Controls Life-cycle of VMs with the help of Hypervisors

• Storage management

• Network management

• Admin and user interfaces (API/CLI/GUI)

• Provide Image repository/marketplace

• Load balancer

• Accounting/Billing

Cloud Middleware

10/19/2011 4

(5)

Eucalyptus (Eucalyptus Systems)

Open Stack (Nasa, Rackspace, Cisco..)

Open Nebula (C12G Labs)

Alternatives

(6)

© Y Raivio

Elastic Utility Computing Architecture Linking Your Programs To Useful Systems

• Enterprise Edition with support available

Support for private and hybrid cloud

Support for AWS APIs -> scale out to Amazon EC2 possible

Storage component: Walrus (S3-compliant)

• Primarily as VM repository

Support for Xen and KVM

GridEngine will integrate Eucalyptus

Eucalyptus

10/19/2011 6

(7)

Components

Source: http://support.rightscale.com/09-Clouds/Eucalyptus/01-Overview_of_Eucalyptus

(8)

© Y Raivio

Deployment options

10/19/2011 8

(9)

OpenStack Compute and OpenStack Object Storage,

• Support by various major enterprises

Project launched by Rackspace and NASA

Claims to be more scalable than others

Heavily under development

Ubuntu Enterprise cloud has OpenStack as core component (not Eucalyptus anymore)

OpenStack

(10)

© Y Raivio

Architecture

10/19/2011 10

(11)

Support private, public and hybrid cloud

Support Amazon EC2 + ElasticHosts

Supports standard management API called OCCI (Open Cloud Computing Interface) defined by Open Grid Forum

KVM, Xen, VMware hypervisors are supported

OpenNebula

(12)

© Y Raivio

Summary table

10/19/2011 12

Eucalyptus 2.0

OpenNebula 2.0

OpenStack Cactus Hypervisor KVM, Xen,

VMware

KVM, Xen, VMware

KVM, Xen, VMware, Hyper-V, LNC, UML

Workload distr. Round Robin, Greedy, Power save

Configurable scheduler

Configurable scheduler

VM live migration

No Yes Yes

Auto scaling No No No

APIs EC2 and S3 OCCI, EC2,

own

EC2, S3, OCCI, own Hybrid cloud Yes with EC2 Yes, allows

federation

Yes with EC2

Source: http://cse.aalto.fi/site1/wp-content/uploads/2011/05/lagerspetz-cloud-seminar.pdf

(13)

• Understanding Private Cloud

• Traditional vs. Private Cloud

• Virtualization

• Web Interface

• Demo of OpenNebula 3.0 and Hybrid Cloud

Agenda

(14)

© Y Raivio

Traditional vs. Private Cloud

10/19/2011 14

Internet Internet

Router Router Router Router

Firewall Firewall

App Web AD CRM Web

Firewall

DB DB

DB DB

Firewall

Host Host CRM

AD Web

(15)

Private Cloud

(16)

© Y Raivio

Overview

10/19/2011 16

(17)

Virtualization

O.S

O.S

O.S

Physical Environment

Virtual Environment O.S

O.S O.S H.W

H.W

H.W

Why Virtualization ?

1) Cost Savings

2) Better Resource Utilization 3) Better Memory Management 4) Increased Availability

5) Better Resource Provisioning 6) Energy Saving

(18)

© Y Raivio

Different type of hypervisors

10/19/2011 18

Type1 • VMWare ESXi

• Microsoft HyperV

• Citrix Xen Server

Type 2

• KVM

• VMWare Server

(19)

Private Cloud setup

(20)

© Y Raivio

Hybrid Cloud

10/19/2011 20

(21)

AutoScaler framework

(22)

© Y Raivio 10/19/2011

Questions?

Contacts:

Teacher: yrjo.raivio(at)aalto.fi, A122

Assistants: ramasivakarthik.mallavarapu(at)aalto.fi, PlayRoom koushik.annapureddy(at)aalto.fi, A118

Course staff: t-110.5121(at)tkk.fi

(23)

OpenNebula in Practise

Assignment 2

(24)

© Y Raivio

Task:

Create a Location Based Services (LBS) mashup

Initial setup:

Familiarize with IWD API, find some new APIs

Develop code (most given in Noppa) and run in OpenNebula

Input:

Trace a mobile for one week (once per hour) or one day (every 10 min)

Default mobile: 040 5601774 any time between 24.10-13.11

Store longitude and latitude to database

Output:

Deadline 20.11

Input location data to GoogleMaps, visualise

Add other services such as route guide, service listings, adverts, weather information etc. based on the route

Send recommendations with SMS or MMS to a given number in Noppa, start your message with ”GX MY: xyz...” where X=your group number and M=your message number (max limit 10 messages per group)

Test your implementation with your own number!

Location tracing mashup deployed on

OpenNebula

10/19/2011 24

(25)

Service example: Location tracing

Home 69%

Work 19%

Work travel 6%

Free time 6%

TeliaSonera: Innovation World Developer

(26)

© Y Raivio

Apps4Finland competition ongoing, examples:

HSL Route Guide:

• http://www.youtube.com/watch?v=qGllzWt0acU

Trains on Map:

• http://www.vr.fi/fi/index/aikataulut/liikennetilanne/junatkartalla.html

Service Map:

• http://www.hel.fi/palvelukartta/

Open API examples

10/19/2011 26

(27)

• Problem statement:

Trace one week, once per hour a 2G mobile phone using network APIs

Show results using Google Maps

Other open APIs give a plus (example HSL route guide)

• Allowed programming languages:

• PHP, Java

• TeliaSonera Location API request and send SMS/MMS given for PHP and Java

• More data for the programming part will be posted in Noppa by Friday 21.10

• Optional

You may trace yourself IF you have TeliaSonera SIM, also prepaid works; in that case you have to register yourself to

IWD If you want, you may also fetch your location data directly from your phone and trace yourself

Additional information

(28)

© Y Raivio

• Assignment 2 is not about:

Learning how to program in Java or PHP

• Goals:

Practical experience on OpenNebula

How to run VM in OpenNebula

Open APIs, especially operator network APIs

Learning goals for Assignment 2

10/19/2011 28

References

Related documents

Determined automatically use smaller margins word online and so while the email addresses you want to change the insert a template automatically changes or the email.. Columns button

Still need simply send an SMS text message to that recipient using the AT&T Verizon or T-Mobile carrier you type send the message using your normal email service..

※ Using your mobile phone, send the following text message to the SIM card phone number: The letter “A” in caps lock followed by 1 (1 is the code used to register the phone number

To send SMS messages, most mobile phones are programmed with the Vodafone Short Message Service Centre number: +06 5 4088 1000.. On some mobile phones, you have to programme

The New SMS screen allows you to send a text message to your Google contacts, your company colleagues, your personal contacts, or any other phone number.. The screen allows you

Click on the e-mail address on a Company or Contact to send an e-mail or on a Contact’s mobile number to send an SMS.. Write your message in the

Murder on Grimm Isle: The impact of game narrative design in an educational game-based learning environment.. British Journal of

We’ll then receive the email, deduct a credit from your account and automatically send the message as a text to the chosen mobile phone