WINDOWS AZURE Ruddy Lee Email ruddyl leemicrosoft com

































- Slides: 33
WINDOWS AZURE 講師: 李智樺, Ruddy Lee Email: ruddyl. lee@microsoft. com Sky drive: http: //sdrv. ms/133 xt. IJ
常見的謬誤 • “That’s a hardware failure, not my problem!” 把責任推給機器 • “Let’s throw more RAM onto our database server. ” 用記憶體來換取效能 • “Our service is 99. 9% available because we use Azure!” 誤把雲端可用度當成自己的系統可用度 • “Running out capacity? That’s a good problem to have!” 雲端不會出現記憶體不足的訊息 • “We’ll move everything to cloud!” 把一切都搬到雲端
雲端的架構設計 • 故障防護 Failsafe • Things will fail • 規模 Scale • Scalability is not automatic • 整合 Integration • Your cloud applications will need to work with other on-premises systems
故障防護 Failsafe
可使用性 Availability • 冗餘 Redundancy A (90%) B (90%) A (99. 9%) C (90%) B (99. 9%) C (99. 9%)
Redundancy 冗餘 in Windows Azure • Windows Azure 的 Storage 針對相同資料有三份的複寫。 • SQL Azure 原來就自動內建備份伺服器。 • Windows Azure 可採用勾選的方式啟動內建 caching 的HA • • • 功能。 Windows Azure Web Sites and Cloud Services都已經俱有 Multi-instance。 比較少人會注意到其實Windows Azure 是具有VM負載自動 平衡的功能(Load-balanced Virtual Machines)。 把資料跨Data Center存放,把資料備份在不同區域的雲端資 料中心裡( 採用 Windows Azure Traffic Manager)。
可靠性 Reliability Mean Time Between Failure,平均故障間 隔時間 Mean Time To Repair,平均修複時間 Mean Time To Failure,修複前平均時間
規模 Scale
可擴展性 Scalability • Scaling up 與 scaling out
可擴展性 Scaling in Windows Azure • • Scale up by choosing different VM sizes Scale out by adding more instances Auto-scale with Auto scaling Application Block Database shading with Windows Azure SQL Database Scale out by using multiple service entities CDN to distribute user traffic Caching to offset server workloads
如何進行雲端擴展性呢? • 容量規劃 Capacity plan • 適度分解 Proper decomposition of system • 無狀態設計 Stateless design • 所有層均可規模化 Scale at all layers • 節流 Throttling
不同等級的擴展性規劃 無狀態 Stateless 分享狀態 Shared States 全域狀態 Global States R R R R R S S R R R RS R SR R R S
操作與狀態分離 • Externalize states 狀態外置 • Cache session state provider (Microsoft. Web. Distributed. Cache. Session. State. Store. Provider, Microsoft. Web. Distributed. Cache) • Separate actions and states 操作與狀態分離 • Job creator • Job queue • Job Handler Job Queue Job Creator Job Handler
與 Windows Azure 整 合 • • • Message-based integration 採用 Windows Azure Service Bus Connectivity 採用 Windows Azure Virtual Network 既有 AD 與 Windows Azure Active Directory 整合 Single Sign-On 結合 Windows Azure Access Control Service Inclusive ecosystem 支援 heterogeneous stacks 大量採用標準化的協定,例如: HTTP, Oauth, o. Data, ws-*
與既有系統相整合 • 訊息式整合 System H System D Topic System E Queue System G A System B System C System F
與既有系統相整合 • Virtual Network LAN VNet
ACCESS 典型 Platform As A Service 的架構設計 Unified Interface: REST, JSON Web Role Logging JOB SCHEDULER Waveface ID Billing Manager Account Manager Intelligent Aggregator Quota Manager Resource Manager Admin Manager(*) SNS Manager Report Manager DATA Storage Database Storage SECURITY Worker Role Data Processor SCALABILITY Business MONITOR&ALERT Service PRIVACY CORE MODULES MESSAGE BUS
ACCESS 典型 Platform As A Service 的架構設計 Unified Interface: REST, JSON JOB SCHEDULER Billing Manager Data Processor Account Manager Intelligent Aggregator Quota Manager Resource Manager Admin Manager(*) SNS Manager Report Manager DATA Storage SNS (Social Networking Services) Database SCALABILITY Unique ID MONITOR&ALERT Business SECURITY Service PRIVACY CORE MODULES MESSAGE BUS
DEMO: Display and Maintain Azure Diagnostics messages This sample will show you how to retrieve Diagnostics message and save them to Cloud storage.
Q&A
© 2011 Microsoft Corporation. All rights reserved. Microsoft, 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.
如何獲得百萬跑車? 2013/09/30 前, 只要依照規定啓用 MSDN 訂閱隨附的 Windows Azure 權益, 即有機會將北美預估 零售價 118, 600 美元的 Aston Martin V 8 Vantage Coupe 開回家. 詳情請參閱 Windows Azure 網站 : http: //www. microsoft. com/taiwan/windowsazure/