extending your data to the cloud

19
EXTENDING YOUR DATA TO THE CLOUD

Upload: microsoft-technet-belgium-and-luxembourg

Post on 18-Jan-2015

819 views

Category:

Technology


0 download

DESCRIPTION

Speaker: Wesley Backelant Download SQL Server 2012: http://www.microsoft.com/sqlserver/en/us/get-sql-server/try-it.aspx

TRANSCRIPT

Page 1: Extending your data to the cloud

EXTENDING YOUR DATA TO THE CLOUD

Page 2: Extending your data to the cloud

AGENDA

• What is Windows Azure?• More about SQL Azure• Migrating to SQL Azure• Approach• Tools

• SQL Azure Data Sync?• Why SQL Azure?• Resources

Page 3: Extending your data to the cloud

INTRODUCING WESLEY

• Wesley Backelant• Technology Advisor – Data Platform / Business

Intelligence• [email protected]• http://www.twitter.com/WesleyBackelant

Page 4: Extending your data to the cloud

LET’S GET STARTED

Page 5: Extending your data to the cloud

WINDOWS AZURE PLATFORM

GENERAL PURPOSE PROGRAMMING LANGUAGES

Compute

Storage

Management

Marketplace

App FabricCDN

Windows Azure Platform

Relational

databaseData Sync

Page 6: Extending your data to the cloud

SQL AZURE – CORE DIFFERENTIATORS

Scale on Demand

Innovate Faster

• Database as a utility with pay as you grow scaling

• Rely on Business-ready SLAs

• Enable multi-tenant solutions

• Manage multiple servers

• Innovate with new data application patterns

• Build cloud-based data solutions on a familiar relational model

• Build on existing developer skills and familiar Transact-SQL syntax

• Platform capabilities delivered as a service (Database, Data Sync, Reporting…)

• Reduced complexity, greater flexibility

• Easy provisioning and deployment

• Auto High availability and fault tolerant

Managed Service

Page 7: Extending your data to the cloud

SQL AZURE DATABASE

Global datacenters

High Availability & Redundancy

• Reads are completed at the primary• Writes are replicated to a quorum of

secondaries

Single LogicalDatabase

Multiple PhysicalReplicas

Single Primar

y

MultipleSecondaries

Replic

a 1

Replic

a 2

Replic

a 3

DB

Page 8: Extending your data to the cloud

SECURITY IN SQL AZURE

• Logical tenant isolation• Encrypted communication• Firewall rules to accept connections from specific IP addresses•Uses regular SQL security model• Authenticate logins, map to users and roles• Authorize users and roles to SQL object

• Support for standard SQL Auth logins• Username + password

Security model is compatible with on-premise SQL

Page 9: Extending your data to the cloud

APPLICATION TOPOLOGIES

From Windows Azure

From Outside Microsoft Datacenter

From Windows Azure & Outside Microsoft Datacenter

Application / Browser

Windows Azure

SQL Azure

Code Near

App Code / Tools

SQL Azure

MicrosoftDatacenter

Code Far Hybrid

Microsoft Datacente

r

SQL Azure

SQL Server

Microsoft Datacenter Windows

Azure

SQL Azure Data Sync

App Code / Tools

Page 10: Extending your data to the cloud

MIGRATING TO SQL AZURE

5 step process1. Get SQL Azure account2. Choose your Migration tool

1. SQL Azure Migration Wizard2. Built-in SQL script generation (Including data)3. Data tier application (DACPAC / BACPAC)

3. Migrate4. Change Connection String5. Test , Test, Test

Page 11: Extending your data to the cloud

TRANSFERRING LARGE DATA

• Best Practices for efficient Data movement to SQL Azure• Use the right tools is key

o BCP (or SQL Azure Migration Wizard)

• Network performance considerationso Latency vs Bandwidth

• Best Practices on database level• Optimize Databases for Data Import

o Disable/Delay creation of none Clustered Indexeso Order Data on the Clustered Indexo Disable Triggers and Constraint checking

• -N Native mode so no data type conversion needed. o -c Character mode for interoperability

• -b batchsize will let you control transaction size• -h”TABLOCK, ORDER(…)” optimize writes

Page 12: Extending your data to the cloud

SQL AZURE MIGRATION WIZARD

• Great Utility for Moving Databases from SQL Server to SQL Azure• Pros

o Parallel uploadso Built in Retry Logico Full control on export and Importo Supports Multiple Languages

• Conso Unsupported

Page 13: Extending your data to the cloud

DACPAC VS BACPAC

• Move Schema through application lifecycle and manage databases at scale

• Move Schema and Data through SQL Server and SQL Azure

Page 14: Extending your data to the cloud

DEMO – MIGRATING TO SQL AZURE

Page 15: Extending your data to the cloud

SQL AZURE DATA SYNC

• No-Code Sync Configuration• Easily define data to be synchronized with

out coding• Choose how often data is synchronized• Handle issues where same data is

changed in multiple locations• Administration capabilities for tracking

data and monitoring potential issues

• Sync Between SQL Azure Databases• Geo-Replication, Read/Write Scale out

• Sync From On–Premises to Cloud• Extend enterprise data to cloud• Build offline cached experiences• Sync with branch offices and mobile

devices

2

Page 16: Extending your data to the cloud

DEMO – DATA SYNCING

Page 17: Extending your data to the cloud

WHY SQL AZURE

Best TCO• Designed for Internet Scale

• High Availability Built in

• Transparent maintenance

Familiar and Productive

• Less Complex; Better value

• Developer platform and broad ecosystem

Unique Innovation

• BI as a service• Data Sync

Page 18: Extending your data to the cloud

RESOURCES

• SQL Azure Migration Wizard• SQL Azure Labs• Windows Azure

Page 19: Extending your data to the cloud

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

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