Extend Your Application to the Cloud with SQL Azure Database

2,741 views

Published on

AP005 Extend Your Application to the Cloud with SQL Azure Database
Presenters: Rick Negrin
Mon 7/13 | 3:30 PM-4:30 PM | 220-222


Learn how SQL Azure delivers on the promise of database-as-a-service in the Cloud. Check out how partners like Infosys and Clearway are building their LOB applications on SQL Azure. Explore the key value propositions of SQL Azure relational Database, its capability and targeted scenarios. The session demonstrates interoperability with Windows Azure. The symmetry of the programming model and tools between on-premises SQL Server and SQL Azure make it easy to port your existing applications

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,741
On SlideShare
0
From Embeds
0
Number of Embeds
61
Actions
Shares
0
Downloads
85
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide
  • “At the end of this session we will give away this Dell Netbook (hold it up to show it to the crowd).  To enter this free drawing please fill out this card (hold up a sample) and we’ll collect them at the end.  If you need a card raise your hand and we’ll get one to you.   We’ll draw a winner at the end of my presentation and the winner must be present to win. When you turn in your card you will receive an 8GB USB stick”.
  • Initial services – core RDBMS capabilities as a service SQL Azure Database(SADB), Data SyncFuture OfferingsAdditional data platform capabilities as a service: BI/DSS, DWNew services: Reference Data, Secure Data HubSQL Azure is an umbrella brand that covers all the services we intend to offer over time. Post v1 services are in grey. Data sync will be in CTP.Key takeaway: Start with core RDBMS features and expand from there. Integrate with on-premise SQL.High-Value Database ServicesRich data platform capabilities as a service: Reporting, Analytics, Integration, DW, … New services: Data Hub, DataPlex, Association Hub (Data->Information), …Extending our Data Platform to the cloud, generating a network effect:Benefit cloud business with Enterprise connectionsBenefit Enterprise business with cloud connectionsEnable new uses of data to drive additional business value – e.g. “Federated data”
  • I looked at how I could port one of the DB to SDS and what kind of changes that are required. Here are the ones by simply looking at the scripts, and those are the ones you can talk about during demo, although it will run against a local SQL instance. No “use” support, so in code it will have to specify different connection string. Not to “USE DB” at the beginning of the scriptsLogin creation can’t be done via “sp_addlogin” (deprecated), instead use ‘create login”.User can’t be created via “sp_grantdbaccess” (deprecated), instead use ‘create user’.All table will need to have a clustered index (via defining primary key in most cases).
  • This slide describes four common customer scenarios that SADB supportsDepartmental ApplicationsSimple application built by individual or departmentNeed simple deployment, self-management, IT: “Empowerment and Governance”Web applicationsSmall business or startup that uses the cloud as their ITSimple deployment, self-management, scale on demandISVISV hosting software on behalf of customerMulti-tenant support for billing and isolationData hub (shortly after V1)Sharing and aggregating of data across tiers and across enterprisesCentralized place for data, high scale, sync with existing data sourcesDepartmental workgroup applicationsBuilt with SQL Express or AccessSmall in size, 5 GB or lessLess than 10,000 rowsSmall number of concurrent users (tens)Owned by a department, not central IT.Often grows out an excel spreadsheet or Access databaseTypically one of the following types:Tracking app (purchase orders changes)Simple reporting app (CSS tool for tracking issues)Commonly pulls reference data from other systems.Simple security needs (a set of people all get read access, with a small number of people with Admin access)Do not have a dedicated DBA (usually managed by a department level IT helper or a technically savvy IW)Developer often a technically savvy IW. Especially for the Access apps.Web applicationsTypically built by a small development team with no little or administrative capabilitiesNeed to start small, but then be able to scale-up quickly and easily as required.Data HubsSecure data hubs enable you to consolidate existing data store investments and access them through a single cloud-based hub. The security features provided by the SADB platform ensure movement of, and access to your data is secure at all times. This enables you to develop or modify applications to provide geo-dispersed data access and enables the complete mobility of your workforce. You can be certain that if your employees have access to the internet they have access to their data!ISVs and SaaS ProvidersGrowing trend towards cloud-based LOB application offerings.Need global reach and scalability with the ability to quickly provision multiple tenants and manage billing
  • Familiar SQL Server relational modelUses existing APIs & toolsFriction free provisioning and reduced managementBuilt for the Cloud with availability and scaleFocus on combining the best features of SQL Server running at scale with low friction
  • Familiar SQL Server relational modelUses existing APIs & toolsFriction free provisioning and reduced managementBuilt for the Cloud with availability and scaleFocus on combining the best features of SQL Server running at scale with low friction
  • Most valuable things we did was to flesh out the system was to take on an internal partner. EHA is that partner EHA is that partnerEHA is a high scale archiving system. They take email from on premise Exchange servers and store in their system. This is useful for companies that need to adhere to strict compliance laws (like Sarbanes Oxley). It results in very large data sets, tens of terabytes for the larger customers.EHA had built their first version using standard scale up pattern. Each customer got their own database on a single machine. The data for the larger customers was stored in a SAN. This architecture had two issues. One was that they hit a limit on the amount data they could process. This limited them from taking on customers that exceeded that limit. The second is a problem inherent in the archival pattern itself. In the archival pattern you mostly do lots of inserts in the steady state. This requires a lot of I/O capacity but not as much processing. Then you occasionally have to do a massive query across the data set. The processing for the queries is high because of the amount of data but you only need for a short period of time. That means you need to have enough hardware for the queries but it doesn’t get used for much of the time.The solution was to build on SADB using a scale out pattern where a given customer’s data is spread out over multiple nodes. Then when a query comes in it can be distributed across all the nodes where that customer data lives. Because most customers don’t query that often each query gets to harness the full computing power of the box for that query achieving better utilitization and therefore lower cost. In addition, it turns out this pattern is more performant than the pattern they had before and had a order of magnitude increase in query perf.Working with EHA has been a win win for both us and them. It helped them improve the scale and cost efficiency of their app. And it was tremoundously valuable for us to help us prove out our design and tune our system to handle a real production workload from real paying customers.
  • Extend Your Application to the Cloud with SQL Azure Database

    1. 1.
    2. 2. Your Feedback is Very Important to Us<br />Submit your Session Evaluation Online and Win! www.digitalwpc.com/evals<br />Palm Treo Pro Windows Mobile Device!<br />Official Microsoft Gear: Bike Jerseys<br />$25 Conference Store gift certificate<br />Bing Backpacks <br />& Hats<br />Winners Every Hour!<br />Or submit NOW on your Mobile Device at: http://www.mspartnerconference.com<br />
    3. 3. Enter to Win a Dell InspironNetbook<br />
    4. 4. Extend Your Application to the Cloud with SQL Azure<br />Rick NegrinNirajNagrani<br />AP005<br />
    5. 5. Key Takeaways – Why Should You Care About Azure<br />Grow revenue and increase segment reach<br />Find new sources of revenue and increase margins<br />Traditional ISVs, Web VAPs, Custom software developers<br />Win New Businesses<br />Quick time to market<br />SaaS ISVs, CSDs<br />Focus on delivering more value<br />Reduce infrastructure cost, eliminate provisioning, and physical administration<br />VAR/VAPs, SIs<br />Take advantage of your existing knowledge and developer tools<br />
    6. 6. Customer Pain Points<br />Managing IT hardware and infrastructure and costs<br />Managing complexity in provisioning and administration<br />Increasing competition drives needs for efficiency and reduced time to market<br />Meeting new business needs of the mobile workforce<br />
    7. 7. Extending SQL Server Data Platform to the Cloud<br />Data Sync<br />Reporting<br />Business Intelligence<br />Reference Data<br />Database<br />Symmetric Programming Model<br />Data Hub Aggregation<br />Initial services – core RDBMS capabilities with SQL Azure Database, Data Sync<br />Future Offerings<br />Additional data platform capabilities: Reporting, BI<br />New services: Reference Data<br />
    8. 8. Pet-shop Using SQL Azure<br />Rick Negrin<br />Program Manager<br />Microsoft Corporation<br />Demo<br />
    9. 9. Customer Scenarios<br />Enterprise Departmental Applications<br />Web Applications<br />Departmental workgroup applications with low concurrency and cyclical usage patterns<br />Small customers or start ups with Web applications of all scale that have simple RDBMS needs<br />Data Hubs<br />ISV LOB Applications<br />Data hubs that consolidate multiple data sources and enable access from multiple locations and devices<br />Traditional ISVs extending offering or selling software hosted in the cloud<br />
    10. 10. Benefits of SQL Azure<br />Delivers the value of hosted relational database with the differentiated benefits of cloud service<br />Hosted RDBMS<br />Cloud Service<br />Familiar relational model<br />Support existing code libraries and protocols<br />Ecosystem of familiar development and management tools<br />Low-friction provisioning<br />High scale<br />Multi-tenant<br />Self-management<br />Automatic HA and DR<br />
    11. 11. Jitendra Pal Thethi<br />Infosys<br />Carbon Footprint Calculator<br />partner <br />
    12. 12. Infosys– Carbon Footprint Calculator<br />Org 1<br />Org 3<br />Org 2<br />About the application<br />Organizations monitor and control carbon footprint based on their employees travel and energy consumption patterns<br />Challenges with existing application<br />Have to be hosted on-premise at the customer data-center <br />Lack of highly scalable relational storage for large user population<br />Lack of tenant separation among clients<br />Solution<br />ASP.NET app hosted in Windows Azure and uses SQL Azure for data storage<br />Multi-tenant model to keep customer data isolated<br />Browser<br />Browser<br />Browser<br />Cloud<br />HTTP<br />Carbon Footprint Calculator Web Application<br />ADO.Net<br />Windows Azure<br />Microsoft Data Center<br />TDS + TSQL<br />SQL Azure<br />App MetaData<br />Tenant Metadata<br />Org1<br />Org2<br />Org3<br />….<br />
    13. 13. Benefits of Using SQL Azure<br />Fully Azure hosted application – no infrastructure and management overhead for customer<br />SQL Azure offers familiar relational SQL capability – existing app easily ported<br />SQL Azure database can be easily provisioned per tenant with full isolation among them<br />Achieve high scalability<br />
    14. 14. Raheel Retiwalla<br />Clearway<br />GeoAnalyzer<br />partner <br />
    15. 15. Clearway – GeoAnalyzer<br />SSharePoint Online<br />About the application<br />A location intelligence product that helps businesses visually analyze geographic data and filter it in many different ways inside Virtual Earth and SharePoint Online.<br />Challenges with existing application<br />Applications hosted in SharePoint Online need a cloud based relational store<br />GeoAnalzyer currently uses SharePoint Online lists<br />Solution<br />Store geo-data in SQL Azure<br />Use SQL Azure to build data-hub that enables reporting and analysis within SharePoint Online<br />SharePoint Online List<br />GeoAnalyzer<br />SharePoint Online Solution Today<br />SSharePoint Online<br />SQL Azure<br />GeoAnalyzer<br />SharePoint Online Solution with SQL Azure<br />
    16. 16. Benefits of Using SQL Azure<br />SQL Azure provides database capability in the Cloud that enables LOB application to run in SharePoint Online<br />Easy integration between SQL Azure and SharePoint Online<br />SQL Azure offers familiar relational SQL capability<br />SQL Azure allows Clearway to extend our applications to be consumed via any form (desktop gadget, SharePoint On premise, SharePoint Online, Mobile device)<br />Allows Clearway to achieve fast time to market in getting our existing product portfolio to SharePoint Online <br />
    17. 17. Roadmap<br />CTP2<br />CTP1<br />Commercial Availability (V1)<br />InternalAdoption<br />Invitation only CTP in August<br />Commercial Availability with Windows Azure in 2009<br />PDC<br />MIX ‘09<br />WWPC<br />TechEd <br />Mar 09<br />May 09<br />Jul 09<br />Nov 09<br />Sep 09<br />Apr 09<br />Jun 09<br />Aug 09<br />Oct 09<br />Sign up for SQL Azure CTP!http://msdn.microsoft.com/en-us/sqlserver/dataservices/default.aspx<br />
    18. 18. Key Takeaways – Why Should You CareThree ways to change your business with Azure services<br />Benefits<br />Growing Revenue<br />Increase margins and find new sources of revenue <br />Recurring revenue streams<br />Increases segment reach<br />Reduces administration costs<br />Win New Business<br />Benefits<br />Deliver More Value<br />Leverage Your Existing Investment<br />Build SaaS applications quickly to satisfy new and changing market needs<br />Low cost of entry to market<br />Quick time to market<br />Focus on the core application, delivering more value with less<br />Take advantage of your existing knowledge and intellectual property<br />Benefits<br />Self-managed deployment<br />High Availability <br />Benefits<br />Supports existing SQL protocols<br />Tools support across on-premise and cloud<br />
    19. 19. SQL Azure Resources<br />Sign up for the Partner Quick start portal<br />Sign up for the upcoming SQL Azure CTP (August 2009) here<br />Get more information about SQL Azure here including the latest news, feature developments and Whitepapers.<br />FAQs here<br />Forums, blogs here<br />Visit MSDN site<br />Comprehensive Resource to help you get started <br />
    20. 20. Your Feedback is Very Important to Us<br />Submit your Session Evaluation Online and Win! www.digitalwpc.com/evals<br />Palm Treo Pro Windows Mobile Device!<br />Official Microsoft Gear: Bike Jerseys<br />$25 Conference Store gift certificate<br />Bing Backpacks <br />& Hats<br />Winners Every Hour!<br />Or submit NOW on your Mobile Device at: http://www.mspartnerconference.com<br />
    21. 21. © 2009 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.<br />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.<br />
    22. 22. Benefits of SQL Azure<br />Delivers the value of hosted relational database with the differentiated benefits of cloud service<br />Hosted RDBMS<br />Cloud Service<br /><ul><li>Familiar relational model
    23. 23. Support existing code libraries and protocols
    24. 24. Ecosystem of familiar development and management tools
    25. 25. Low-friction provisioning
    26. 26. High scale
    27. 27. Multi-tenant
    28. 28. Self-management
    29. 29. Automatic HA and DR</li></li></ul><li>Case Study – Exchange Hosted Archive<br />Exchange Hosted Archive (EHA) is high scale service<br />Runs on SQL Azure infrastructure<br />In production prior to SQL Azure v1<br />Rebuilt to address cost and scale issueshttp://www.microsoft.com/casestudies/Case_Study_Detail.aspx?CaseStudyID=4000003098<br />Reduced COGS with increased customerand business benefit:<br /><ul><li>Larger scale (e.g. larger customers ~20TB+ each)
    30. 30. More self-managing (e.g. fault-tolerance)
    31. 31. Better query performance for fan-out
    32. 32. Faster provisioning of new customers</li>

    ×