“云计算”简要介绍

一个小例子:

2008年3月19日上午10点,美国国家档案馆公开了希拉里·克林顿在1993—2001年作为第一夫人期间的白宫日程档案。由于这些档案是新闻记者团体和独立调查机构依据“信息自由法案”向国会多次请愿才得以公开的,因此具有极高的社会关注度与新闻时效性。但是,这些档案是不可检索的低质量PDF文件,若想将其转换为可以检索并便于浏览的文件格式,需要进行再处理。

华盛顿邮报希望将这些档案在第一时间上传到互联网,以便公众查询,但是据估算仅每一页的操作,以报社现有的计算能力就需要30分钟。因此,华盛顿邮报将这个档案的转换工程交给Amazon EC2(ElasticCompute Cloud)。Amazon EC2同时使用200个虚拟服务器案例,每个服务器的单页平均处理时间都缩短为一分钟,并在9小时内将所有的档案转换完毕,以最快的速度将这些第一手资料呈现给读者。

如果没有Amazon EC2提供的计算能力,华盛顿邮报需要超过一年的时间来完成全部档案的格式转换工作。显然,这样的效率不能满足新闻的时效性和公众对于信息的期盼。

Amazon公司通过其EC2平台,将计算资源打包提供给客户,使报社在9小时内就得到了1407小时的虚拟服务器机时,在第一时间完成了档案的转换。

华盛顿邮报仅需向Amazon公司支付144.62美元的费用。

因特网发展产生新的需求:

• 随时随地访问能力(Accessibility)
–可以随时随地使用任意设备访问
• 共享能力(Shareability)
–要使得共享操作与建立、保存一样容易
• 自由获取(Freedom)
–用户并不希望它们的数据无法获得
• 简单易用(Simplicity)
–容易学会,容易使用
• 安全放心(Security)
–相信数据不会被丢失或被不期望的第三方看到 

那什么是云计算呢?

就像用电不需要在家中装备发电机,只需直接从电力公司购买一样。“云计算”带来的就是这样一种变革。 由谷歌、IBM这样的专业网络公司来搭建计算机存储、运算中心,用户通过一根网线借助浏览器就可以很方便的访问,把“云”做为资料存储以及应用服务的中心。

云计算是一种计算模型,在这种模型中,应用、数据和IT资源以服务的方式通过网络提供给用户使用。


云计算的演进:


云计算的价值是什么?

资源利用率最大化(ps:放眼宇宙,进化的方向总是从高效和节能展开)

云计算的本质就是通过整合、共享和动态的提供资源来实现IT投资利用率的最大化,它包括了新投资的资源和已投资的资源。

因此,实施云计算不需要舍弃原有的IT基础设施资源。

云计算的实施不仅可以利用已有的IT基础设施资源,而且云计算可以高效地监控管理IT基础设施资源。

因此,实施云计算将使资源更容易被充分利用。

wiki:云计算是一种能够将动态伸缩的虚拟资源通过互联网以服务的方式提供给用户的计算模式,用户不需要知道如何管理那些支持云计算的基础设施。

Whatis.com: 云计算是一种通过网络连接来获取软件和服务的计算模式,云计算使得用户可以获得使用超级计算机的体验,用户可以通过电脑或手机上的瘦客户端接入云中获取需要的资源。

五大基本特征:

按需自助服务 On-demand self-service A consumer can unilaterally provision computing capabilities, such as server time and network storage, as neededautomatically without requiring human interaction with each service provider. 客户不需要与每一个服务的供应商直接交互,就可以独自地获得自动按需配置的计算资源,如服务器使用时间、网络存储空间等。

多样化网络接入 Broad network access Capabilities are available over the network and accessed through standard mechanisms that promote use byheterogeneous thin or thick client platforms (e.g., mobile phones, tablets, laptops, and workstations). 可以通过网络获得各种计算资源,可以通过各种各样的痩型或厚型客户端(例如,移动电话、笔记本电脑、掌上电脑等)使用标准的机制来获取这些计算资源。

资源池 化 Resource pooling The provider’s computing resources are pooled to serve multiple consumers using a multi-tenant model, with differentphysical and virtual resources dynamically assigned and reassigned according to consumer demand. There is a sense oflocation independence in that the customer generally has no control or knowledge over the exact location of the providedresources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter). Examplesof resources include storage, processing, memory, and network bandwidth. 供应商池化计算资源,使用多租户模式服务多个用户,即按照客户需求动态分配各种各样的物理资源和虚拟资源。客户一般不知道更无法控制资源具体来自哪里,最多知道一个大概,比如,哪个国家、省/州或哪个数据中心。资源包括存储、处理、内存和网络带宽等。

高效弹性 Rapid elasticity Capabilities can be elastically provisioned and released, in some cases automatically, to scale rapidly outward andinward commensurate with demand. To the consumer, the capabilities available for provisioning often appear to beunlimited and can be appropriated in any quantity at any time. 计算资源可以弹性提供和释放、计算资源规模可以根据需要(有时自动)迅速变大和变小。在客户看来,这些计算资源的供应似乎是没有限制的,想在什么时候购买就可以在什么时候购买,想购买多少就可以购买多少。

可计量服务 Measured service Cloud systems automatically control and optimize resource use by leveraging a metering capability at some level ofabstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resourceusage can be monitored, controlled, and reported, providing transparency for both the provider and consumer of theutilized service. 云系统根据服务类型(例如,存储、处理、带宽和活动用户账号)度量资源的使用量,自动控制并优化资源的使用情况。资源的使用情况可以加以监督、控制和报告,为供应商和客户提供透明的服务。

云计算服务模型与部署模型:

根据NIST的定义,云计算分为:

三种服务模型SaaS, PaaS, IaaS

四种部署模型私有云、社区云、公有云、混合云

Software as a Service (SaaS) 软件即服务 

The capability provided to the consumer is to use the provider’s applications running on a cloud infrastructure2. Theapplications are accessible from various client devices through either a thin client interface, such as a web browser (e.g.,web-based email), or a program interface. The consumer does not manage or control the underlying cloud infrastructureincluding network, servers, operating systems, storage, or even individual application capabilities, with the possibleexception of limited user-specific application configuration settings. 

客户可以使用在云基础设施上运行的应用。客户在各种各样的终端设备上通过诸如网络浏览器之类的简易客户界面访问应用。客户既不管理也不控制底层的云基础设施,包括网络、服务器、操作系统和存储,客户甚至不能单独使用应用,除非客户需要特别配置应用的运行环境,在这些例外情况下,客户的自定义权限也不大。

软件服务商交付给客户的是定制的软件应用,以服务的方式租赁给客户。客户无需购买软件,只需“按需付费”。

云计算SaaS软件提供商将软件以服务的方式部署在云平台中,方便软件的发布与升级。软件服务的变革提高了用户的体验,节省了开发部署成本。

Salesforce.com的CRM客户关系管理软件、Google公司的Gmail和Docs等,是软件即服务的典型代表。

Platform as a Service (PaaS) 平台即服务 

将软件研发的平台作为一种服务。

 平台服务商为用户提供了丰富的“云中间件”资源,包括面向开发人员的数据库逻辑、web应用逻辑和编程开发环境等。

Google App Engine 可让您在 Google 的基础架构上运行您的网络应用程序。App Engine应用程序易于构建和维护,并可根据访问量和数据存储需要的增长轻松扩展。

Google App Engine支持Java、Python、.Net等编程语言。在PaaS中,客户只需为使用的资源付费,可以控制应用程序消费的最大资源量,使其一直保持在预算范围内。

PaaS为平台上托管的应用提供了良好的自动伸缩性和高可用性。

The capability provided to the consumer is to deploy onto the cloud infrastructure consumer-createdor acquired applications created using programming languages, libraries, services, and toolssupported by the provider.3 The consumer does not manage or control the underlying cloudinfrastructure including network, servers, operating systems, or storage, but has control over thedeployed applications and possibly configuration settings for the application-hosting environment. 

客户可以在云基础设施上部署应用。应用可以是客户自制的也可以是客户从市场上购买现成的,但是必须是用供应商支持的编程语言、库、服务和工具编写完成的。客户既不管理、也不控制底层的云基础设施,包括网络、服务器、操作系统和存储,但是可以控制所部署的应用,可能还配置应用的运行环境。

Infrastructure as a Service (IaaS) 基础设施即服务 

基础设施服务商以数据中心为基础,为客户动态地提供计算资源、存储资源和网络资源。

使用基础设施云,客户企业免去了购买、安装、配置和维护数据中心的环节,降低了经营成本,提高了运营效率。

 Amazon EC2是典型的基础设施服务平台,通过Xen虚拟化技术,为用户提供虚拟硬件资源。用户按照需求通过EC2的控制界面定制生成云计算虚拟机实例,并部署自己的平台系统直至一个完整的生命周期结束。客户只需为自己使用的计算资源付费,节省了设备购买与维护费用。

Windows Azure和VMWare都提供了基于计算机硬件、操作系统和应用资源的云服务模式,可有效地控制硬件资源、降低运营成本。

The capability provided to the consumer is to provision processing, storage, networks, and otherfundamental computing resources where the consumer is able to deploy and run arbitrary software,which can include operating systems and applications. The consumer does not manage or control theunderlying cloud infrastructure but has control over operating systems, storage, and deployedapplications; and possibly limited control of select networking components (e.g., host firewalls). 

客户自助配置处理器、存储、网络以及其他基础计算资源,这样,客户能够部署并运行任意软件,可能包括操作系统和应用。客户既不管理也不控制底层的云基础设施,但是对操作系统、存储、所部署的应用具有控制权,可能还对少数几个网络元件(例如,宿主机防火墙)具有一定的权限。

私有云 Private cloud. The cloud infrastructure is provisioned for exclusive use by a single organizationcomprising multiple consumers (e.g., business units). It may be owned, managed, and operated by the organization, a third party,or some combination of them, and it may exist on or off premises. 云基础设施只为一个组织服务。可以由组织自己管理,也可以由第三方管理。可以在本地,也可以是远程的。

社区云 Community cloud. The cloud infrastructure is provisioned for exclusive use by a specific communityof consumers from organizations that have shared concerns (e.g., mission, security requirements, policy, and complianceconsiderations). It may be owned, managed, and operated by one or more of the organizations in the community, a third party, orsome combination of them, and it may exist on or off premises. 云基础设施为一个社区提供服务,而社区由几个组织构成,这几个组织有着共同关注的问题(例如,任务、安全要求、政策和法规)。可以由组织自己管理,也可以由第三方管理。可以在本地,也可以是远程的。

公有云 Public cloud. The cloud infrastructure is provisioned for open use by the general public. It may be owned,managed, and operated by a business, academic, or government organization, or some combination of them. It exists on thepremises of the cloud provider. 云基础设施面向一般公众或者某个行业提供服务,所有者是某个销售云服务的组织。

混合云 Hybrid cloud. The cloud infrastructure is a composition of two or more distinct cloud infrastructures(private, community, or public) that remain unique entities, but are bound together by standardized or proprietary technologythat enables data and application portability (e.g., cloud bursting for load balancing between clouds). 云基础设施由两个或两个以上不同性质的云(私有云、社区云或者公共云)构成,每个云仍然是独立实体,但是通过某种让数据和应用能在不同云之间转移的标准化技术或者专用技术(例如,在云间均衡负载的云爆技术)绑在一起。