Introduction to cloud computing Jiaheng Lu Department of Computer Science Renmin University of China
Course purpose 2 Teach in English Introduce students some basic knowledge about cloud computing
Course contents 3 Basic knowledge Google, Yahoo!, Amazon cloud technology Hadoop Mapreduce Practice
Lecturer Academic experience ~ University of California, Irvine, Postdoc researcher ~ National University of Singapore, PhD candidate ~ Shanghai Jiao Tong University Master candidate
University of California, Irvine
Research in Postdoc 6 6 Data integration in medical system [US patent] Approximate string search [ICDE08]
7 National University of Singapore
Course grading 8 Hadoop code writing (Java) 40% In-class presence and quiz 30% Final presentation 30%
Teaching assistant 9 Cheng ming Any problem about Hadoop java codes, you may him.
Any question and any comments ?
Cloud computing
Why we use cloud computing?
Case 1: Write a file Save Computer down, file is lost Files are always stored in cloud, never lost
Why we use cloud computing? Case 2: Use IE --- download, install, use Use QQ --- download, install, use Use C download, install, use …… Get the serve from the cloud
What is cloud and cloud computing? Cloud Demand resources or services over Internet scale and reliability of a data center.
What is cloud and cloud computing? Cloud computing is a style of computing in which dynamically scalable and often virtualized resources are provided as a serve over the Internet. Users need not have knowledge of, expertise in, or control over the technology infrastructure in the "cloud" that supports them.
The architecture of cloud computing system
What is cloud computing Video: E2.html
Characteristics of cloud computing Virtual. software, databases, Web servers, operating systems, storage and networking as virtual servers. On demand. add and subtract processors, memory, network bandwidth, storage.
IaaS Infrastructure as a Service PaaS Platform as a Service SaaS Software as a Service Types of cloud service
Software delivery model No hardware or software to manage Service delivered through a browser Customers use the service on demand Instant Scalability SaaS
Examples Your current CRM package is not managing the load or you simply don’t want to host it in-house. Use a SaaS provider such as Salesforce.com Your is hosted on an exchange server in your office and it is very slow. Outsource this using Hosted Exchange. SaaS
Platform delivery model Platforms are built upon Infrastructure, which is expensive Estimating demand is not a science! Platform management is not fun! PaaS
Examples You need to host a large file (5Mb) on your website and make it available for 35,000 users for only two months duration. Use Cloud Front from Amazon. You want to start storage services on your network for a large number of files and you do not have the storage capacity…use Amazon S3. PaaS
Computer infrastructure delivery model A platform virtualization environment Computing resources, such as storing and processing capacity. Virtualization taken a step further IaaS
Examples You want to run a batch job but you don’t have the infrastructure necessary to run it in a timely manner. Use Amazon EC2. You want to host a website, but only for a few days. Use Flexiscale. IaaS
Cloud computing and other computing techniques
Grid Computing & Cloud Computing share a lot commonality intention, architecture and technology Difference programming model, business model, compute model, applications, and Virtualization.
Grid Computing & Cloud Computing the problems are mostly the same manage large facilities; define methods by which consumers discover, request and use resources provided by the central facilities; implement the often highly parallel computations that execute on those resources.
Grid Computing & Cloud Computing Virtualization Grid do not rely on virtualization as much as Clouds do, each individual organization maintain full control of their resources Cloud an indispensable ingredient for almost every Cloud
Any question and any comments ?
Distributed system
A distributed system A B C D
client-server system Server Client
multiple servers Server
Applications Amazon Google Airline reservation systems Finance: e-transactions, e-banking, stock-exchange Military
Why distributed systems? What are the advantages? distributed vs centralized? multi-servervs client-server?
Why distributed systems? What are the advantages? distributed vs centralized? multi-servervs client-server? Geography Concurrency => Speed High-availability (if failures occur).
Why not distributed systems? What are the disadvantages? distributed vs centralized? multi-servervs client-server?
Why not distributed systems? What are the disadvantages? distributed vs centralized? multi-servervs client-server? Expensive (to have redundancy) Concurrency => Interleaving => Bugs Failures lead to incorrectness.
References tion-to-Cloud-Computing.aspx tion-to-Cloud-Computing.aspx E5%AE%89%E5%85%A8 E5%AE%89%E5%85%A8