C LOUD C OMPUTING I NFRASTRUCTURE T AKE A SEAT & PREPARE TO FLY Anh M. Nguyen CS525, UIUC, Spring 2009 1.

Slides:



Advertisements
Similar presentations
Summary of Cloud Computing (CC) from the paper Abovce the Clouds: A Berkeley View of Cloud Computing (Feb. 2009)
Advertisements

UC Berkeley Above the Clouds A Berkeley View of Cloud Computing 1 UC Berkeley RAD Lab.
Amazon Web Services and Eucalyptus
Take your CMS to the cloud to lighten the load Brett Pollak Campus Web Office UC San Diego.
Cloud Computing Imranul Hoque. Today’s Cloud Computing.
An Introduction to Cloud Computing By Ramandeep Singh.
Infrastructure as a Service (IaaS) Amazon EC2
What is Cloud Computing? o Cloud computing:- is a style of computing in which dynamically scalable and often virtualized resources are provided as a service.
Nikolay Tomitov Technical Trainer SoftAcad.bg.  What are Amazon Web services (AWS) ?  What’s cool when developing with AWS ?  Architecture of AWS 
INTRODUCTION TO CLOUD COMPUTING CS 595 LECTURE 4.
Engineering the Cloud Andrew McCombs March 10th, 2011.
Cloud Computing: Overview 1. This lecture What is cloud computing? What are its essential characteristics? Why cloud computing? Classification/service.
What is Cloud Computing?. Why call it “Cloud” Computing?
Cloud computing Tahani aljehani.
INTRODUCTION TO CLOUD COMPUTING Cs 595 Lecture 5 2/11/2015.
An Introduction to Cloud Computing. The challenge Add new services for your users quickly and cost effectively.
Duncan Fraiser, Adam Gambrell, Lisa Schalk, Emily Williams
Platform as a Service (PaaS)
Amazon EC2 Quick Start adapted from EC2_GetStarted.html.
CERN IT Department CH-1211 Genève 23 Switzerland t Next generation of virtual infrastructure with Hyper-V Michal Kwiatek, Juraj Sucik, Rafal.
Cloud Computing – The Cloud Dr. Jie Liu. Definition  Cloud computing is Web-based processing, whereby shared resources, software, and information are.
VAP What is a Virtual Application ? A virtual application is an application that has been optimized to run on virtual infrastructure. The application software.
For more notes and topics visit:
A Brief Overview by Aditya Dutt March 18 th ’ Aditya Inc.
Cloud Computing: Overview
Cloud Computing Saneel Bidaye uni-slb2181. What is Cloud Computing? Cloud Computing refers to both the applications delivered as services over the Internet.
CEG7380 Cloud Computing Lecture 1
PhD course - Milan, March /09/ Some additional words about cloud computing Lionel Brunie National Institute of Applied Science (INSA) LIRIS.
Cloud computing is the use of computing resources (hardware and software) that are delivered as a service over the Internet. Cloud is the metaphor for.
INTRODUCTION TO CLOUD COMPUTING CS 595 LECTURE 7 2/23/2015.
Cloud Computing. What is Cloud Computing? Cloud computing is a model for enabling convenient, on-demand network access to a shared pool of configurable.
An emerging computing paradigm where data and services reside in massively scalable data centers and can be ubiquitously accessed from any connected devices.
Software Architecture
Introduction to Cloud Computing
Cloud Computing & Amazon Web Services – EC2 Arpita Patel Software Engineer.
Webscale Computing Mike Culver Amazon Web Services.
Presented by: Mostafa Magdi. Contents Introduction. Cloud Computing Definition. Cloud Computing Characteristics. Cloud Computing Key features. Cost Virtualization.
Plan  Introduction  What is Cloud Computing?  Why is it called ‘’Cloud Computing’’?  Characteristics of Cloud Computing  Advantages of Cloud Computing.
Amit Warke Jerry Philip Lateef Yusuf Supraja Narasimhan Back2Cloud: Remote Backup Service.
Windows Azure Virtual Machines Anton Boyko. A Continuous Offering From Private to Public Cloud.
Cloud Computing is a Nebulous Subject Or how I learned to love VDF on Amazon.
Chapter 8 – Cloud Computing
3/12/2013Computer Engg, IIT(BHU)1 CLOUD COMPUTING-1.
Web Technologies Lecture 13 Introduction to cloud computing.
1 TCS Confidential. 2 Objective : In this session we will be able to learn:  What is Cloud Computing?  Characteristics  Cloud Flavors  Cloud Deployment.
An Introduction to Cloud Computing By: Anmol Sharma Chetan rathore.
Cloud Computing from a Developer’s Perspective Shlomo Swidler CTO & Founder mydrifts.com 25 January 2009.
Submitted to :- Neeraj Raheja Submitted by :- Ghelib A. Shuaib (Asst. Professor) Roll No : Class :- M.Tech(CSE) 2 nd Year.
Deploying Highly Available SQL Server in Windows Azure A Presentation and Demonstration by Microsoft Cluster MVP David Bermingham.
KAASHIV INFOTECH – A SOFTWARE CUM RESEARCH COMPANY IN ELECTRONICS, ELECTRICAL, CIVIL AND MECHANICAL AREAS
4a. Aula 2o. Período de Livro texto Copyright © 2012, Elsevier Inc. All rights reserved March 5, 2012 Prof. Kai Hwang, USC Cloud Roles in.
© 2012 Eucalyptus Systems, Inc. Cloud Computing Introduction Eucalyptus Education Services 2.
Clouds, Grids and Clusters Prepared by M.Chandana Department of CSE Engineered for Tomorrow Course code: 10CS845.
© 2015 MetricStream, Inc. All Rights Reserved. AWS server provisioning © 2015 MetricStream, Inc. All Rights Reserved. By, Srikanth K & Rohit.
Yue Zhou. Overall of cloud computing Definition of Could Computing Characteristics and Advantages Type of Services Current Leaders: Google, Amazon, Microsoft,
Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:
Above the Clouds: A Berkeley View of Cloud Computing Annajiat Alim Rasel, P Shimul Bala, P Raquibul Bari, P Annajiat Alim.
Prof. Jong-Moon Chung’s Lecture Notes at Yonsei University
Platform as a Service (PaaS)
Unit 3 Virtualization.
Platform as a Service (PaaS)
Platform as a Service (PaaS)
Amazon Web Services Submitted By- Section - B Group - 4
Andrew McCombs March 10th, 2011
Introduction to Cloud Computing
Above the Clouds A Berkeley View of Cloud Computing
Design Unit 26 Design a small or home office network
Brandon Hixon Jonathan Moore
Presentation transcript:

C LOUD C OMPUTING I NFRASTRUCTURE T AKE A SEAT & PREPARE TO FLY Anh M. Nguyen CS525, UIUC, Spring

G OALS Define Cloud: public cloud, private cloud Cloud Computing Why cloud computing? Obstacles & opportunities Current state of cloud computing Amazon EC2 Google AppEngine 2

W HAT IS CLOUD COMPUTING ? I don’t understand what we would do differently in the light of Cloud Computing other than change the wordings of some of our ads Larry Ellision, Oracle’s CEO I have not heard two people say the same thing about it [cloud]. There are multiple definitions out there of “the cloud” Andy Isherwood, HP’s Vice President of European Software Sales It’s stupidity. It’s worse than stupidity: it’s a marketing hype campaign. Richard Stallman, Free Software Foundation founder 3

S OFTWARE AS A SERVICE (S AA S) Application is used as an on demand service. Often provided via the Internet Think on-demand TV programs Example: Google App (online office) Benefits to users Reduce expenses: multiple computers, multiple users Ease of usage: easy installation, access everywhere Benefits to providers Easier to maintain Control usage (no illegal copies) 4

U TILITY C OMPUTING (UC) Computing resources (cpu hour, memory, network) and platform to run software are provided as on demand service Think electricity service The same evolution happened Hardware as a service (HaaS), Infrastructure as a service (IaaS), Platform as a Service (PaaS) Examples of UC providers: Amazon EC2, Google AppEngine … Who will use UC? Is UC the end of high-end PC? People who otherwise has to build their own data center: SaaS providers, analytics & batch processing 5

U TILITY C OMPUTING - B ENEFIT TO USERS Mitigate the risks of over-provisioning and under- provisioning No up-front cost, invest on other aspects (marketing, technology…) Less maintenance & operational cost Save time, time = money  In summary: Reduce cost 6

U TILITY C OMPUTING – M ITIGATE RISKS Real world utilization 5%-20% Animoto demand surge: from 50 servers to 3500 servers in 3 days Black Friday sales Over-provisioning Demand Capacity t Resources Demand Capacity t Resources Demand Capacity t 1 23 Under-provisioning On demand, scalable 7

U TILITY C OMPUTING – B ENEFIT TO PROVIDERS Make money Economies of scale Time diversity: different peeks for different services Geographical diversity: choice of best location Electric price in Idaho = 1/5 in Hawaii Existing infrastructure & expertise Google, Amazon: utilize off-peak capacity Resource Cost for medium scaleCost for large scale Ratio Network$95 / Mbps / month$13 / Mbps / month~7x Storage$2.20 / GB / month$0.40 / GB / month~6x Administration≈140 servers/admin>1000 servers/admin~7x 8

U TILITY C OMPUTING – A MAZON EC2 Elastic Compute Cloud Rent virtual machine instances to run your software. Monitor and increase / decrease the number of VMs as demand changes How to use: Create an Amazon Machine Image (AMI): applications, libraries, data and associated settings Upload AMI to Amazon S3 (simple storage service) Use Amazon EC2 web service to configure security and network access Choose OS, start AMI instances Monitor & control via web interface or APIs 9

A MAZON EC2 Characteristics: Elastic: increase or decrease capacity within minutes Monitor and control via EC2 APIs Completely controlled: root access to each instances Flexible: choose your OS, software packages… Redhat, Ubuntu, openSuse, Windows Sever 2003,… Small, large, extra large instances Reliable: Amazon datacenters, high availability and redundancies Secure: web interface to configure firewall settings Cost: CPU: small instance, $0.10 per hour for Linux, $0.125 per hour for Windows ( GHz 2007 Opteron or 2007 Xeon processor) Bandwidth: in $0.10, out $0.17 per GB Storage: $0.10 per GB-month, $0.10 per 1 million I/O requests 10

U TILITY C OMPUTING - G OOGLE A PP E NGINE Write your web program in Python and submit to Google. It will take care of the rest How to use Download AppEngine SDK Develop your program locally A set of python programs, input = requested url, output = return message Debug locally Register for an application id Submit your application to Google 11

G OOGLE A PP E NGINE – H ELLO WORLD Creating a Simple Request Handler Create a file helloworld.py : print 'Content-Type: text/plain' print '' print 'Hello, world!‘ Map url to handler Edit configuration file app.yaml application: helloworld version: 1 handlers: - url: /.* script: helloworld.py Data storage: Distributed file system Store using AppEngine API, retrieve using GQL Debug:

G OOGLE A PP E NGINE Register for an application ID Verification code sent to your mobile Uploading the Application appcfg.py update helloworld/ Enter your Google username and password at the prompts Manage using Administration Console Set up domain name Invite other people to be developers View error logs, traffic logs Switch between different versions 13

G OOGLE A PP E NGINE Characteristics Easy to start, little administration Scale automatically Reliable Integrate with Google user service: get user nickname, request login… Cost: Can set daily quota CPU hour: 1.2 GHz Intel x86 processor Free quotas going to be reduced soon ResourceUnitUnit costFree (daily) Outgoing Bandwidthgigabytes$0.1210GB Incoming Bandwidthgigabytes$0.1010GB CPU TimeCPU hours$ hours Stored Datagigabytes per month$0.151GB (all) 14

S PECTRUM OF A BSTRACTIONS Different levels of abstraction Instruction Set VM: Amazon EC2 Framework VM: Google AppEngine Similar to languages Higher level abstractions can be built on top of lower ones EC2AzureAppEngine Force.com Lower-level, More flexibility, More management Not scalable by default Higher-level, Less flexibility, Less management Automatically scalable 15

D ETAILED COMPARISON AmazonGoogle AppEngine Computation model x86 Instruction Set Architecture Not scalable by default. Can use 3 rd party service such as RightScale Predefined 3-tiers Web app structure Fixed language: Python Automatic scaling up and down Storage model Scaling varies from none (EBS) to fully automatic (SimpleDB, S3) Fixed API: BigTable Automatic scaling Networking model Define network access policies Choose availability zones, independent network failure Elastic IP addresses, persistently routable name Automatic scaling Fixed topology to for 3-tier Web app structure Automatic scaling 16

W HAT IS A CLOUD ? Software and hardware to operate datacenters Public cloud: cloud used to provide utility computing Amazon EC2: Amazon datacenters, Xen, EC2 APIs and administrative interface Google AppEngine: Google data center, GFS, AppEngine APIs, administrative interface… Batch processing softwares: MapReduce, Hadoop, Pig, Dryad Private cloud: datacenters, not available for rental How about the academic clouds? Protected clouds 17

PaaS Users PaaS Providers Utility Computing 18 SaaS Users SaaS Providers SaaS Cloud Computing A combination of existing concepts SaaS Providers / PaaS Users

C LOUD COMPUTING Cloud TV (Cloud Computing) Video On Demand (SaaS) Electricity On Demand (PaaS) 19 Cloud Computing = SaaS + PaaS (utility computing)

W HAT IS NEW IN C LOUD C OMPUTING The illusion of infinite computing resources The elimination of an up-front commitment by users The ability to use and pay on demand Cloud Computing vs P2P? Both take advantage of remote resources P2P: does not use clouds (datacenters), peers do not get paid, lower reliability Cloud Computing vs Grid Computing? Both use clouds Grid Computing requires commitment, share based on common interests. Not public cloud 20

C LOUD K ILLER A PPS Mobile and web applications Mobile devices: low memory & computation power Extensions of desktop software Matlab, Mathematica Batch processing / MapReduce Peter Harkins at The Washington Post: 200 EC2 instances (1,407 server hours), convert 17,481 pages of Hillary Clinton’s travel documents within 9 hours The New York Times used 100 Amazon EC2 instances + Hadoop application to recognize 4TB of raw TIFF image into 1.1 million PDFs in 24 hours ($240) 21

S HOULD I MOVE INTO A CLOUD Does it really save money? Cost cloud > Cost datacenter, balance by Utilization UserHours cloud > UserHours datacenter (under-provisioning) Other factors Re-implement programs Move data into cloud What else? Example: Upload rate 20Mbits / s. 500GB takes 55 hours If can process locally in less than 55 hours  moving into a cloud would not save time 22

A DOPTION C HALLENGES Coghead, a cloud vendor closed its business a week ago Customers need to rewrite their applications Online storage service The Linkup closed July 10, ,000 paying subscribers lost their data ChallengeOpportunity AvailabilityMultiple providers Data lock-inStandardization Data Confidentiality and Auditability Encryption, VLANs, Firewalls 23

A DOPTION C HALLENGES 24 Cloud Control, InformationWeek Reports, 2009

G ROWTH C HALLENGES ChallengeOpportunity Data transfer bottlenecksFedEx-ing disks, reuse data multiple times Performance unpredictabilityImproved VM support, flash memory Scalable storageInvent scalable storage Bugs in large distributed systems Invent Debugger using Distributed VMs Scaling quicklyInvent Auto-Scaler 25

G ROWTH C HALLENGES Data transfer bottle neck WAN cost reduces slowest: 2003  2008: WAN 2.7x, CPU 16x, storage 10x Fastest way to transfer large data: send the disks Performance unpredictability Large variation in I/O operations Inefficiency in I/O virtualization 26

P OLICY AND BUSINESS CHALLENGE Reputation: Many blacklists use IP addresses and IP ranges Software licensing: Open source software readily applicable Windows, IBM softwares offered per hour for EC2 ChallengeOpportunity Reputation Fate SharingOffer reputation-guarding services like those for Software LicensingPay-for-use licenses; Bulk use sales 27

T HE FUTURE ? Application software: Cloud & client parts, disconnection tolerance Infrastructure software: Resource accounting, VM awareness Hardware systems: Containers, energy proportionality 28

D ISCUSSION Is their definition correct? What applications of cloud computing in your research area that you can think of? Which service would you choose, EC2 or GoogApp? Can you predict the future of cloud computing? 29

REFERENCES Above the Clouds: A Berkeley View of Cloud Computing, Michael Armbrust et al, Feb 2009 (white paper and presentation) Google AppEngine: Amazon EC2: Lessons From The Demise Of A Cloud Startup, John Foley, Feb 2009 Cloud Control, InformationWeek Reports,

A RE YOU READY FOR A RIDE ? 31

B ACKUP S LIDES 32

R IGHTSCALE $2500 initial fee $500 monthly 33