Presentation is loading. Please wait.

Presentation is loading. Please wait.

Windows Azure 講師: 李智樺, Ruddy Lee

Similar presentations


Presentation on theme: "Windows Azure 講師: 李智樺, Ruddy Lee"— Presentation transcript:

1 Windows Azure Email: ruddyl.lee@microsoft.com 講師: 李智樺, Ruddy Lee
Sky drive:

2 議 程 雲端: 不同的思維? 故障防護 Failsafe 規模 Scale 整合 Integration 雲端架構實作
TechEd 2013 11/17/2018 7:20 AM 議 程 雲端: 不同的思維? 故障防護 Failsafe 規模 Scale 整合 Integration 雲端架構實作 © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

3 TechEd 2013 11/17/2018 7:20 AM 雲端: 不同的思維? © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

4 常見的謬誤 “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!” 把一切都搬到雲端

5 雲端的架構設計 故障防護 Failsafe Things will fail 規模 Scale
TechEd 2013 11/17/2018 7:20 AM 雲端的架構設計 故障防護 Failsafe Things will fail 規模 Scale Scalability is not automatic 整合 Integration Your cloud applications will need to work with other on-premises systems © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

6 故障防護 Failsafe TechEd 2013 11/17/2018 7:20 AM
© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

7 可使用性 Availability 組合Composition 冗餘 Redundancy
TechEd 2013 11/17/2018 7:20 AM 可使用性 Availability 𝐴𝑣𝑎𝑖𝑙𝑎𝑏𝑖𝑙𝑖𝑡𝑦= 𝑢𝑝𝑡𝑖𝑚𝑒 𝑢𝑝𝑡𝑖𝑚𝑒+𝑑𝑜𝑤𝑛𝑡𝑖𝑚𝑒 冗餘 Redundancy 組合Composition A (90%) B (90%) C (90%) A (99.9%) B (99.9%) C (99.9%) 𝐴=1 − (1−0.1) 3 = 99.9% 𝐴= 𝐴 𝑖 = 99.7% © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

8 Redundancy 冗餘 in Windows Azure
TechEd 2013 11/17/2018 7:20 AM 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)。 © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

9 可靠性 Reliability MTTF Available MTTR Unavailable MTBF MTTF First:
TechEd 2013 11/17/2018 7:20 AM 可靠性 Reliability MTTF Available MTTR Unavailable MTBF Mean Time Between Failure,平均故障間隔時間 MTTF First: MTTR First: Mean Time To Repair,平均修複時間 Mean Time To Failure,修複前平均時間 © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

10 如何進行故障防護呢? 善用Windows Azure的既有功能 避免單點故障 失效模式分析 短暫錯誤
TechEd 2013 11/17/2018 7:20 AM 如何進行故障防護呢? 善用Windows Azure的既有功能 避免單點故障 失效模式分析 短暫錯誤 平穩退化 (Graceful degradation) 消除人為因素 © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

11 TechEd 2013 11/17/2018 7:20 AM 規模 Scale © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

12 可擴展性 Scalability Scaling up 與 scaling out Throughput Quot a
TechEd 2013 11/17/2018 7:20 AM 可擴展性 Scalability Scaling up 與 scaling out Throughput Quot a Instance Capacity Instances © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

13 容量規劃 和 負荷單元 Scaling units
TechEd 2013 11/17/2018 7:20 AM 容量規劃 和 負荷單元 Scaling units Capacity Workload 𝑡 𝑢 , ∆𝑊(𝑡)≤ 𝐶 𝑢 To server x number of customers, I need i compute nodes, j job queues, k storage accounts … Time © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

14 可擴展性 Scaling in Windows Azure
TechEd 2013 11/17/2018 7:20 AM 可擴展性 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 © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

15 如何進行雲端擴展性呢? 容量規劃 Capacity plan 適度分解 Proper decomposition of system
TechEd 2013 11/17/2018 7:20 AM 如何進行雲端擴展性呢? 容量規劃 Capacity plan 適度分解 Proper decomposition of system 無狀態設計 Stateless design 所有層均可規模化 Scale at all layers 節流 Throttling © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

16 不同等級的擴展性規劃 無狀態 分享狀態 全域狀態 Stateless Shared States Global States
TechEd 2013 11/17/2018 7:20 AM 不同等級的擴展性規劃 無狀態 分享狀態 全域狀態 Stateless Shared States Global States R R R S R S Router R S R S R S Separate states and actions Eliminate global states © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

17 Externalize states 狀態外置 Separate actions and states 操作與狀態分離
TechEd 2013 11/17/2018 7:20 AM 操作與狀態分離 Externalize states 狀態外置 Cache session state provider (Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider, Microsoft.Web.DistributedCache) Separate actions and states 操作與狀態分離 Job creator Job queue Job Handler Job Creator Job Handler Job Queue © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

18 與既有系統的整合運用 TechEd 2013 11/17/2018 7:20 AM
© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

19 判斷是否將既有系統搬移到雲端的決策流程圖
TechEd 2013 11/17/2018 7:20 AM 判斷是否將既有系統搬移到雲端的決策流程圖 開 始 上雲端有幫助嗎? 定義/提升目標 建立基準. 估算回收. 值得嗎? 商業影響分析. 協議? 相關性分析. 協議? 相依性? 整體化戰略 影響分析. © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

20 一般整合方式 依數據資料進行整合 Integration by Data 直接調用 Direct invocation 中間件層
TechEd 2013 11/17/2018 7:20 AM 一般整合方式 依數據資料進行整合 Integration by Data 直接調用 Direct invocation 中間件層 © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

21 TechEd 2013 11/17/2018 7:20 AM 與 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, oData, ws-* © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

22 將所有應用程式遷移到雲? 所有應用程式都應該在雲端上執行嗎? 應該將所有的既有程式都搬到雲端上去執行嗎?
所有新開發的程式都應該在雲端上執行嗎? 在雲端上執行的程式就比較好嗎?

23 整 合 的 意 義 鬆耦合 隔離式的整合 安全是雲端的基本 盡量採用標準 TechEd 2013 11/17/2018 7:20 AM
© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

24 與 既 有 系 統 相 整 合 訊息式整合 System H System D Topic System E Queue System A
TechEd 2013 11/17/2018 7:20 AM 與 既 有 系 統 相 整 合 訊息式整合 System H System D Topic System E Queue System A System G System B System C System F © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

25 與 既 有 系 統 相 整 合 Virtual Network Point-to- Site LAN VNet Site-to-Site
TechEd 2013 11/17/2018 7:20 AM 與 既 有 系 統 相 整 合 Virtual Network Point-to- Site LAN VNet Site-to-Site © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

26 11/17/2018 7:20 AM 雲端架構練習 © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

27 雲端架構設計練習 腳本: 1. 設計一個類似Dropbox的雲端儲存體服務機制 2. Diagnostics Messages
TechEd 2013 11/17/2018 7:20 AM 雲端架構設計練習 腳本: 1. 設計一個類似Dropbox的雲端儲存體服務機制 2. Diagnostics Messages © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

28 典型 Platform As A Service 的架構設計
PRIVACY SECURITY MONITOR&ALERT SCALABILITY ACCESS Web Role Unified Interface: REST, JSON Logging CORE MODULES JOB SCHEDULER MESSAGE BUS Worker Role Service Business Waveface ID Billing Manager Data Processor Account Manager Intelligent Aggregator Quota Manager Resource Manager Admin Manager(*) SNS Manager Report Manager DATA Storage Storage Database

29 典型 Platform As A Service 的架構設計
ACCESS PRIVACY SECURITY MONITOR&ALERT SCALABILITY Unified Interface: REST, JSON CORE MODULES JOB SCHEDULER MESSAGE BUS Service Business Unique ID Billing Manager Data Processor Account Manager Intelligent Aggregator Quota Manager Resource Manager Admin Manager(*) SNS Manager Report Manager DATA Storage Database SNS (Social Networking Services)

30 DEMO: Display and Maintain Azure Diagnostics messages
This sample will show you how to retrieve Diagnostics message and save them to Cloud storage.

31 TechEd 2013 11/17/2018 7:20 AM Q & A © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

32

33 如何獲得百萬跑車? 2013/09/30 前, 只要依照規定啓用 MSDN 訂閱隨附的 Windows Azure 權益, 即有機會將北美預估 零售價 118,600 美元的 Aston Martin V8 Vantage Coupe 開回家. 詳情請參閱 Windows Azure 網站 :


Download ppt "Windows Azure 講師: 李智樺, Ruddy Lee"

Similar presentations


Ads by Google