sql azure for itpros

34
Introduction to SQL Azure {GET DATE 30/03/2010} {WHERE Gdańsk , Restauracja ESTRAGON} {AUDIENCE TYPE SQL Server 2008 R2 Launch}

Upload: tobiasz-koprowski

Post on 29-Nov-2014

1.321 views

Category:

Documents


0 download

DESCRIPTION

Presentation from SQL Server 2008 R2 Community Launch.

TRANSCRIPT

Page 1: SQL Azure for ITPros

Introduction to SQL Azure

{GET DATE – 30/03/2010} {WHERE – Gdańsk, Restauracja ESTRAGON}

{AUDIENCE TYPE – SQL Server 2008 R2 Launch}

Page 2: SQL Azure for ITPros

3

{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)

Page 3: SQL Azure for ITPros

4

{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

Page 4: SQL Azure for ITPros

5

Place

Type

Service

Data Platform: Device to Cloud

Analysis Caching

Integration

Sync

Search

Relational BLOB

Query Backup

Load

Multi Dim

In Memory File XML

Reporting Mining Protection

RDBMS

Model & policy based development and management

Page 5: SQL Azure for ITPros

Business Analytics Reporting 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

Page 6: SQL Azure for ITPros

SQL Azure Database

Customer Value Props

Self-provisioning and capacity on demand

Symmetry w/ on-premises database platform

Automatic high-availability and fault-tolerance

Automated DB maintenance (infrastructure)

Simple, flexible pricing – “pay as you grow”

MS Datacenter

Windows Azure Compute

Browser

SOAP/REST HTTP/S

T-SQL (TDS)

App Code (ASP.NET)

SQL Server Report Server (on-premises)

ADO.NET/REST - EDM HTTP/S

- AD Federation (LiveId /AppFabric AC)

SQL Azure Database

T-SQL (TDS)

Relational database service

• SQL Server technology foundation

• Highly symmetrical

• Highly scaled

• Highly secure

Database “as a Service” – beyond hosting

Highly scaled out relational database as a service

Page 7: SQL Azure for ITPros

8

Database Choices R

eso

urc

es

Dedicated

Shared

Low High “Friction”/Control

SQL Azure (RDBMS)

Value Props:

Hosted

On-premise

• Value Props:

Value Props:

Roll-your-own HA/DR/scale

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

Page 8: SQL Azure for ITPros

9

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

Page 9: SQL Azure for ITPros

10

V1 Application Topologies

MS Datacenter

SOAP/REST HTTP/S

SQL Azure access from within MS Datacenter

(Azure compute – ADO.NET)

Windows Azure

T-SQL (TDS)

MS Datacenter

T-SQL (TDS)

App Code

/ Tools

SQL Azure access from outside MS Datacenter

(On-premises – ADO.NET)

App Code (ASP.NET)

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

Code Far

SQL Data

Services

SQL Data

Services

Application/

Browser

Code Near

Page 10: SQL Azure for ITPros

11

Service Provisioning Model

• Each account has zero or more servers ‒ 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

‒ Unit of Geo-location

‒ Generated DNS based name

• Each database has standard SQL objects ‒ Unit of consistency

‒ Unit of multi-tenancy

‒ Contains Users, Tables, Views, Indices, etc.

‒ Most granular unit of billing

Account

Server

Database

Page 11: SQL Azure for ITPros

12

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

Machine 5 SQL Instance

SQL DB User DB1

User DB2

User DB3

User DB4

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

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

Machine 6

SQL Instance

SQL DB User DB1

User DB2

User DB3

User DB4

Machine 4

SQL Instance

SQL DB User DB1

User DB2

User DB3

User DB4

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

Page 12: SQL Azure for ITPros

13

SQL Azure Deployment

Web Portal

(API)

SQL Azure

TDS

DB

Script

Page 13: SQL Azure for ITPros

14

SQL Azure Accessing databases

Web Portal

(API)

SQL Azure

TDS

Your

App

Change Connection String

Page 14: SQL Azure for ITPros

15

Database Replicas

Replica 1

Replica 2

Replica 3

DB

Page 15: SQL Azure for ITPros

16

Hardware Boundary

Hardware Boundary

Hardware Boundary

Hardware Boundary

Shared Environment

B C

D

A A

B

B

C

C

D

D

A

Page 16: SQL Azure for ITPros

17

SQL Azure Database Monitoring & Recovery

Web

Portal

(API)

SQL Azure

TDS

Your

App !

Page 17: SQL Azure for ITPros

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

Page 18: SQL Azure for ITPros

19

Sharding Databases

• 1 x 10GB database ‒ 1 Instances

• 10 x 1GB databases ‒ 10 Instances

Page 19: SQL Azure for ITPros
Page 20: SQL Azure for ITPros

21

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

Page 21: SQL Azure for ITPros

22

Sample of SQL Compatibility

In Scope for v1 • Tables, indexes and views

• Stored Procedures

• Triggers

• Constraints

• Table variables, session temp tables (#t)

• …

Out of Scope for v1 • Distributed Transactions

• Distributed Query

• CLR

• Service Broker

• Spatial

• Physical server or catalog DDL and views

Page 22: SQL Azure for ITPros

23

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)

Page 23: SQL Azure for ITPros

24

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

Page 24: SQL Azure for ITPros

25

Deployment

Support existing and new forms of 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

Page 25: SQL Azure for ITPros

26

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

Page 26: SQL Azure for ITPros

27

Pricing

Web Edition

• 1 GB Database

• $9.99 / month

• Bandwidth ‒$0.10 /GB inbound

‒$0.15 /GB outbound

Business Edition

• 10GB Database

• $99.99 / month

• Bandwidth ‒$0.10 /GB inbound

‒$0.15 /GB outbound

• Specified by MAXSIZE on CREATE DATABASE command or portal

• Billing granularity is the day

• Monthly billing period

Page 27: SQL Azure for ITPros

28

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)

More self-managing (e.g. fault-tolerance)

Better query performance for fan-out

Faster provisioning of new customers

Page 28: SQL Azure for ITPros

29

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

Page 29: SQL Azure for ITPros

30

• South Central USA

• North Central USA (Dec-2009)

• Southeast Asia

• North Europe

Global

Availability

Service

Update

PDC 2009

Ready for Go-Live

1/1/2010

Start Billing

2/1/2010

End Free Period

Page 30: SQL Azure for ITPros

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

Page 31: SQL Azure for ITPros

32

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

Page 32: SQL Azure for ITPros

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

Page 33: SQL Azure for ITPros

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

Page 34: SQL Azure for ITPros

35

© 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.