SlideShare a Scribd company logo
Introduction to SQL Azure
                              {GET DATE – 30/03/2010}
         {WHERE – Gdańsk, Restauracja ESTRAGON}
      {AUDIENCE TYPE – SQL Server 2008 R2 Launch}
{get: BIO}
    • związany z informatyką od dwunastu lat
    • kilkuletnie doświadczenie w informatyce bankowej *Zorba, AS/400, ICBS, BTeller+
    • od ponad czterech lat pracuje w dużej spółce informatycznej
    • na co dzieo interesujący się MOSS, Disaster Recovery, High Availibility, wirtualizacją,
    bezpieczeostwem fizycznym, tworzeniem procedur bezpieczeostwa, umowami SLA, ISO
    • konsultant i wdrożeniowiec przy projektach audytów licencyjnych, systemów
    procedur bezpieczeostwa i operacyjnych, wdrożeniach platformy SharePoint,
    • uczestnik kilku programów Microsoft: Connect, Community Leadership Programm,
    ITPro Momentum, VS2010 Terminology Community, Windows 7 Beta, Desktop
    Deployment Planning Service, New Efficiency Program, Subject Matter Expert
    • lider wrocławskiej grupy PLSSUG
    • prelegent na spotkaniach społeczności
    • Microsoft System Center Influencer
    • Członek Technical Support Team w GITCA (wcześniej Culminis) odpowiedzialny za
    rejon EMEA, APAC, NORAM, LATAM
    • Członek PASS programm Committee for 2010
    • autor kilku artykułów technicznych i współpracownik wydawnictwa aPress
    • właściciel kilku blogów (w tym dwóch specjalizowanych)

3
{get: CERT}
    Posiadane certyfikacje:
    •Microsoft Certified Professional
    •Microsoft Certified System Administrator
    •Microsoft Certified Technology Specialist
         •Windows 2008 Server Application Configuring
         •Windows 2008 Server Infrastructure Configuring
         •Windows 2008 server Active directory Configuring
    •Microsoft Certified IT Professional
         •Windows 2008 Server Administrator
    •Microsoft Licensing Specialist
    •Microsoft Lite Licensing Sales Specialist
    •Microsoft Small Business Specialist
    •Microsoft Office Sales Specialist 2003/2007
    •Avocent Technical Support
    •Novell System Administrator



4
Data Platform: Device to Cloud

                                 RDBMS
                         Protection      Mining      Sync    Reporting
                 Caching            Load
    Service          Analysis Query         Integration       Search
                                      Backup

            Model & policy based development and management

    Type         In     Multi     Relational   XML    File
               Memory   Dim         BLOB




    Place


5
Reporting      Business Analytics   Data Sync




• The Power of the SQL Data Platform in the cloud

• Leverages existing skills and rich tooling ecosystem

• Enables database applications with new, “cloud” capabilities
SQL Azure Database

                     Highly scaled out relational database as a service


                                                                              Relational database service
           Browser
                                                                    • SQL Server technology foundation
                                                                    • Highly symmetrical
 SOAP/REST         ADO.NET/REST - EDM
   HTTP/S               HTTP/S                                      • Highly scaled
                                                                    • Highly secure
           App Code
           (ASP.NET)
                                                                        Database “as a Service” – beyond hosting
                                         SQL Server Report Server
                   Windows Azure
                     Compute
                                              (on-premises)
                                                                                Customer Value Props
 T-SQL (TDS)           T-SQL (TDS)                                   Self-provisioning and capacity on demand
       SQL Azure                                                     Symmetry w/ on-premises database platform
       Database             MS                                       Automatic high-availability and fault-tolerance
                         Datacenter
                                                                     Automated DB maintenance (infrastructure)
                                                                     Simple, flexible pricing – “pay as you grow”
                           - AD Federation (LiveId /AppFabric AC)
Database Choices
                                                                                               •   Value Props:
                                                                                               •
                                                      Value Props:
                                                                                               •
                                                      •
                                                      Roll-your-own HA/DR/scale                •

Dedicated
                                                                                  On-premise
                                                                                  •
                   Value Props:
                                                                                  •
      Resources




                   •
                                                                                  •
                   •
                   •
                   •                                                 Hosted
                                                                     •
                                  SQL Azure (RDBMS)                  •
                             •                                       •
                             •
                             •

    Shared

                       Low                             “Friction”/Control                           High



                  SQL Azure V1 targets scenarios that live in the lower left quadrant


8
Scenarios for V1

     • Departmental Applications
      ‒ Simple application built by individual or department
      ‒ Need simple deployment, self-management, IT: “Empowerment and
        Governance”
     • Web Applications
      ‒ Small business or startup that uses the cloud as their IT
      ‒ Simple deployment, self-management, scale on demand
     • ISV
      ‒ ISV hosting software on behalf of customer
      ‒ Multi-tenant support for billing and isolation
     • Data Hub (Shortly After V1)
      ‒ Sharing and aggregating of data across tiers and across enterprises
      ‒ Centralized place for data, high scale, sync with existing data sources


9
V1 Application Topologies

      SQL Azure access from within MS Datacenter        SQL Azure access from outside MS Datacenter
             (Azure compute – ADO.NET)                           (On-premises – ADO.NET)

                   Application/
                    Browser                                                 App Code
                                                                             / Tools



              SOAP/REST   ADO.NET Data Svcs/REST - EF
                HTTP/S             HTTP/S


                    App Code
                    (ASP.NET)

                                Windows Azure
                                                                    T-SQL (TDS)
            T-SQL (TDS)


                                                                            SQL Data
                    SQL Data              MS                                Services      MS
                    Services           Datacenter                                      Datacenter


                 Code Near                                                Code Far

10
Service Provisioning Model

                    • Each account has zero or more servers
         Account       ‒ Azure wide, provisioned in a common portal
                       ‒ Billing instrument
                    • Each server has one or more databases
                       ‒   Contains metadata about the databases and usage
                       ‒   Unit of authentication
         Server        ‒   Unit of Geo-location
                       ‒   Generated DNS based name
                    • Each database has standard SQL objects
                       ‒   Unit of consistency
                       ‒   Unit of multi-tenancy
         Database      ‒   Contains Users, Tables, Views, Indices, etc.
                       ‒   Most granular unit of billing




11
Architecture

     • Shared infrastructure at SQL database and below
            ‒ Request routing, security and isolation
     • Scalable HA technology provides the glue
            ‒ Automatic replication and failover
     • Provisioning, metering and billing infrastructure

                     SDS Provisioning (databases, accounts, roles, …, Metering, and Billing

              Machine 4                                  Machine 5                                 Machine 6
             SQL Instance                               SQL Instance                               SQL Instance
                 SQL DB                                     SQL DB                                   SQL DB
     User     User      User   User              User    User    User   User              User    User      User   User
     DB1      DB2       DB3    DB4               DB1     DB2     DB3    DB4               DB1     DB2       DB3    DB4




              Scalability and Availability: Fabric, Failover, Replication, and Load balancing
                                       Scalability and Availability: Fabric, Failover, Replication, and Load balancing



12
SQL Azure
     Deployment

              Web Portal
                (API)




      DB
     Script
                           SQL Azure
                             TDS




13
SQL Azure
     Accessing databases

              Web Portal
                (API)




       Your                SQL Azure
       App                   TDS




Change Connection String


14
Database Replicas



                              Replica 1




                              Replica 2
                         DB


                              Replica 3




15
Shared Environment



                                                         C
                             D
         A              B         D

         Hardware Boundary       Hardware Boundary




             C                            C
                                 A                   B
         A              B             D

         Hardware Boundary       Hardware Boundary



16
SQL Azure
     Database Monitoring & Recovery


               Web
              Portal
              (API)




       Your
       App
                               !
                       SQL Azure
                         TDS




17
Programming Model

• Small Data Sets
   ‒ Use a single database
   ‒ Same model as on premise SQL Server
• Large Data Sets and/or Massive Throughput
   ‒ Partition data across many databases
   ‒ Use parallel fan-out queries to fetch the data
   ‒ Application code must be partition aware in v1
      ‐ For v1 will publish best practices for scale out
      ‐ Post-v1 we are looking at building an abstraction to hide some of
        the complexities of partitioning
Sharding Databases

      • 1 x 10GB database
        ‒ 1 Instances
      • 10 x 1GB databases
        ‒ 10 Instances




19
SQL Azure for ITPros
Compatibility Goals


     • Support common application patterns
     • Logical/policy based administration
     • Patterns work from SQL Server to SQL Azure
     • Multi-tenancy considerations
        ‒ Throttling and load balancing
        ‒ Limits on DB size, transaction duration, …




           V1: Address the needs of the majority of web and
                       departmental application


21
Sample of SQL Compatibility

     In Scope for v1               Out of Scope for v1
     • Tables, indexes and views   • Distributed Transactions
     • Stored Procedures           • Distributed Query
     • Triggers                    • CLR
     • Constraints                 • Service Broker
     • Table variables,            • Spatial
       session temp tables (#t)    • Physical server or catalog DDL
     • …                             and views




22
Connection Model

     • Use existing client libraries
        ‒ ADO.NET, ODBC, PHP
     • Client libraries pre-installed in Azure roles
     • Support for ASP.NET controls
     • Clients connect directly to a database
        ‒ Cannot hop across DBs (no USE)




23
Logical vs. Physical Administration

     • SQL Azure focus on logical administration
        ‒ Schema creation and management
        ‒ Query optimization
        ‒ Security management (Logins, Users, Roles)
     • Service handles physical management
        ‒ Automatically replicated with HA “out of box”
        ‒ Transparent failover in case of failure
        ‒ Load balancing of data to ensure SLA




         DBA role places more focus on logical management

24
Deployment

     • Support for basic deployment options
          ‒ SQL scripts work (but not attach database)
     • Geo-location of Windows Azure compute and SQL Azure
         Databases
     •   Support for Application and multi-server management
         model
          ‒ Support for application packages
          ‒ Cloud or on-premise is a deployment time choice
          ‒ Visibility of data across on-premise and the cloud




              Support existing and new forms of deployment


25
Security Model

     • Uses regular SQL security model
        ‒ Authenticate logins, map to users and roles
        ‒ Authorize users and roles to SQL objects
     • Support for standard SQL Auth logins
        ‒ Username + password
     • Future AD Federation, WLID, etc as alternate authentication
      protocols




       Security model is 100% compatible with on-premise SQL

26
Pricing

          Web Edition                    Business Edition
          • 1 GB Database                • 10GB Database
          • $9.99 / month                • $99.99 / month
          • Bandwidth                    • Bandwidth
            ‒$0.10 /GB inbound             ‒$0.10 /GB inbound
            ‒$0.15 /GB outbound            ‒$0.15 /GB outbound




     • Specified by MAXSIZE on CREATE DATABASE command or portal
     • Billing granularity is the day
     • Monthly billing period


27
Platform Readiness (EHA)


     • Exchange Hosted Archive (EHA) is high scale archival service
     • Runs on SQL Azure infrastructure
        ‒ In production prior to SQL Azure v1
     • Rebuilt to address cost and scale issues
      http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?CaseStudyID=4000003098




             Reduced COGS with increased customer and business benefit:
         Larger scale (e.g. larger customers ~20TB+ each)    Better query performance for fan-out
         More self-managing (e.g. fault-tolerance)           Faster provisioning of new customers


28
SQL Azure
     Opportunities and Futures

     • Partitioned databases
     • Geo-location and geo-redundancy
     • Distributed query
     • Security w/AD, WLID, etc
     • Support for multiple levels of hardware and software
      isolation




29
PDC 2009                    1/1/2010          2/1/2010
                    Ready for Go-Live             Start Billing   End Free Period




                     •   South Central USA
       Global        •   North Central USA (Dec-2009)
     Availability    •   Southeast Asia
                     •   North Europe




      Service
      Update




30
Key Takeaways

• SQL Azure available now

• Integrated part of the SQL Data Platform

• Leverage you existing SQL Server knowledge and tools

• SQL Azure is the data platform of the Windows Azure Platform
Want to Know More?

     • Windows Azure Platform
      http://www.azure.com/


     • MSDN Development Center
      http://msdn.microsoft.com/en-us/sqlserver/dataservices


     • Team Blog
      http://blogs.msdn.com/sqlazure


     • Windows Azure Platform Training Kit
      http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966-
      4A83-B309-53B7B77EDF78&displaylang=en




32
www.sqlpass.org


                                                                www.sqlpass.org/PASSChapters


www.sqlpass.org/getchapterinfo



                                                                  www.sqlpass.org/na2010




 Follow / Join us online: Twitter @sqlpass #sqlpass, LinkedIn group, Facebook group
Dziękuję za uwagę, proszę o ocenę mojej sesji
                             PYTANIA PO SESJI / KONTAKT:
       MAIL: KoprowskiT@windowslive.com | MSG: KoprowskiT@windowslive.com
     JABBER: KoprowskiT@alfa.incenti.net.pl | SKYPE: tjkoprowski (niezmiernie rzadko)
                      TWITTER/FACEBOOK/LINKEDIN: KoprowskiT

                                            BLOGI:
    ITPRO Anorak’s Vision: http://itblogs.pl/blogs/notbeautifulanymore/default.aspx [PL]
     Volume Licensing Specialites: http://volumelicensingspecialites.wordpress.com [PL]
         Anorak’s Influence View: http://anorakinfluenceview.wordpress.com [EN]

                                           STRONY:
        Społeczności IT: http://www.ms-groups.pl | CodeGuru: http://www.codeguru.pl
Virtual Study Portal: http://www.virtualstudy.pl | Windows Server System: http://www.wss.pl
                    Global IT Community Association: http://www.gitca.org
                    Polish SQL Server User Group: http://www.plssug.org.pl
© 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.
     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.




35

More Related Content

What's hot (20)

PDF
KoprowskiT_SQLRelay2014#8_Birmingham_FromPlanToBackupToCloud
Tobias Koprowski
 
PDF
KoprowskiT_SQLAzureLandingInBelfast
Tobias Koprowski
 
PDF
Dr and ha solutions with sql server azure
MSDEVMTL
 
PDF
KoprowskiT_SQLRelay2014#1_Reading_FromPlanToBackupToCloud
Tobias Koprowski
 
PPTX
Windows 7 Feature Overview It Academic Day 2009
Tobias Koprowski
 
PPTX
LVOUG meetup #2 - Forcing SQL Execution Plan Instability
Maris Elsins
 
PDF
Database as a Service on the Oracle Database Appliance Platform
Maris Elsins
 
PPTX
Keep your environment always on with sql server 2016 sql bits 2017
Bob Ward
 
PPTX
AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...
Michael Noel
 
PDF
KoprowskiT_it_camp2013 - 2amADisasterJustBegan
Tobias Koprowski
 
PDF
KoprowskiT_SQLSatMoscow_2AMaDisaterJustBegan
Tobias Koprowski
 
PDF
Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...
Leighton Nelson
 
PDF
Running E-Business Suite Database on Oracle Database Appliance
Maris Elsins
 
PDF
Delivering Pluggable Database as a Service
Pete Sharman
 
PDF
What is Trove, the Database as a Service on OpenStack?
OpenStack_Online
 
PDF
SQL Server Clustering for Dummies
Mark Broadbent
 
PPTX
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
BT Akademi
 
PPTX
SQL Server High Availability and Disaster Recovery
Michael Poremba
 
PPTX
Brk2051 sql server on linux and docker
Bob Ward
 
PDF
Výhody a benefity nasazení Oracle Database Appliance
MarketingArrowECS_CZ
 
KoprowskiT_SQLRelay2014#8_Birmingham_FromPlanToBackupToCloud
Tobias Koprowski
 
KoprowskiT_SQLAzureLandingInBelfast
Tobias Koprowski
 
Dr and ha solutions with sql server azure
MSDEVMTL
 
KoprowskiT_SQLRelay2014#1_Reading_FromPlanToBackupToCloud
Tobias Koprowski
 
Windows 7 Feature Overview It Academic Day 2009
Tobias Koprowski
 
LVOUG meetup #2 - Forcing SQL Execution Plan Instability
Maris Elsins
 
Database as a Service on the Oracle Database Appliance Platform
Maris Elsins
 
Keep your environment always on with sql server 2016 sql bits 2017
Bob Ward
 
AUDWC 2016 - Using SQL Server 20146 AlwaysOn Availability Groups for SharePoi...
Michael Noel
 
KoprowskiT_it_camp2013 - 2amADisasterJustBegan
Tobias Koprowski
 
KoprowskiT_SQLSatMoscow_2AMaDisaterJustBegan
Tobias Koprowski
 
Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...
Leighton Nelson
 
Running E-Business Suite Database on Oracle Database Appliance
Maris Elsins
 
Delivering Pluggable Database as a Service
Pete Sharman
 
What is Trove, the Database as a Service on OpenStack?
OpenStack_Online
 
SQL Server Clustering for Dummies
Mark Broadbent
 
SQL Server 2014 New Features (Sql Server 2014 Yenilikleri)
BT Akademi
 
SQL Server High Availability and Disaster Recovery
Michael Poremba
 
Brk2051 sql server on linux and docker
Bob Ward
 
Výhody a benefity nasazení Oracle Database Appliance
MarketingArrowECS_CZ
 

Similar to SQL Azure for ITPros (20)

PPTX
SQLUG event: An evening in the cloud: the old, the new and the big
Mike Martin
 
PPTX
Building applications using sql azure
pedrojcj
 
PPTX
SQL Azure Federation and Scalability
Eduardo Castro
 
PDF
Choosing Your Windows Azure Platform Strategy
drmarcustillett
 
PDF
Microsoft PaaS Cloud Windows Azure Platform
Esri
 
PPTX
Sql azure introduction
Suherman .
 
PPTX
Patterns of Cloud Applications Using Microsoft Azure Services Platform
David Chou
 
PPTX
The Hybrid Windows Azure Application
Michael Collier
 
PPTX
Sql azure data services OData
Eduardo Castro
 
PPTX
SQL Data Service Overview
Eric Nelson
 
PDF
In De Wolken Met Cloud Computing
Anko Duizer
 
PDF
Windows Azure For Architects
Anko Duizer
 
PPTX
Windows Azure Üzerinden Alınabilecek Hizmetler
MSHOWTO Bilisim Toplulugu
 
PPTX
Windows Azure Uzerinden Alinabilen Hizmetler
Mustafa
 
PDF
Windows Sql Azure Cloud Computing Platform
Eduardo Castro
 
PPTX
Introduction to Windows Azure and Windows Azure SQL Database
Vikas Sahni
 
PPTX
Azure Services Platform
David Chou
 
PDF
The Modern Web Part 4: Cloud Computing
David Pallmann
 
PDF
MS TechDays 2011 - Cloud Computing with the Windows Azure Platform
Spiffy
 
PDF
Understanding the Windows Azure platform - june
DavidGristwood
 
SQLUG event: An evening in the cloud: the old, the new and the big
Mike Martin
 
Building applications using sql azure
pedrojcj
 
SQL Azure Federation and Scalability
Eduardo Castro
 
Choosing Your Windows Azure Platform Strategy
drmarcustillett
 
Microsoft PaaS Cloud Windows Azure Platform
Esri
 
Sql azure introduction
Suherman .
 
Patterns of Cloud Applications Using Microsoft Azure Services Platform
David Chou
 
The Hybrid Windows Azure Application
Michael Collier
 
Sql azure data services OData
Eduardo Castro
 
SQL Data Service Overview
Eric Nelson
 
In De Wolken Met Cloud Computing
Anko Duizer
 
Windows Azure For Architects
Anko Duizer
 
Windows Azure Üzerinden Alınabilecek Hizmetler
MSHOWTO Bilisim Toplulugu
 
Windows Azure Uzerinden Alinabilen Hizmetler
Mustafa
 
Windows Sql Azure Cloud Computing Platform
Eduardo Castro
 
Introduction to Windows Azure and Windows Azure SQL Database
Vikas Sahni
 
Azure Services Platform
David Chou
 
The Modern Web Part 4: Cloud Computing
David Pallmann
 
MS TechDays 2011 - Cloud Computing with the Windows Azure Platform
Spiffy
 
Understanding the Windows Azure platform - june
DavidGristwood
 
Ad

More from Tobias Koprowski (20)

PDF
KoprowskiT_2AMaDisasterJustBeganAD2018
Tobias Koprowski
 
PDF
DataMindsConnect2018_SECDEVOPS
Tobias Koprowski
 
PDF
KoprowskiT_SQLDay2016_2AMaDisasterJustBegan
Tobias Koprowski
 
PDF
KoprowskiT-Difinify2017-SQL_ServerBackup_In_The_Cloud
Tobias Koprowski
 
PDF
KoprowskiT-Difinify2017-SQL_Security_In_The_Cloud
Tobias Koprowski
 
PDF
KoprowskiT_SQLSatMoscow_WASDforBeginners
Tobias Koprowski
 
PDF
KoprowskiT_SQLRelayBirmingham_SQLSecurityInTheClouds
Tobias Koprowski
 
PDF
KoprowskiT_SQLRelayCaerdydd_SQLSecurityInTheClouds
Tobias Koprowski
 
PDF
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015
Tobias Koprowski
 
PDF
KoprowskiT_SBIPTI_Keynote
Tobias Koprowski
 
PDF
KoprowskiT_SQLSatHolland_SQLServerSecurityInTheCloud
Tobias Koprowski
 
PDF
KoprowskiT_SQLSatDenmark_WASDforBeginners
Tobias Koprowski
 
PDF
KoprowskiT_session1_SDNEvent_WASDforBeginners
Tobias Koprowski
 
PDF
KoprowskiT_SQLSaturdayManchester_2AMaDisasterJustbegan
Tobias Koprowski
 
PDF
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
Tobias Koprowski
 
PDF
KoprowskiT_SPBizConf_2AMaDisasterJustBegan
Tobias Koprowski
 
PDF
KoprowskiT_InfoTRAMS_TrustThePrimer
Tobias Koprowski
 
PDF
KoprowskiT_SQLSat419_WADBforBeginners
Tobias Koprowski
 
PDF
KoprowskiT_SQLSat409_MaintenancePlansForBeginners
Tobias Koprowski
 
PDF
KoprowskiT_ESRM_TrustThePrimer
Tobias Koprowski
 
KoprowskiT_2AMaDisasterJustBeganAD2018
Tobias Koprowski
 
DataMindsConnect2018_SECDEVOPS
Tobias Koprowski
 
KoprowskiT_SQLDay2016_2AMaDisasterJustBegan
Tobias Koprowski
 
KoprowskiT-Difinify2017-SQL_ServerBackup_In_The_Cloud
Tobias Koprowski
 
KoprowskiT-Difinify2017-SQL_Security_In_The_Cloud
Tobias Koprowski
 
KoprowskiT_SQLSatMoscow_WASDforBeginners
Tobias Koprowski
 
KoprowskiT_SQLRelayBirmingham_SQLSecurityInTheClouds
Tobias Koprowski
 
KoprowskiT_SQLRelayCaerdydd_SQLSecurityInTheClouds
Tobias Koprowski
 
KoprowskiT_SQLRelayNottingham_BackupAndRestoreAD2015
Tobias Koprowski
 
KoprowskiT_SBIPTI_Keynote
Tobias Koprowski
 
KoprowskiT_SQLSatHolland_SQLServerSecurityInTheCloud
Tobias Koprowski
 
KoprowskiT_SQLSatDenmark_WASDforBeginners
Tobias Koprowski
 
KoprowskiT_session1_SDNEvent_WASDforBeginners
Tobias Koprowski
 
KoprowskiT_SQLSaturdayManchester_2AMaDisasterJustbegan
Tobias Koprowski
 
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
Tobias Koprowski
 
KoprowskiT_SPBizConf_2AMaDisasterJustBegan
Tobias Koprowski
 
KoprowskiT_InfoTRAMS_TrustThePrimer
Tobias Koprowski
 
KoprowskiT_SQLSat419_WADBforBeginners
Tobias Koprowski
 
KoprowskiT_SQLSat409_MaintenancePlansForBeginners
Tobias Koprowski
 
KoprowskiT_ESRM_TrustThePrimer
Tobias Koprowski
 
Ad

SQL Azure for ITPros

  • 1. Introduction to SQL Azure {GET DATE – 30/03/2010} {WHERE – Gdańsk, Restauracja ESTRAGON} {AUDIENCE TYPE – SQL Server 2008 R2 Launch}
  • 2. {get: BIO} • związany z informatyką od dwunastu lat • kilkuletnie doświadczenie w informatyce bankowej *Zorba, AS/400, ICBS, BTeller+ • od ponad czterech lat pracuje w dużej spółce informatycznej • na co dzieo interesujący się MOSS, Disaster Recovery, High Availibility, wirtualizacją, bezpieczeostwem fizycznym, tworzeniem procedur bezpieczeostwa, umowami SLA, ISO • konsultant i wdrożeniowiec przy projektach audytów licencyjnych, systemów procedur bezpieczeostwa i operacyjnych, wdrożeniach platformy SharePoint, • uczestnik kilku programów Microsoft: Connect, Community Leadership Programm, ITPro Momentum, VS2010 Terminology Community, Windows 7 Beta, Desktop Deployment Planning Service, New Efficiency Program, Subject Matter Expert • lider wrocławskiej grupy PLSSUG • prelegent na spotkaniach społeczności • Microsoft System Center Influencer • Członek Technical Support Team w GITCA (wcześniej Culminis) odpowiedzialny za rejon EMEA, APAC, NORAM, LATAM • Członek PASS programm Committee for 2010 • autor kilku artykułów technicznych i współpracownik wydawnictwa aPress • właściciel kilku blogów (w tym dwóch specjalizowanych) 3
  • 3. {get: CERT} Posiadane certyfikacje: •Microsoft Certified Professional •Microsoft Certified System Administrator •Microsoft Certified Technology Specialist •Windows 2008 Server Application Configuring •Windows 2008 Server Infrastructure Configuring •Windows 2008 server Active directory Configuring •Microsoft Certified IT Professional •Windows 2008 Server Administrator •Microsoft Licensing Specialist •Microsoft Lite Licensing Sales Specialist •Microsoft Small Business Specialist •Microsoft Office Sales Specialist 2003/2007 •Avocent Technical Support •Novell System Administrator 4
  • 4. Data Platform: Device to Cloud RDBMS Protection Mining Sync Reporting Caching Load Service Analysis Query Integration Search Backup Model & policy based development and management Type In Multi Relational XML File Memory Dim BLOB Place 5
  • 5. Reporting Business Analytics Data Sync • The Power of the SQL Data Platform in the cloud • Leverages existing skills and rich tooling ecosystem • Enables database applications with new, “cloud” capabilities
  • 6. SQL Azure Database Highly scaled out relational database as a service Relational database service Browser • SQL Server technology foundation • Highly symmetrical SOAP/REST ADO.NET/REST - EDM HTTP/S HTTP/S • Highly scaled • Highly secure App Code (ASP.NET) Database “as a Service” – beyond hosting SQL Server Report Server Windows Azure Compute (on-premises) Customer Value Props T-SQL (TDS) T-SQL (TDS)  Self-provisioning and capacity on demand SQL Azure  Symmetry w/ on-premises database platform Database MS  Automatic high-availability and fault-tolerance Datacenter  Automated DB maintenance (infrastructure)  Simple, flexible pricing – “pay as you grow” - AD Federation (LiveId /AppFabric AC)
  • 7. Database Choices • Value Props: • Value Props: • • Roll-your-own HA/DR/scale • Dedicated On-premise • Value Props: • Resources • • • • • Hosted • SQL Azure (RDBMS) • • • • • Shared Low “Friction”/Control High SQL Azure V1 targets scenarios that live in the lower left quadrant 8
  • 8. Scenarios for V1 • Departmental Applications ‒ Simple application built by individual or department ‒ Need simple deployment, self-management, IT: “Empowerment and Governance” • Web Applications ‒ Small business or startup that uses the cloud as their IT ‒ Simple deployment, self-management, scale on demand • ISV ‒ ISV hosting software on behalf of customer ‒ Multi-tenant support for billing and isolation • Data Hub (Shortly After V1) ‒ Sharing and aggregating of data across tiers and across enterprises ‒ Centralized place for data, high scale, sync with existing data sources 9
  • 9. V1 Application Topologies SQL Azure access from within MS Datacenter SQL Azure access from outside MS Datacenter (Azure compute – ADO.NET) (On-premises – ADO.NET) Application/ Browser App Code / Tools SOAP/REST ADO.NET Data Svcs/REST - EF HTTP/S HTTP/S App Code (ASP.NET) Windows Azure T-SQL (TDS) T-SQL (TDS) SQL Data SQL Data MS Services MS Services Datacenter Datacenter Code Near Code Far 10
  • 10. Service Provisioning Model • Each account has zero or more servers Account ‒ Azure wide, provisioned in a common portal ‒ Billing instrument • Each server has one or more databases ‒ Contains metadata about the databases and usage ‒ Unit of authentication Server ‒ Unit of Geo-location ‒ Generated DNS based name • Each database has standard SQL objects ‒ Unit of consistency ‒ Unit of multi-tenancy Database ‒ Contains Users, Tables, Views, Indices, etc. ‒ Most granular unit of billing 11
  • 11. Architecture • Shared infrastructure at SQL database and below ‒ Request routing, security and isolation • Scalable HA technology provides the glue ‒ Automatic replication and failover • Provisioning, metering and billing infrastructure SDS Provisioning (databases, accounts, roles, …, Metering, and Billing Machine 4 Machine 5 Machine 6 SQL Instance SQL Instance SQL Instance SQL DB SQL DB SQL DB User User User User User User User User User User User User DB1 DB2 DB3 DB4 DB1 DB2 DB3 DB4 DB1 DB2 DB3 DB4 Scalability and Availability: Fabric, Failover, Replication, and Load balancing Scalability and Availability: Fabric, Failover, Replication, and Load balancing 12
  • 12. SQL Azure Deployment Web Portal (API) DB Script SQL Azure TDS 13
  • 13. SQL Azure Accessing databases Web Portal (API) Your SQL Azure App TDS Change Connection String 14
  • 14. Database Replicas Replica 1 Replica 2 DB Replica 3 15
  • 15. Shared Environment C D A B D Hardware Boundary Hardware Boundary C C A B A B D Hardware Boundary Hardware Boundary 16
  • 16. SQL Azure Database Monitoring & Recovery Web Portal (API) Your App ! SQL Azure TDS 17
  • 17. Programming Model • Small Data Sets ‒ Use a single database ‒ Same model as on premise SQL Server • Large Data Sets and/or Massive Throughput ‒ Partition data across many databases ‒ Use parallel fan-out queries to fetch the data ‒ Application code must be partition aware in v1 ‐ For v1 will publish best practices for scale out ‐ Post-v1 we are looking at building an abstraction to hide some of the complexities of partitioning
  • 18. Sharding Databases • 1 x 10GB database ‒ 1 Instances • 10 x 1GB databases ‒ 10 Instances 19
  • 20. Compatibility Goals • Support common application patterns • Logical/policy based administration • Patterns work from SQL Server to SQL Azure • Multi-tenancy considerations ‒ Throttling and load balancing ‒ Limits on DB size, transaction duration, … V1: Address the needs of the majority of web and departmental application 21
  • 21. Sample of SQL Compatibility In Scope for v1 Out of Scope for v1 • Tables, indexes and views • Distributed Transactions • Stored Procedures • Distributed Query • Triggers • CLR • Constraints • Service Broker • Table variables, • Spatial session temp tables (#t) • Physical server or catalog DDL • … and views 22
  • 22. Connection Model • Use existing client libraries ‒ ADO.NET, ODBC, PHP • Client libraries pre-installed in Azure roles • Support for ASP.NET controls • Clients connect directly to a database ‒ Cannot hop across DBs (no USE) 23
  • 23. Logical vs. Physical Administration • SQL Azure focus on logical administration ‒ Schema creation and management ‒ Query optimization ‒ Security management (Logins, Users, Roles) • Service handles physical management ‒ Automatically replicated with HA “out of box” ‒ Transparent failover in case of failure ‒ Load balancing of data to ensure SLA DBA role places more focus on logical management 24
  • 24. Deployment • Support for basic deployment options ‒ SQL scripts work (but not attach database) • Geo-location of Windows Azure compute and SQL Azure Databases • Support for Application and multi-server management model ‒ Support for application packages ‒ Cloud or on-premise is a deployment time choice ‒ Visibility of data across on-premise and the cloud Support existing and new forms of deployment 25
  • 25. Security Model • Uses regular SQL security model ‒ Authenticate logins, map to users and roles ‒ Authorize users and roles to SQL objects • Support for standard SQL Auth logins ‒ Username + password • Future AD Federation, WLID, etc as alternate authentication protocols Security model is 100% compatible with on-premise SQL 26
  • 26. Pricing Web Edition Business Edition • 1 GB Database • 10GB Database • $9.99 / month • $99.99 / month • Bandwidth • Bandwidth ‒$0.10 /GB inbound ‒$0.10 /GB inbound ‒$0.15 /GB outbound ‒$0.15 /GB outbound • Specified by MAXSIZE on CREATE DATABASE command or portal • Billing granularity is the day • Monthly billing period 27
  • 27. Platform Readiness (EHA) • Exchange Hosted Archive (EHA) is high scale archival service • Runs on SQL Azure infrastructure ‒ In production prior to SQL Azure v1 • Rebuilt to address cost and scale issues http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?CaseStudyID=4000003098 Reduced COGS with increased customer and business benefit:  Larger scale (e.g. larger customers ~20TB+ each)  Better query performance for fan-out  More self-managing (e.g. fault-tolerance)  Faster provisioning of new customers 28
  • 28. SQL Azure Opportunities and Futures • Partitioned databases • Geo-location and geo-redundancy • Distributed query • Security w/AD, WLID, etc • Support for multiple levels of hardware and software isolation 29
  • 29. PDC 2009 1/1/2010 2/1/2010 Ready for Go-Live Start Billing End Free Period • South Central USA Global • North Central USA (Dec-2009) Availability • Southeast Asia • North Europe Service Update 30
  • 30. Key Takeaways • SQL Azure available now • Integrated part of the SQL Data Platform • Leverage you existing SQL Server knowledge and tools • SQL Azure is the data platform of the Windows Azure Platform
  • 31. Want to Know More? • Windows Azure Platform http://www.azure.com/ • MSDN Development Center http://msdn.microsoft.com/en-us/sqlserver/dataservices • Team Blog http://blogs.msdn.com/sqlazure • Windows Azure Platform Training Kit http://www.microsoft.com/downloads/details.aspx?FamilyID=413E88F8-5966- 4A83-B309-53B7B77EDF78&displaylang=en 32
  • 32. www.sqlpass.org www.sqlpass.org/PASSChapters www.sqlpass.org/getchapterinfo www.sqlpass.org/na2010 Follow / Join us online: Twitter @sqlpass #sqlpass, LinkedIn group, Facebook group
  • 33. Dziękuję za uwagę, proszę o ocenę mojej sesji PYTANIA PO SESJI / KONTAKT: MAIL: [email protected] | MSG: [email protected] JABBER: [email protected] | SKYPE: tjkoprowski (niezmiernie rzadko) TWITTER/FACEBOOK/LINKEDIN: KoprowskiT BLOGI: ITPRO Anorak’s Vision: http://itblogs.pl/blogs/notbeautifulanymore/default.aspx [PL] Volume Licensing Specialites: http://volumelicensingspecialites.wordpress.com [PL] Anorak’s Influence View: http://anorakinfluenceview.wordpress.com [EN] STRONY: Społeczności IT: http://www.ms-groups.pl | CodeGuru: http://www.codeguru.pl Virtual Study Portal: http://www.virtualstudy.pl | Windows Server System: http://www.wss.pl Global IT Community Association: http://www.gitca.org Polish SQL Server User Group: http://www.plssug.org.pl
  • 34. © 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. 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. 35