CS 15 319 Cloud Computing Lecture 2 Introduction
- Slides: 69
CS 15 -319: Cloud Computing Lecture 2 Introduction to Cloud Computing Prof. Majd F. Sakr
Lecture Outline Discussion On The Cloud Stack Cloud Infrastructure © Carnegie Mellon University in Qatar Types of Clouds and CMUQ’s Private Cloud Software Service Models of Cloud Computing 2
Lecture Outline Discussion On The Cloud Stack Cloud Infrastructure © Carnegie Mellon University in Qatar Types of Clouds and CMUQ’s Private Cloud Software Service Models of Cloud Computing 3
What is a Server? § Servers are computers that provide “services” to “clients” § They are typically designed for reliability and to service a large number of requests § Organizations typically require many physical servers to provide various services (Web, Email, Database, etc. ) § Server hardware is becoming more powerful and compact © Carnegie Mellon University in Qatar 4
Compact Servers § Organizations would like to conserve the amount of floor space dedicated to their computer infrastructure § For large-scale installations, compact servers are used. This helps with: § § Floor Space Manageability Scalability Power and Cooling © Carnegie Mellon University in Qatar 5
Racks § Equipment (e. g. , servers) are typically placed in racks § Equipment are designed in a modular fashion to fit into rack units (1 U, 2 U etc. ) § A single rack can hold up to 42 1 U servers 1 U Server 7 U Blade center © Carnegie Mellon University in Qatar 6
Blades and Blade Enclosures § A blade server is a stripped down computer with a modular design § A blade enclosure holds multiple blade servers and provides power, interfaces and cooling for the individual blade servers © Carnegie Mellon University in Qatar 7
Blade Performance § Consider bandwidth and latency between these layers Quad Core Processor Disk core L 1 L 2 Quad Core Processor L 3 core L 1 Memory L 2 © Carnegie Mellon University in Qatar 8
…Performance across blades § Consider bandwidth and latency across blades Network is usually the bottleneck © Carnegie Mellon University in Qatar 9
What is a Data Center? § A data center is a facility used to house computer systems and associated components, such as networking and storage systems, cooling, uninterruptable power supply, air filters… § A data center typically houses a large number of heterogeneous networked computer systems § A data center can occupy one room of a building, one or more floors, or an entire building © Carnegie Mellon University in Qatar 10
Data Center Components § Air conditioning § Keep all components in the manufacturer’s recommended temperature range § Redundant Power § UPS/Generators § Multiple power feeds § Fire protection § Physical security § CCTV/Access Control § Monitoring Systems § Connectivity § Multiple ISPs/Leased Lines © Carnegie Mellon University in Qatar 11
The Network of a Modern Data Center Internet CR CR Layer 3 AR AR LB Layer 2 S S A AR AR … S A A LB … S A … A § CR = L 3 Core Router, AR = L 3 Access Router, S = L 2 Switch, LB = Load Balancer, A = Rack of 20 servers (Cisco with ~ 4, 000 servers) © Carnegie Mellon University in Qatar 12
Communication In Data Centers § Communication in data centers are most often based on networks running the IP protocol suite § Data centers contain a set of routers and switches that transport traffic between the servers and to the outside world § Traffic in today’s data centers: § 80% of the packets stay inside the data center § Trend is towards even more internal communication § Typically, data centers run two kinds of applications: § Outward facing (serving web pages to users) § Internal computation (data mining and index computations–think of Map. Reduce and HPC) © Carnegie Mellon University in Qatar 13
Communication Latency § Propagation delay in the data center is essentially 0 § Light goes a foot in a nanosecond § End to end latency comes from § Switching latency § 10 G to 10 G: ~ 2. 5 usec (store&fwd); 2 usec (cut-thru) § Queuing latency § Depends on size of queues and network load § Typical times across a quiet data center: 10 -20 usec © Carnegie Mellon University in Qatar 14
Elasticity and Performance § Bare data centers make it hard for applications to grow/shrink § VLANs can be used to isolate applications from each other § IP addresses are topologically determined by Access Routers § Reconfiguration of IPs and VLAN trunks is painful, errorprone, slow, and often manual § In addition, no performance isolation is provided: § VLANs typically provide reachability isolation only § One service sending/receiving too much traffic hurts all services sharing its subtree © Carnegie Mellon University in Qatar 15
Power in Data Centers § Pretty good data centers have efficiency of 1. 7 § 0. 7 Watts lost for each 1 W delivered to the servers § How can we reduce power costs? § Create servers that use less power? § Conventional server uses 200 to 500 W § Reductions have ripple effects across entire data center § Mostly a problem for scientists to tackle!! § Eliminate power redundancy? § Allow entire data centers to fail § Reduce power usage of network gear? § Total power consumed by switches amortizes to 10 -20 W per server © Carnegie Mellon University in Qatar 16
Utilization In Data Centers § Utilization of 10% to 30% is considered “good” in data centers § Causes: § Uneven application fit: § Each server has CPU, memory, and disk: most applications exhaust one resource, stranding the others § Long provisioning timescales § Uncertainty in demand: § Demand for a new service can spike quickly § Risk management: § Not having spare servers to meet application demands leads to failure © Carnegie Mellon University in Qatar 17
What About? § Maximize useful work per dollar spent – 59% of dollars are spent on servers with very low utilization (10%) § Turn the servers into a single large resource pool and let services “breathe” : dynamically expand contract their footprint as needed Enabled by Virtualization § Two main requirements: § Means for rapidly and dynamically satisfying application fluctuating resource needs Enabled by Programming Models and Distributed File Systems § Means for servers to quickly and reliably access shared and persistent data § Data too large to copy during provisioning process © Carnegie Mellon University in Qatar 18
A Cloud is … § A data center hardware and software that the vendors use to offer the computing resources and services © Carnegie Mellon University in Qatar 19
Cloud Computing “Cloud Computing is the transformation of IT from a product to a service” Innovation Product Service The “Cloud” © Carnegie Mellon University in Qatar 20
Cloud Computing is the delivery of computing as a service rather than a product, whereby shared resources, software, and information are provided to computers and other devices, as a metered service over a network. © Carnegie Mellon University in Qatar 21
Lecture Outline Discussion On The Cloud Stack Cloud Infrastructure © Carnegie Mellon University in Qatar Types of Clouds and CMUQ’s Private Cloud Software Service Models of Cloud Computing 22
IT as a Service § How do you offer IT as a service? § Different users have different needs § Consider the needs of: § Average End User § Mobile Application Developer § Enterprise System Architect Let us look at some of the typical service models © Carnegie Mellon University in Qatar 23
Cloud Service Models Saa. S Paa. S Iaa. S © Carnegie Mellon University in Qatar • Software-as-a-Service • Applications running on browsers • Platform-as-a-Service • A software platform that is made available to developers to build cloud applications • Infrastructure-as-a-Service • Basic computing resources such as CPU/Memory/Disk, made available to users in the form of Virtual Machine Instances 24
Saa. S § You are most familiar with this! Saa. S Paa. S § Software is delivered as a service over the Internet, eliminating the need to install and run the application on the customer's own computer Iaa. S § This simplifies maintenance and support § Examples: Gmail, You. Tube, and Google Docs, among others © Carnegie Mellon University in Qatar 25
Saa. S Maturity Levels § Distinguishing attributes: configurability, multi-tenant efficiency, scalability 1 Tenant 1 2 Tenant 1 3 Tenant 2 4 Tenant 1 Tenant 2 Tenant Load Balancer instance 1 instance 2 instance Configurable • Each has its own customized version of the application and run its own instance © Carnegie Mellon University in Qatar + Multi-tenant-efficient instance + Scalable • (+): Efficient use of server • Same application but distinct instance/customer resources without apparent differences to end users • (-): scalability limits 26
Paa. S § The Cloud provider exposes a set of tools (a platform) which allows users to create Saa. S applications Saa. S Paa. S Iaa. S § The Saa. S application runs on the provider’s infrastructure § The cloud provider manages the underlying hardware and requirements © Carnegie Mellon University in Qatar 27
Paa. S Example I § Google App Engine Build web applications on Google’s Infrastructure © Carnegie Mellon University in Qatar 28
Paa. S Example II § The Facebook Developer Platform Set of APIs that allow you to create Facebook Applications © Carnegie Mellon University in Qatar 29
Iaa. S (1/3) § The cloud provider leases to users Virtual Machine Instances (i. e. , computer infrastructure) using the virtualization technology § The user has access to a standard Operating System environment and can install and configure all the layers above it Saa. S Paa. S Iaa. S OS OS VM VM Hypervisor Server Cloud Provider © Carnegie Mellon University in Qatar 30
Iaa. S (2/3) § The virtualization technology is a major enabler of Iaa. S © Carnegie Mellon University in Qatar HARDWARE Saa. S Paa. S Iaa. S 31
Iaa. S (3/3) Service Catalog Request UI Dynamic Scheduling Operations UI Monitoring Capacity Planning SLA Request Driven Provisioning & Service Management Web 2. 0 Collaborative Innovation Software Development Data Intensive Processing Virtual Classroom High Volume Transactions Workloads Virtualization Virtual Servers Physical Layer © Carnegie Mellon University in Qatar Virtual Storage Power Systems Virtual Networks Virtual Applications & Middleware Racks, Blade. Center Storage Virtual Clients Networking 32
Iaa. S Example § Amazon Web Service Elastic Compute Cloud (EC 2) © Carnegie Mellon University in Qatar 33
Other Service Models § Hardware-as-a-Service § Communication-as-a-Service § Xaa. S § “X” as a Service © Carnegie Mellon University in Qatar 34
Datacenter-as-a-Service § Increasing Number of Servers § Manpower, Electricity, Cooling, Security? § Management Nightmare § Why not give it to someone else? © Carnegie Mellon University in Qatar 35
Lecture Outline Discussion On The Cloud Stack Cloud Infrastructure © Carnegie Mellon University in Qatar Types of Clouds and CMUQ’s Private Cloud Software Service Models of Cloud Computing 36
The Cloud Stack Applications Data Runtime Middleware Operating System Virtualization Servers Storage Networking © Carnegie Mellon University in Qatar 37
Applications § Cloud applications can range from Web applications to scientific computational jobs Data Runtime Middleware Operating System Virtualization Servers Storage Networking © Carnegie Mellon University in Qatar 38
Data Applications Data Runtime Middleware Operating System Virtualization Servers Storage Networking © Carnegie Mellon University in Qatar § Data Management § New generation cloudspecific databases and management systems § E. g. , Hbase, Cassandra, Hive, Pig etc. 39
Runtime Environment Applications Data Runtime Middleware § Runtime platforms to support cloud programming models § E. g. , MPI, Map. Reduce, Pregel etc. Operating System Virtualization Servers Storage Networking © Carnegie Mellon University in Qatar 40
Middleware for Clouds § Management platforms that enable: Applications Data Runtime Middleware Operating System Virtualization Servers Storage Networking © Carnegie Mellon University in Qatar § § Resource Management Monitoring Provisioning Identity Management and Security 41
Operating Systems Applications Data Runtime Middleware Operating System Virtualization Servers Storage Networking © Carnegie Mellon University in Qatar § Standard Operating Systems used in Personal Computing § Packaged with libraries and software for quick deployment and provisioning § E. g. , Amazon Machine Images (AMI) contain OS as well as required software packages as a “snapshot” for instant deployment 42
Virtualization Applications Data Runtime Middleware § Key Component § Resource Virtualization § Amazon EC 2 is based on the Xen virtualization platform Operating System Virtualization Servers Storage Networking © Carnegie Mellon University in Qatar 43
Cloud Service Layers in the Service Levels Saa. S Paa. S Iaa. S Packaged Software User Managed Data Runtime Paa. S Saa. S Applications Data Runtime Middleware Operating System Virtualization Servers Storage Networking © Carnegie Mellon University in Qatar Virtualization Servers Storage Networking Vendor Managed Middleware Operating System Virtualization Servers Vendor Managed Runtime Applications Vendor Managed User Managed Data User Managed Applications Iaa. S Storage Networking 44
Lecture Outline Discussion On The Cloud Stack Cloud Infrastructure © Carnegie Mellon University in Qatar Types of Clouds and CMUQ’s Private Cloud Software Service Models of Cloud Computing 45
Types of Clouds (1/4) § Public § Private § Hybrid © Carnegie Mellon University in Qatar 46
Types of Clouds (2/4) § Public (external) cloud § Open market for on demand computing and IT resources § Concerns: Limited SLA, reliability, availability, security, trust and confidence § Examples: IBM, Google, Amazon, … © Carnegie Mellon University in Qatar 47
Types of Clouds (3/4) § Private (Internal) cloud § For enterprises/corporations with large scale IT © Carnegie Mellon University in Qatar 48
Types of Clouds (4/4) § Hybrid cloud § Extend the private cloud(s) by connecting it to other external cloud vendors to make use of their available cloud services § Cloud Burst § Use the local cloud, and when you need more resources, burst into the public cloud © Carnegie Mellon University in Qatar 49
The Qloud: CMUQ’s Private Cloud
CMU-Q’s Research Data Center © Carnegie Mellon University in Qatar 51
One of Qloud Hardware (1/3) § IBM Bladecenter H § § § Advanced Management Module Two Nortel Gigabit Switches 112 cores 7 TB of storage 14 Blades © Carnegie Mellon University in Qatar 52
One of Qloud Hardware (2/3) § Each Blade Intel Xeon(R) CPU (8 -core) 3. 16 GHz & 64 -bit Bandwidth: 21. 3 GB/s 8 GB RAM speed is 667 MHz Bandwidth: 600 MB/s 300 GB SAS SCS 1 disk © Carnegie Mellon University in Qatar 300 GB SAS SCS 1 disk 53
One of Qloud Hardware (3/3) § Qloud Network § 2 1 -Gbit switches § Each blade is connected to each of the switches 13 VM hosts Blade #14 (Control) ………. 1 Gbit switch © Carnegie Mellon University in Qatar 54
Qloud Stack Applications Data Runtime Middleware Operating System Virtualization Servers Storage Bayesian Classification, K-Means, etc. HDFS Apache Hadoop 0. 20. 1 Ganglia cluster monitoring system and the VMware v. Sphere Client 64 -Bit Fedora 13 Vmware v. Sphere 4. 1/ESXi 4. 1 14 IBM Quad Core (E 5420) Blades Storage/Blade = 2 x 300 GB SAS & RAM/Blade = 8 GB RAM Networking © Carnegie Mellon University in Qatar 55
A New Cloud at CMU-Q Total Installed Capacity: 20 Servers 240 Cores, 960 GB Memory, 18 TB local storage, 20 TB SAN Storage VMWare v. Sphere 4. x Virtualization Environment © Carnegie Mellon University in Qatar 56
Lecture Outline Discussion On The Cloud Stack Cloud Infrastructure © Carnegie Mellon University in Qatar Types of Clouds and CMUQ’s Private Cloud Software Service Models of Cloud Computing 57
Economics of Cloud Computing § Evolution of Software Service Models § What is the Value Proposition for Cloud Computing? § How did Cloud Computing emerge from business / industry rather than from Academia? © Carnegie Mellon University in Qatar 58
Cost of Information Technology § When you are using IT there are three primary costs associated with it: § Software Cost (Media + License cost/user) § Support Cost (Vendor Support, Updates and Patches etc. ) § Management Cost (IT Infrastructure costs, Manpower, etc. ) © Carnegie Mellon University in Qatar 59
Traditional Model § Classical Model § Software provider develops software and charges a license fee per user for the client § The provider may charge a support fee /user § The management of the software is the clients responsibility § Up to 4 x the cost of the actual software per year! § Infrastructure, Manpower, software maintenance § Traditional Software – Oracle etc. © Carnegie Mellon University in Qatar 60
Software Service Models Traditional Software Cost $4000 /user (one-time) Support Cost $800 /user /year Management Cost Deployment Location Up to 4 x the cost of Software! Client Side © Carnegie Mellon University in Qatar 61
Open Source Model § “Free” Model § Software provider packages Open Source Software and provides it at little or no cost to the client § The provider makes money on support – charges a higher fee than traditional model § The cost of Managing the software remains the same as Traditional Model § Up to 4 x the cost of the actual software per year! § Infrastructure, Manpower, software maintenance © Carnegie Mellon University in Qatar 62
Software Service Models Traditional Open Source Software Cost $4000 /user (one-time) $0 /user Support Cost $800 /user /year $1600 /user /year Management Cost Up to 4 x the cost of Software! Deployment Location © Carnegie Mellon University in Qatar Client Side 63
Outsourcing Model § Primary cost of Software Management is in Manpower § Why not delegate the management of software to a country with cheaper labor costs § India, China etc. § Outsource the management of software for a flat fee – keep IT management costs under control © Carnegie Mellon University in Qatar 64
Software Service Models Traditional Open Source Outsourcing Software Cost $4000 /user (one-time) $0 /user $4000 /user (one-time) Support Cost $800 /user /year $1600 /user /year $800 /user /year Management Cost Up to 4 x the cost of Software! < 1300 /user /month Client Side Client or Provider Side Deployment Location © Carnegie Mellon University in Qatar 65
Hybrid and Hybrid+ Model § Business Software Requirements do not change often. § ERP/Financials/CRM etc. § Why reinvent the wheel? § Standardize, Specialize and Repeat § Create a flexible version of the Software that can be quickly configured and deployed. § Automate support through remote access. § Sell easy to deploy software to many clients. § Decrease the Margin § Increase the Customers § Hybrid+ is more advanced – charge a flat monthly fee for the software, support and management © Carnegie Mellon University in Qatar 66
Software Service Models Traditional Open Source Outsourcing Hybrid Software Cost $4000 /user (one-time) $0 /user $4000 /user (one-time) Support Cost $800 /user /year $1600 /user /year $800 /user /year Up to 4 x the cost of Software! Bid < 1300 /user /month $150 /user /month Management Cost Deployment Location © Carnegie Mellon University in Qatar Client Side Hybrid+ $300 / user month Client or Provider Side 67
Software as a Service Cloud Computing § § Develop Web Application Offer to customers over Internet No deployment costs Amortize Management and Support costs over many clients © Carnegie Mellon University in Qatar 68
Software Service Models Traditional Open Source Outsourcing Hybrid Software Cost $4000 /user (one-time) $0 /user $4000 /user (one-time) Support Cost $800 /user /year $1600 /user /year $800 /user /year Up to 4 x the cost of Software! Bid < 1300 /user /month $150 /user /month Management Cost Deployment Location © Carnegie Mellon University in Qatar Client Side Client or Provider Side Hybrid+ $300 / user month Saa. S < $100 /user /month Provider Side 69
- Cloud computing lecture
- Parallel and distributed computing lecture notes
- A composable component must be modular
- Regarder introduction to cloud computing vidéos
- Introduction to mapreduce in cloud computing
- Introduction to cloud computing
- Introduction to cloud computing
- 01:640:244 lecture notes - lecture 15: plat, idah, farad
- Matthews v eldridge
- Art. 319 cp
- Art. 319 cp
- Crime de resistencia
- Hashing computer science
- Cpsc 319 u of c
- Cwa 319
- 87,539,319 = 2283 + _ _ _ 3
- Hsci 319
- Me 319
- Length depth
- Me 319
- Pc 319
- Conventional computing and intelligent computing
- Vodafone cloud hosting services
- Full virtualization in cloud computing
- Tools and mechanisms for virtualization
- A type of cloud
- Cloud computing reference model
- Ardc nectar
- All resources are tightly coupled in computing paradigm of
- Pay per use monitor in cloud computing
- Green computing seminar
- Scalability issues in cloud computing
- Elasticity in cloud computing
- Cloud unified management
- Nist cloud reference model
- Nimbus in cloud computing
- Cloud computing cambridge
- Case study on microsoft azure in cloud computing
- Cloud computing layers
- Sejarah cloud computing
- Cloud first headless cms
- Cloud computing tunisie
- Identity federation in cloud computing
- Enterprise cloud computing paradigm
- Total cost of ownership in cloud computing
- What is ogsa
- Social network and groupware in cloud computing
- Opennebula architecture
- Describe the clouds
- Google app engine in cloud computing
- Cloud computing metaphor
- Logical network perimeter can
- Cloud computing kpmg
- Cloud computing service newcastle
- Cloud computing disruptive technology
- Cloud computing programming models
- Distributed file system in cloud computing
- Capacity planning in cloud computing
- Mainframe vs cloud
- Map reducing in cloud computing
- Cloud computing databases
- Machine reference model
- Disaster recovery cost curve
- Cloud computing theory and practice
- Cloud computing value proposition
- Big data in cloud computing ppt
- Cloud computing presentation slides
- Traditional cloud computing
- Machine image in cloud computing
- Garth gibson