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