COS-300-2 从开发者的角度深入了解 Windows Azure 的体系架构 Bill Liu SDET II, Windows Azure Microsoft
了解云计算和 Windows Azure 平台 了解 Windows Azure 体系架构 充分利用 Windows Azure 的结构和功能做更好的设计和开发 应用程序运行的更有效和更稳定
云计算和 Windows Azure 平台 Windows Azure 的结构 部署应用程序详解 升级应用程序详解 课程总结 疑问和解答
云计算 数据中心提供服务 ( 计算, 数据, 基础设施 ) 按需使用 按使用付费 特点 伸缩性 高可用性 容错性
IT 容量 不足 分配的 IT- 容量 预测量 浪费 事实量 时间
IT 容量 按需伸缩 IT 容量 预测量 事实量 时间
You manage You manage You manage 应用软件 基础设施即服务 平台即服务 软件即服务 Applications Applications Applications Applications Data Data Data Data Runtime Middleware O/S Virtualization Servers Storage Networking Runtime Middleware O/S Virtualization Servers Storage Networking Managed by vendor Runtime Middleware O/S Virtualization Servers Storage Networking Managed by vendor Runtime Middleware O/S Virtualization Servers Storage Networking Managed by vendor
Windows Azure 云计算操作系统 SQL Azure 云计算数据库 AppFabric 连接本地应用和云应用
40 Nodes TOR LB LB AGG Digi APC LB LB AGG LB LB AGG LB LB AGG LB LB AGG LB LB AGG 20Racks 数据中心路由器访问路由器 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 40 Nodes TOR Digi APC 20Racks 20Racks 20Racks Node
云应用程序开发 运行云应用程序 管理云应用程序 提供存储空间
开发平台系统 监控数据系统 数据存储系统 监 控 Fabric Controller 资源分配, 资源提供, 管理应用程序, 资源监控 系 统 硬件 Machine, VM, LB, Switch, Router, Network resource,
DNS 数据中心 Network TCP: 55.1.2.3, 80 HTTP: GET my.cloudapp.net LB
Windows Server 2008 x64.net Framework 3.5 SP1 and 4.0 Fabric 管理角色的生命周期 Worker Role 后台进程 接受 : TCP 连接 HTTP/HTTPS 连接 Web Role 前台进程 Hosted IIS 7 HTTP/HTTPS ASP.NET
定义角色 对内和对外的访问端口 定义配置 <WebRole name="webrole1"> <InputEndpoints> <InputEndpoint name="httpin" protocol="http" port="80" /> </InputEndpoints> <ConfigurationSettings> <Setting name="diagnosticsconnectionstring" /> <Setting name="hellomessage"/> </ConfigurationSettings> </WebRole>
配置角色数量 配置角色大小 配置值 <Role name="webrole1"> <Instances count= 5" /> <ConfigurationSettings> <Setting name="diagnosticsconnectionstring" value="usedevelopmentstorage=true" /> <Setting name="hellomessage" value="hello World!" /> </ConfigurationSettings> </Role>
Fault Domains 避免单点出错 部署分散到多个 Fault Domains Upgrade Domains 系统升级单元 避免在系统升级时宕机 Fault domains 资源分配
两种升级方式 : In-place VIP swap In-place 升级 : 如果没有改变服务定义 按 update domain 顺序 自动和手动 VIP swap 升级 : 如果没有改变外部访问端口
Rack Rack http://my.cloudapp.net 55.1.2.3:80 LB 新版本 http://3c0bf9551b384b9da785 7c93228d8ddb.cloudnet.net 55.1.2.4:80 VM VM Worker Role VM VM VM VM Worker Role VM VM
http://my.cloudapp.net 55.1.2.3:80 Rack Rack LB #1 #2 #1 #2 Worker Role Worker Role
Ethos Technologies (ISV) 咨询和提供解决方案 基于云计算和社交领域 欧洲和中国 ChangeTech changetech.cloudapp.net XLR8 xlr8.cloudapp.net
# of users 20,000 40,000 100,000 500,000 1,000,000 Azure Cost per month Legacy Cost per month $797.89 $1,197.89 $2,574.29 $10,747.09 $21,092.69 $5,708.21 $5,708.21 $5,708.21 $16,541.04 $30,082.08
Legacy Legacy Azure-based Azure-based Tran rate Longest tran Tran rate Longest tran (tran/second) (second) (tran/second) (second) 50 request 42.99 2.71 5.2 7.6 100 request 42.23 3.41 12.97 6.13 200 request 39.45 6.76 24.18 6.68 400 request 36.9 13.89 65.57 7.83 700 request 33.13 21.65 60.24 8.73 1050 request 29.4 21.6 74.63 9.58 1400 request 21.94 24.35 75.82 8.61 1750 request 12.37 52.23 77.91 10.68
Windows Azure 是云计算操作系统 服务定义和服务配置 部署应用程序 升级应用程序
相关课程 Windows Azure 开发实务 - 如何将既有的 ASP.NET 应用程序移植到云端 Identity & Access Control in the Cloud Microsoft 云端数据库的最新进展和前景 分会场 27
疑问和解答
感谢您参与此会场! 您的意见与建议对我们非常重要 请您填写反馈表
2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.