Your SlideShare is downloading. ×
0
ArcReady Architecting for the Cloud Phil Wheat Architect Evangelist [email_address] blog: PhilWheat.net
 
Community Events Austin CodeCamp – May 30 th     http://www.austincodecamp.com / Dallast TechFest –June 19 th   http://www...
Are you a technology start-up? <ul><li>BizSpark is an innovative new program that unites Startups with entrepreneurial and...
Microsoft Developer Tools Promotions …ending June 30th, 2009 Contact your local Microsoft Developer Tools Representative  ...
ArcReady: Architecting for the cloud
About Me Phil Wheat Architect Evangelist [email_address] blog: PhilWheat.net
About ArcReady… <ul><li>A forum for aspiring and practicing architects to discuss industry trends  </li></ul><ul><li>An ov...
Discussion Encouraged
 
SESSION 1 Architecting for the cloud
 
 
Flashback to previous ArcReady
 
 
Application Service Providers (ASP)
Software as a Service
Software + Services
“ Packaged” Application An application that I buy “off the shelf” and run myself “ Home Built” Application An application ...
Almost zero upfront infrastructure cost
Just in time Infrastructure
More efficient resource utilization
Usage Based Computing
Potential to shrink processing time
Concerns with Cloud Computing
Security
Scalability
Reliability
Regulations and other legal issues
Azure
<ul><li>Azure  is a  blue color  on the HSV color wheel at 210 degrees.  Azure  is the hue that is halfway between blue an...
 
Platform as a service
Your Applications
Your Applications
Use Case – Erratic Traffic MLB.com is not affiliated with Windows Azure – example only
Use Case – Erratic Traffic pgatour.com is not affiliated with Windows Azure – example only
Use Case – New Site Launch
<ul><li>Web farm that handles request from the internet </li></ul><ul><li>IIS7 hosted web core </li></ul><ul><ul><li>Hosts...
<ul><li>No inbound  network connections </li></ul><ul><li>Can read requests  from queue  in storage  </li></ul><ul><ul><li...
Public Internet Web Role Storage Service Worker Role Load Balancer
Public Internet Web Role Storage Service Worker Role Load Balancer
Public Internet Web Role Storage Service Worker Role Load Balancer
… Fabric Compute Storage Application Blobs Queues HTTP Tables
<ul><li>Storage types: </li></ul><ul><ul><li>Blobs: a simple hierarchy of binary data </li></ul></ul><ul><ul><li>Tables: h...
Table . . . Table Table Entity . . . Entity Entity Property Property Property Name Type Value Storage Accounts
<ul><li>Access via REST </li></ul><ul><ul><li>You can’t use ordinary ADO.NET </li></ul></ul><ul><li>No SQL </li></ul><ul><...
<ul><li>Massive scalability </li></ul><ul><ul><li>By effectively allowing scale-out data </li></ul></ul><ul><li>Highly dur...
What tables don’t do Not relational No Referential Integrity No Joins Limited Queries No Group by No Aggregations No Trans...
<ul><li>Data stored in Tables </li></ul><ul><ul><li>A Table is a set of Entities (rows) </li></ul></ul><ul><ul><li>An Enti...
Queue Web Role ASP.NET, WCF, etc. Worker Role main() {  …  }  1) Receive work 2) Put work in queue 3) Get work from queue ...
POST http://myaccount. queue .core.windows.net/ myqueue /messages HTTP/1.1 200 OK  Transfer-Encoding: chunked  Content-Typ...
<ul><li>Queues guarantee a message will be processed  at least  once </li></ul><ul><li>Allows recovery in the event of err...
<ul><li>Same tools you’re already used to using, namely Visual Studio </li></ul><ul><li>Real Storage & Dev Store have diff...
 
Your Applications
<ul><li>Key developer challenges </li></ul><ul><ul><li>Many identity providers, many vendors, many protocols, complex sema...
<ul><li>Key developer challenges </li></ul><ul><ul><li>Want to easily describe long-running processes </li></ul></ul><ul><...
<ul><li>The problem: Exposing internal applications on the Internet isn’t easy </li></ul><ul><ul><li>Network address trans...
Service Bus Service Bus Registry Endpoints Organization Y Organization X Application Application 2) Discover endpoints 1) ...
Your Applications
SQL Services .NET Services Windows Azure Live Services Applications Applications Others Windows Mobile Windows Vista/XP Wi...
SQL Data Services Data Center Container  . . . Container  Container  HTTP/ SOAP Entity . . . Entity Entity Property Proper...
Resources <ul><li>Jinesh Varia’s Cloud Computing Whitepaper – http://aws.amazon.com </li></ul><ul><li>Azure Landing Site –...
Break
 
SESSION 2 Mesh and Live Services
Your Applications
Your Applications
Windows Live
Finished Services
Software Applications
<ul><li>…  are a set of building blocks for handling user data and application resources which can connect your applicatio...
 
Why Live Services? Engage with over 450M users on Windows Live Integrate with experiences, relationships and data users ca...
Virtual Earth
<ul><li>Eliminated calls to help center about locations </li></ul><ul><li>Proof of concept in three weeks </li></ul><ul><l...
Live Mesh
Quick Walkthrough and Demo (not nearly as impressive as the video)
 
 
External Commentary #1 Coolest technology demoed at Web 2.0 “ Live Mesh… could change the way PCs and other devices intera...
“ Eventually, we’ll give customers instant access to any movie on any device with an Internet connection and a screen.” “M...
© 2009 Microsoft corporation. all rights reserved. this presentation is for informational purposes only. Microsoft makes n...
Upcoming SlideShare
Loading in...5
×

Arc Ready Cloud Computing

482

Published on

ArcReady March Slides

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
482
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
21
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Transcript of "Arc Ready Cloud Computing"

    1. 1. ArcReady Architecting for the Cloud Phil Wheat Architect Evangelist [email_address] blog: PhilWheat.net
    2. 3. Community Events Austin CodeCamp – May 30 th http://www.austincodecamp.com / Dallast TechFest –June 19 th http://www.dallastechfest.com / StartupWeekend San Antonio http ://startupweekend.com/san-antonio-startup-weekend /
    3. 4. Are you a technology start-up? <ul><li>BizSpark is an innovative new program that unites Startups with entrepreneurial and technology resources in a global community with a common goal of supporting and accelerating the success of a new generation of high-potential Startups. </li></ul><ul><li>http://www.microsoft.com/bizspark </li></ul>
    4. 5. Microsoft Developer Tools Promotions …ending June 30th, 2009 Contact your local Microsoft Developer Tools Representative for more details… Midwest and North Central Jerry Flynn (314) 872-5919 [email_address] Heartland and South Central Rachel McKane (469) 775-6125 [email_address]
    5. 6. ArcReady: Architecting for the cloud
    6. 7. About Me Phil Wheat Architect Evangelist [email_address] blog: PhilWheat.net
    7. 8. About ArcReady… <ul><li>A forum for aspiring and practicing architects to discuss industry trends </li></ul><ul><li>An overview of Microsoft’s roadmap as it relates to software architecture </li></ul><ul><li>A mechanism to solicit your feedback </li></ul><ul><li>An opportunity to showcase the work you do! </li></ul>
    8. 9. Discussion Encouraged
    9. 11. SESSION 1 Architecting for the cloud
    10. 14. Flashback to previous ArcReady
    11. 17. Application Service Providers (ASP)
    12. 18. Software as a Service
    13. 19. Software + Services
    14. 20. “ Packaged” Application An application that I buy “off the shelf” and run myself “ Home Built” Application An application that I develop and run myself Build vs. Buy Build Buy Hosted “ Home Built” An application that I develop myself, but run at a hoster Hosted “ Packaged” An application that I buy “off the shelf” and then run at a hoster “ Home Built” using cloud An application that I develop myself, that is hosted using cloud platform “ Packaged” using cloud An application that I buy “off the shelf”, that is hosted using cloud platform “ Software as a Service” A hosted application that I buy from a vendor “ Platform as a Service” A vendor hosted development and runtime environment On Premise Hoster Cloud Vendor
    15. 21. Almost zero upfront infrastructure cost
    16. 22. Just in time Infrastructure
    17. 23. More efficient resource utilization
    18. 24. Usage Based Computing
    19. 25. Potential to shrink processing time
    20. 26. Concerns with Cloud Computing
    21. 27. Security
    22. 28. Scalability
    23. 29. Reliability
    24. 30. Regulations and other legal issues
    25. 31. Azure
    26. 32. <ul><li>Azure is a blue color on the HSV color wheel at 210 degrees. Azure is the hue that is halfway between blue and cyan. Its complementary color is orange. </li></ul><ul><li>Azure is a near synonym for the color blue. </li></ul>Commonly it refers to a bright blue, resembling the sky on a bright, clear day. http://en.wikipedia.org/wiki/Azure
    27. 34. Platform as a service
    28. 35. Your Applications
    29. 36. Your Applications
    30. 37. Use Case – Erratic Traffic MLB.com is not affiliated with Windows Azure – example only
    31. 38. Use Case – Erratic Traffic pgatour.com is not affiliated with Windows Azure – example only
    32. 39. Use Case – New Site Launch
    33. 40. <ul><li>Web farm that handles request from the internet </li></ul><ul><li>IIS7 hosted web core </li></ul><ul><ul><li>Hosts ASP.NET </li></ul></ul><ul><ul><li>XML based configuration of IIS7 </li></ul></ul><ul><ul><li>Integrated managed pipeline </li></ul></ul><ul><ul><li>Supports SSL </li></ul></ul><ul><ul><li>Windows Azure code access security policy (CAS) for managed code </li></ul></ul>Storage Services Public Internet Web Role Load Balancer
    34. 41. <ul><li>No inbound network connections </li></ul><ul><li>Can read requests from queue in storage </li></ul><ul><ul><li>Windows Azure specific CAS policy for managed code </li></ul></ul>Storage Service Public Internet Worker Role
    35. 42. Public Internet Web Role Storage Service Worker Role Load Balancer
    36. 43. Public Internet Web Role Storage Service Worker Role Load Balancer
    37. 44. Public Internet Web Role Storage Service Worker Role Load Balancer
    38. 45. … Fabric Compute Storage Application Blobs Queues HTTP Tables
    39. 46. <ul><li>Storage types: </li></ul><ul><ul><li>Blobs: a simple hierarchy of binary data </li></ul></ul><ul><ul><li>Tables: hierarchical storage (not relational tables) </li></ul></ul><ul><ul><li>Queues: allow message-based communication </li></ul></ul><ul><li>Access: </li></ul><ul><ul><li>Data is exposed via a RESTful interface </li></ul></ul><ul><ul><li>Data can be accessed by: </li></ul></ul><ul><ul><ul><li>Windows Azure apps </li></ul></ul></ul><ul><ul><ul><li>Other on-premises or cloud apps </li></ul></ul></ul>
    40. 47. Table . . . Table Table Entity . . . Entity Entity Property Property Property Name Type Value Storage Accounts
    41. 48. <ul><li>Access via REST </li></ul><ul><ul><li>You can’t use ordinary ADO.NET </li></ul></ul><ul><li>No SQL </li></ul><ul><ul><li>Query language based on the LINQ C# syntax </li></ul></ul><ul><ul><li>No real joins, aggregates, etc. </li></ul></ul><ul><li>An unfamiliar hierarchical structure </li></ul><ul><ul><li>You can’t easily move relational data to it </li></ul></ul><ul><ul><li>Supporting services are scarce, e.g., reporting </li></ul></ul><ul><ul><li>There’s significant platform lock-in </li></ul></ul><ul><li>No schema </li></ul><ul><ul><li>And no views </li></ul></ul>
    42. 49. <ul><li>Massive scalability </li></ul><ul><ul><li>By effectively allowing scale-out data </li></ul></ul><ul><li>Highly durable </li></ul><ul><li>Perspective: </li></ul><ul><ul><li>Applied to the right problem, Windows Azure Tables are a beautiful thing </li></ul></ul><ul><ul><ul><li>But they’re not the optimal solution for a majority of data storage scenarios </li></ul></ul></ul><ul><ul><li>Amazon, Google, and others do quite similar things </li></ul></ul><ul><ul><ul><li>It appears to be the state of the art for scale-out data </li></ul></ul></ul>
    43. 50. What tables don’t do Not relational No Referential Integrity No Joins Limited Queries No Group by No Aggregations No Transactions What tables can do Cheap Very Scalable Flexible Durable If these are important to you, use:
    44. 51. <ul><li>Data stored in Tables </li></ul><ul><ul><li>A Table is a set of Entities (rows) </li></ul></ul><ul><ul><li>An Entity is a set of Properties (columns) </li></ul></ul><ul><li>Entity has: </li></ul><ul><ul><li>PartitionKey – enables scalability </li></ul></ul><ul><ul><li>RowKey – unique id within the partition (the only indexed property) </li></ul></ul><ul><ul><li>Timestamp – for optimistic concurrency </li></ul></ul><ul><ul><li>255 properties for your data </li></ul></ul><ul><ul><li>Max size of 1MB </li></ul></ul>
    45. 52. Queue Web Role ASP.NET, WCF, etc. Worker Role main() { … } 1) Receive work 2) Put work in queue 3) Get work from queue 4) Do work To scale, add more of either
    46. 53. POST http://myaccount. queue .core.windows.net/ myqueue /messages HTTP/1.1 200 OK Transfer-Encoding: chunked Content-Type: application/xml Date: Tue, 09 Dec 2008 21:04:30 GMT Server: Nephos Queue Service Version 1.0 Microsoft-HTTPAPI/2.0  <?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?> <QueueMessagesList> <QueueMessage> <MessageId> 5974b586-0df3-4e2d-ad0c-18e3892bfca2 </MessageId> <InsertionTime> Mon, 22 Sep 2008 23:29:20 GMT </InsertionTime> <ExpirationTime> Mon, 29 Sep 2008 23:29:20 GMT </ExpirationTime> <PopReceipt> YzQ4Yzg1MDIGM0MDFiZDAwYzEw </PopReceipt> <TimeNextVisible> Tue, 23 Sep 2008 05:29:20GMT </TimeNextVisible> <MessageText> PHRlc3Q+dG...dGVzdD4= </MessageText> </QueueMessage> </QueueMessagesList> DELETE http://myaccount. queue .core.windows.net/ myqueue /messages/messageid? popreceipt =YzQ4Yzg1MDIGM0MDFiZDAwYzEw Queue Msg 1 Msg 2 Msg 3 Msg 4 Worker Role Worker Role PutMessage Web Role GetMessage (Timeout) RemoveMessage Msg 2 Msg 1 Worker Role Msg 2
    47. 54. <ul><li>Queues guarantee a message will be processed at least once </li></ul><ul><li>Allows recovery in the event of errors </li></ul><ul><li>Roles normally consist of several tasks </li></ul><ul><ul><ul><li>Get Message </li></ul></ul></ul><ul><ul><ul><li>Insert to Table1 </li></ul></ul></ul><ul><ul><ul><li>Insert to Table2 </li></ul></ul></ul><ul><li>Could fail at any point </li></ul><ul><li>Write your code to expect failures </li></ul><ul><ul><li>Inserts/Deletes might fail as already performed </li></ul></ul><ul><ul><li>Data in inconsistent state (part processed) </li></ul></ul>
    48. 55. <ul><li>Same tools you’re already used to using, namely Visual Studio </li></ul><ul><li>Real Storage & Dev Store have differences </li></ul><ul><ul><li>Fixed schema </li></ul></ul><ul><ul><li>No dynamic table creating </li></ul></ul><ul><li>String length nvarchar[1000] – String[64000] </li></ul><ul><li>Dev Storage forces you to use certain patterns </li></ul><ul><li>Can be difficult to debug issues in data store: </li></ul><ul><ul><li>Use logging and tracing </li></ul></ul><ul><ul><li>Use Fiddler, SQL profiler and SDK docs </li></ul></ul>
    49. 57. Your Applications
    50. 58. <ul><li>Key developer challenges </li></ul><ul><ul><li>Many identity providers, many vendors, many protocols, complex semantics – tricky to get right </li></ul></ul><ul><ul><li>Application strewn with one-off access logic </li></ul></ul><ul><ul><li>Hard to get right, not agile, not compliant, many dead ends </li></ul></ul><ul><li>Approach </li></ul><ul><ul><li>Automate federation for a wide-range of identity providers and technologies </li></ul></ul><ul><ul><li>Factor the access control logic from the application into manageable collection of rules </li></ul></ul><ul><ul><li>Easy-to-use framework that ensures correct token processing </li></ul></ul>
    51. 59. <ul><li>Key developer challenges </li></ul><ul><ul><li>Want to easily describe long-running processes </li></ul></ul><ul><ul><li>Want modularity and nesting </li></ul></ul><ul><ul><li>Easy to describe but in practice harder to run </li></ul></ul><ul><ul><ul><li>Hosting and scaling can be challenging </li></ul></ul></ul><ul><ul><ul><li>Setup and installing, define scale-out approach, ensure long-running availability, manage upgrades, … </li></ul></ul></ul><ul><li>Approach </li></ul><ul><ul><li>. NET 3.0/3.5/4.0 addresses key developer requests </li></ul></ul><ul><ul><li>.NET Services makes it easy to deploy, manage and run Workflows </li></ul></ul>
    52. 60. <ul><li>The problem: Exposing internal applications on the Internet isn’t easy </li></ul><ul><ul><li>Network address translation (NAT) and firewalls get in the way </li></ul></ul><ul><li>The solution: </li></ul><ul><ul><li>Service Bus provides a cloud-based intermediary between clients and internal applications </li></ul></ul><ul><ul><li>It also provides a service registry that clients can use to find the services they need </li></ul></ul>
    53. 61. Service Bus Service Bus Registry Endpoints Organization Y Organization X Application Application 2) Discover endpoints 1) Register endpoints 3) Access application
    54. 62. Your Applications
    55. 63. SQL Services .NET Services Windows Azure Live Services Applications Applications Others Windows Mobile Windows Vista/XP Windows Server SQL Data Services Others (Future)
    56. 64. SQL Data Services Data Center Container . . . Container Container HTTP/ SOAP Entity . . . Entity Entity Property Property Property Name Type Value Authorities
    57. 65. Resources <ul><li>Jinesh Varia’s Cloud Computing Whitepaper – http://aws.amazon.com </li></ul><ul><li>Azure Landing Site – http://azure.com </li></ul><ul><li>Steve Marx - http://blog.smarx.com </li></ul><ul><li>Azure Team - http://blogs.msdn.com/windowsazure </li></ul>
    58. 66. Break
    59. 68. SESSION 2 Mesh and Live Services
    60. 69. Your Applications
    61. 70. Your Applications
    62. 71. Windows Live
    63. 72. Finished Services
    64. 73. Software Applications
    65. 74. <ul><li>… are a set of building blocks for handling user data and application resources which can connect your application to hundreds of millions of users. </li></ul>Storage Search & Geospatial Identity Directory Devices Applications Synchronization Mesh Services User Comms & Presence 1.2B 30B 367M 320M nnPB 460M
    66. 76. Why Live Services? Engage with over 450M users on Windows Live Integrate with experiences, relationships and data users care about Comprehensive Windows Live services API’s (incl. Messenger, feeds, contacts, search) Developer Tooling with integrated Live Services Open, interoperable programming interface and resource model across digital devices. Data synchronization and local accessibility of web / cloud data Connect across devices Embed social building blocks Jumpstart traffic
    67. 77. Virtual Earth
    68. 78. <ul><li>Eliminated calls to help center about locations </li></ul><ul><li>Proof of concept in three weeks </li></ul><ul><li>24/7 technical support, easy development with online software development kit </li></ul><ul><li>Chose Microsoft ® Virtual Earth ™ with the Microsoft MapPoint ® Web service </li></ul><ul><li>Integrated location information to provide location hours and services </li></ul><ul><li>Added 3-D maps and integrated driving directions </li></ul><ul><li>FedEx wanted to increase its visibility and improve customer experience </li></ul><ul><li>Wanted to add location information and rich features to its online store locater </li></ul><ul><li>Stable, well-supported solution platform was a must </li></ul>FedEx improves customer experience with integrated mapping and location data “ With Virtual Earth, rather than clicking 10 times to find information, customers get it right away with the compass control.” SNarayanan Kasiarunachalam, Technical Advisor, FedEx Customer Logo
    69. 79. Live Mesh
    70. 80. Quick Walkthrough and Demo (not nearly as impressive as the video)
    71. 83. External Commentary #1 Coolest technology demoed at Web 2.0 “ Live Mesh… could change the way PCs and other devices interact with Internet Services and each other…” “… most ambitious step yet in transforming its personal computer business “ Despite Microsoft’s reputation of being a closed-wall company, it is adopting simple protocols in its Live Mesh synchronization strategy.” “ Live Mesh represents the company Microsoft is trying to become…” Rob Enderle
    72. 84. “ Eventually, we’ll give customers instant access to any movie on any device with an Internet connection and a screen.” “More immediately, we could use this technology to reach into airports. Travelers could quickly download movies from Blockbuster kiosks to their portable media players.” Keith Morrow Chief Information Officer, Blockbuster
    73. 85. © 2009 Microsoft corporation. all rights reserved. this presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×