MTAT.08.027 Basics of Cloud Computing (3 ECTS) Satish Srirama satish.srirama@ut.ee



Similar documents
Above the Clouds A Berkeley View of Cloud Computing

Large-scale Data Processing on the Cloud

Cloud Computing Summary and Preparation for Examination

Cloud Computing An Elephant In The Dark

Security and Privacy in Cloud Computing

Cloud computing. Examples

Cloud Computing Trends

What Is It? Business Architecture Research Challenges Bibliography. Cloud Computing. Research Challenges Overview. Carlos Eduardo Moreira dos Santos

Sistemi Operativi e Reti. Cloud Computing

How To Understand Cloud Computing

Cloud Computing an introduction

Putchong Uthayopas, Kasetsart University

A Review on "Above the Clouds: A Berkeley View of Cloud Computing (Armbrust, Fox, Griffith at.el.)"

Clouds vs Grids KHALID ELGAZZAR GOODWIN 531

DISTRIBUTED SYSTEMS [COMP9243] Lecture 9a: Cloud Computing WHAT IS CLOUD COMPUTING? 2

Datacenters and Cloud Computing. Jia Rao Assistant Professor in CS

Part V Applications. What is cloud computing? SaaS has been around for awhile. Cloud Computing: General concepts

Cloud Computing Submitted By : Fahim Ilyas ( ) Submitted To : Martin Johnson Submitted On: 31 st May, 2009

DISTRIBUTED COMPUTER SYSTEMS CLOUD COMPUTING INTRODUCTION

Above the clouds: A Berkeley View of Cloud Computing

25.2. Cloud computing, Sakari Luukkainen

Ø Teaching Evaluations. q Open March 3 through 16. Ø Final Exam. q Thursday, March 19, 4-7PM. Ø 2 flavors: q Public Cloud, available to public

DISTRIBUTED SYSTEMS AND CLOUD COMPUTING. A Comparative Study

Cloud Computing: Making the right choices

Mobile & Cloud Computing: Research Challenges. Satish Srirama satish.srirama@ut.ee

Data Centers and Cloud Computing

CUMULUX WHICH CLOUD PLATFORM IS RIGHT FOR YOU? COMPARING CLOUD PLATFORMS. Review Business and Technology Series

How To Understand Cloud Computing

Data Centers and Cloud Computing. Data Centers

Cloud 101. Mike Gangl, Caltech/JPL, 2015 California Institute of Technology. Government sponsorship acknowledged

Introduction to Cloud Computing

24/11/14. During this course. Internet is everywhere. Frequency barrier hit. Management costs increase. Advanced Distributed Systems Cloud Computing

Plan of the seminar. Plan. 1 Cloud computing: what is it? 2 Cloud Computation and business. 3 Cloud Computing and Project Management 1/38

Clearing Away the Clouds: What is the Future of Cloud Computing? BEBO WHITE PEWE WORKSHOP BRATISLAVA APRIL 2010

Cloud Computing Service Models, Types of Clouds and their Architectures, Challenges.

Introduction to Cloud Computing

Data Centers and Cloud Computing. Data Centers. MGHPCC Data Center. Inside a Data Center

What is Cloud Computing? First, a little history. Demystifying Cloud Computing. Mainframe Era ( ) Workstation Era ( ) Xerox Star 1981!

Chapter 2 Cloud Computing

21/09/11. Introduction to Cloud Computing. First: do not be scared! Request for contributors. ToDO list. Revision history

High Performance Computing Cloud Computing. Dr. Rami YARED

Ch. 4 - Topics of Discussion

Data Centers and Cloud Computing. Data Centers

Li Sheng. Nowadays, with the booming development of network-based computing, more and more

An Introduction to Private Cloud

Mobile cloud business

Platforms in the Cloud

Public Cloud Offerings and Private Cloud Options. Week 2 Lecture 4. M. Ali Babar


Topics. Images courtesy of Majd F. Sakr or from Wikipedia unless otherwise noted.

CS 695 Topics in Virtualization and Cloud Computing and Storage Systems. Introduction

CLOUD COMPUTING. When It's smarter to rent than to buy

Cloud Computing Technology

Performance Challenges in Cloud Computing. Shailesh Paliwal

Cloud Computing: Computing as a Service. Prof. Daivashala Deshmukh Maharashtra Institute of Technology, Aurangabad

Where We Are. References. Cloud Computing. Levels of Service. Cloud Computing History. Introduction to Data Management CSE 344

Cloud Computing: Technical Challenges and CloudSim Functionalities

x10 questions - and answers - about cloud computing

Cloud Computing and Amazon Web Services

How To Run A Cloud Computer System

Cloud Computing Now and the Future Development of the IaaS

Demystifying Cloud Computing

CS573 Data privacy and security in the cloud. Slide credits: Ragib Hasan, Johns Hopkins University

Today: Data Centers & Cloud Computing" Data Centers"

Cloud Computing. Summary

Mobile Cloud Computing T Open Source IaaS

Cloud Courses Description

Cloud Essentials for Architects using OpenStack

Fundamentals of Cloud Computing

An Introduction to Cloud Computing Concepts

INCREASING SERVER UTILIZATION AND ACHIEVING GREEN COMPUTING IN CLOUD

Mobile and Cloud computing and SE

Business applications:

Aneka: A Software Platform for.net-based Cloud Computing

Cloud Courses Description

Cloud Providers, SciCloudand

Transcription:

MTAT.08.027 Basics of Cloud Computing (3 ECTS) Satish Srirama satish.srirama@ut.ee

Course Purpose Introduce cloud computing concepts Introduce cloud providers and usage scenarios Introduction to distributed computing algorithms like MapReduce Glance of research at Mobile & Cloud Lab in cloud computing domain https://courses.cs.ut.ee/2015/cloud/spring/ 10/03/2015 Satish Srirama 2/39

Schedule Lecture Tuesday 10:15 12:00 (J. Liivi 2-202) Labs Wed 10:15-12:00 (J. Liivi 2-205) (1. group) Wed 16:15-18:00 (J. Liivi 2-205) (2. group) Fri 14:15-16:00 (J. Liivi 2-205) (3. group) 10/03/2015 Satish Srirama 3/39

Course Logistics MTAT.08.011 - Basics of Grid and Cloud Computing Was discontinued from last year MTAT.08.037 Basics of Scientific Computing Infrastructures (3 ECTS) You can take the above course Instead of Grid part Consult your curriculum coordinators 10/03/2015 Satish Srirama 4/39

Questions Is everyone comfortable with data structures? How comfortable you are with algorithms? How comfortable you are with programming? Java? External APIs? Python I assume you are Web programming 10/03/2015 Satish Srirama 5/39

Grading Written exam 50% Labs 45% 7 lab exercises Active participation in the lectures (Max 5%) To pass the course You need to score at least 50% in each of the above subsections You need to score at least 50% in the total 10/03/2015 Satish Srirama 6/39

Taking the Course Got reputation as a tough course People who have stuck with the curriculum have scored good Labs will get you easy points Will try to provide bonus points for some of the labs Examination is considered to be a bit tough Last year s examination paper will be kept online Will guide you how to prepare for the examination Being a practical course it takes enough time and effort 10/03/2015 Satish Srirama 7/39

Course schedule & Outline 10.03 Basics of Cloud Computing 17.03 Cloud Providers & SciCloud 24.03 Scaling in Cloud 31.03 MapReduce 07.04 MapReduce Algorithms 14.04 Platform as a Service 21.04 Other Cloud Services 28.04 Summary and Research on Cloud 10/03/2015 Satish Srirama 8/39

Course schedule - continued Labs 11-13.03 Starting with a cloud 18-20.03 Working with SciCloud 25-27.03 Load balancing in cloud 01-03.04 MapReduce - Basics 08-10.04 Data analysis with MapReduce 15-17.04 Google AppEngine 22-24.04 Other Cloud Services 10/03/2015 Satish Srirama 9/39

Grading of Labs Strongly suggest you to finish the lab exercises before coming to the next lecture To encourage this, lab exercises will be advertised immediately after the lecture Try to submit the results by Tuesday 10:00 next week to be graded for full score Late submissions You can submit the results till one day before your scheduled lab (group) for 90% score Bonus points will still put it ~above 100% After that 10% will be deducted per day You can submit exercises for 50% evaluation till 30.04 10/03/2015 Satish Srirama 10/39

Course schedule - continued 04.05-Examination 1 05.05 - Examination 2 Examination for second attempt 19 th May 10/03/2015 Satish Srirama 11/39

Reference Books Mastering Cloud Computing: Foundations and Applications Programming Authors: Rajkumar Buyya, Christian Vecchiola, S.Thamarai Selvi Data-Intensive Text Processing with MapReduce Authors: Jimmy Lin and Chris Dyer http://lintool.github.io/mapreducealgorithms /MapReduce-book-final.pdf White, Tom. Hadoop: the definitive guide. O'Reilly, 2012. 10/03/2015 Satish Srirama 12/39

Reference Papers M. Armbrust et al., Above the Clouds, A Berkeley View of Cloud Computing, Technical Report, University of California, Feb, 2009. Dean, J., & Ghemawat, S. (2008). MapReduce: simplified data processing on large clusters. Communications of the ACM, 51(1), 107-113. 10/03/2015 Satish Srirama 13/39

Lecture 1 CLOUD COMPUTING 10/03/2015 Satish Srirama 14

It s nothing new It s a trap...we ve redefined Cloud It s worse than stupidity: it s Computing to include everything marketing hype. Somebody is that we already do... I don t saying this is inevitable and understand what we would do whenever you hear that, it s very differently... other than change likely to be a set of businesses the wording of some of our ads. campaigning to make it true. WHAT IS CLOUD COMPUTING? Larry Ellison, CEO, Oracle (Wall Richard Stallman, Founder, Free Street Journal, Sept. 26, 2008) Software Foundation (The Guardian, Sept. 29, 2008) No consistent answer! Everyone thinks it is something else 10/03/2015 Satish Srirama 15 Slide taken from Professor Anthony D. Joseph s lecture at RWTH Aachen

What is Cloud Computing? Computing as a utility Utility services e.g. water, electricity, gas etc Consumers pay based on their usage 10/03/2015 Satish Srirama 16/39

Timeline 10/03/2015 Satish Srirama 17/39

Clouds - Why Now (not then)? Experience with very large datacenters Unprecedented economies of scale Transfer of risk Technology factors Pervasive broadband Internet Maturity in Virtualization Technology Business factors Minimal capital expenditure Pay-as-you-go billing model 10/03/2015 Satish Srirama 18/39

Virtualization Virtualization techniques are the basis of the cloud computing Virtualization technologies partition hardware and thus provide flexible and scalable computing platforms App App App Virtual machine techniques VMware and Xen OpenNebula Amazon EC2 OS OS Hypervisor Hardware OS Virtualized Stack 10/03/2015 Satish Srirama 19/39

Cloud Computing - Characteristics Illusion of infinite resources No up-front cost Fine-grained billing (e.g. hourly) Gartner: Cloud computing is a style of computing where massively scalable IT-related capabilities are provided as a service across the Internet to multiple external customers 10/03/2015 Satish Srirama 20/39

Cloud Computing - Services Software as a Service SaaS A way to access applications hosted on the web through your web browser Platform as a Service PaaS Provides a computing platform and a solution stack (e.g. LAMP) as a service Infrastructure as a Service IaaS Use of commodity computers, distributed across Internet, to perform parallel processing, distributed storage, indexing and mining of data Virtualization SaaS Facebook, Flikr, Myspace.com, Google maps API, Gmail PaaS Google App Engine, Force.com, Hadoop, Azure, Heroku, etc IaaS Amazon EC2, Rackspace, GoGrid, SciCloud, etc. Level of Abstraction 10/03/2015 Satish Srirama 21/39

Cloud Computing - Themes Massively scalable On-demand & dynamic Only use what you need - Elastic No upfront commitments, use on short term basis Accessible via Internet, location independent Transparent Complexity concealed from users, virtualized, abstracted Service oriented Easy to use SLAs SLA Service Level Agreement 10/03/2015 Satish Srirama 22/39

Cloud Models Internal (private) cloud Cloud with in an organization Community cloud Cloud infrastructure jointly owned by several organizations Public cloud Cloud infrastructure owned by an organization, provided to general public as service Hybrid cloud Composition of two or more cloud models 10/03/2015 Satish Srirama 23/39

Short Term Implications of Clouds Startups and prototyping Minimize infrastructure risk Lower cost of entry Batch jobs One-off tasks Washington post, NY Times Cost associatively for scientific applications Research at scale 10/03/2015 Satish Srirama 24/39

Cloud Application Demand Many cloud applications have cyclical demand curves Daily, weekly, monthly, Resources Demand Workload spikes are more frequent and significant When some event happens like a pop star has expired: More # tweets, Wikipedia traffic increases 22% of tweets, 20% of Wikipedia traffic when Michael Jackson expired in 2009 Google thought they are under attack Time 10/03/2015 Satish Srirama 25/39

Economics of Cloud Users Pay by use instead of provisioning for peak Resources Capacity Demand Resources Capacity Demand Time Static data center Time Data center in the cloud Unused resources 10/03/2015 Satish Srirama 26/39

Economics of Cloud Users - continued Risk of over-provisioning: underutilization Huge sunk cost in infrastructure Capacity Unused resources Resources Demand Time Static data center 10/03/2015 Satish Srirama 27/39

Economics of Cloud Users - continued Heavy penalty for under-provisioning Resources 1 2 3 Time (days) Capacity Demand Resources Resources 1 2 3 Time (days) Lost revenue 1 2 3 Time (days) Lost users 10/03/2015 Satish Srirama 28/39 Capacity Demand Capacity Demand

Economics of Cloud Providers Building a very large-scale datacenter is very expensive $100+ Million (Minimum) Large Internet Companies Already Building Huge DCs Google, Amazon, Microsoft 5-7x economies of scale [Hamilton 2008] Resource Cost in Medium DC Cost in Very Large DC Ratio Network $95 / Mbps / month $13 / Mbps / month 7.3x Storage $2.20 / GB / month $0.40 / GB / month 5.5x Administration 140 servers/admin >1000 servers/admin 7.1x 10/03/2015 Satish Srirama 29/39

Power Economics of Cloud Providers - Price per KWH Where continued Possible Reasons Why 3.6 Idaho Hydroelectric power; not sent long distance 10.0 California Electricity transmitted long distance over the grid; limited transmission lines in Bay Area; no coal fired electricity allowed in California. 18.0 Hawaii Must ship fuel to generate electricity Cooling is also expensive Build data centers near rivers Extra benefits Amazon: utilize off-peak capacity Microsoft: sell.net tools Google: reuse existing infrastructure 10/03/2015 Satish Srirama 30/39

Economics of Cloud Providers - Failures Cloud Computing providers bring a shift from high reliability/availability servers to commodity servers At least one failure per day in large datacenter Why? Significant economic incentives much lower per-server cost Caveat: User software has to adapt to failures Very hard problem! Solution: Replicate data and computation MapReduce & Distributed File System (Will discuss later in Lecture 4) 10/03/2015 Satish Srirama 31/39

Adoption Challenges Availability Data lock-in Challenge Data Confidentiality and Auditability Opportunity Multiple providers & Use elasticity to prevent DDoS attacks Standardization Encryption, VLANs, Firewalls; Geographical Data Storage 10/03/2015 Satish Srirama 32/39

Growth Challenges Challenge Data transfer bottlenecks Performance unpredictability Scalable storage Bugs in large distributed systems Scaling quickly Opportunity FedEx-ing disks, Data Backup/Archival Improved VM support, flash memory, scheduling VMs Invent scalable store Invent Debugger that relies on Distributed VMs Invent Auto-Scaler; Snapshots for conservation 10/03/2015 Satish Srirama 33/39

Policy and Business Challenges Challenge Opportunity Reputation Fate Sharing Offer reputation-guarding services like those for email Software Licensing Pay-for-use licenses; Bulk use sales 10/03/2015 Satish Srirama 34/39

Long Term Implications of clouds Application software: Cloud & client parts, disconnection tolerance Infrastructure software: Resource accounting, VM awareness Hardware systems: Containers, energy proportionality 10/03/2015 Satish Srirama 35/39

Cloud Computing Progress Armando Fox, 2010 10/03/2015 Satish Srirama 36/39

This week in Lab (Homework) Registration to the cloud & keys Firefox plugin & working with Eucatools and API Study the following paper M. Armbrust et al., Above the Clouds, A Berkeley View of Cloud Computing, Technical Report, University of California, Feb, 2009. 10/03/2015 Satish Srirama 37/39

Next lecture Cloud providers Amazon EC2, S3, EBS Eucalyptus OpenStack 10/03/2015 Satish Srirama 38/39

References Several of the slides are taken from Prof. Anthony D. Joseph s lecture at RWTH Aachen (March 2010) Papers to read M. Armbrust et al., Above the Clouds, A Berkeley View of Cloud Computing, Technical Report, University of California, Feb, 2009. The Cloud: Battle of the Tech Titans Cover story in Businessweek http://www.businessweek.com/magazine/content/11_11/b4219052599182.htm 10/03/2015 Satish Srirama 39/39