Azure Data platform

66
Azure Data Overview Mostafa Elzoghbi Sr. Technical Evangelist @ Microsoft @MostafaElzoghbi

Transcript of Azure Data platform

Page 1: Azure Data platform

Azure Data OverviewMostafa Elzoghbi

Sr. Technical Evangelist @ Microsoft@MostafaElzoghbi

Page 2: Azure Data platform

AgendaSQL DatabaseSQL Server VMDocumentDB

Search

HDInsightAdditional

Databases

Page 3: Azure Data platform

SQL Database

Page 4: Azure Data platform

A Server is not a machine

SQL Server

Machine

AzureSQL

Database

Server

TDS Endpoi

nt

(Physical/VM)

Page 5: Azure Data platform

SQL Database ServerThe Service head contains databasesConnect via automatically generated FQDN: {name}.database.windows.netInitially contains only a master database

Page 6: Azure Data platform

Full Access

Selective Access

SQL Database Server

Allow Azure Services

Azure Services

IP Based Firewall Rules

Server Connectivity

Page 7: Azure Data platform

Limit Exposure of Sensitive Data

Protect Sensitive Data

Limits sensitive data exposure Prevents unauthorized access to

data Policy-based security – no

changes to data or application Meet regulatory compliance Dev/Test production data without

compromising data

Dynamic Data Masking

Page 8: Azure Data platform

Encrypt and Protect Database

Encrypted database, backups, and transaction log at rest

2-click provisioning Reduced attack surface area No code changes to existing

applications Database encryption key - AES-256 Meet regulatory compliance Accelerated hardware encryption

Transparent Data Encryption (TDE)

Page 9: Azure Data platform

Fine-grained Access Over Rows 

Fine-grained access over rows  Access restrictions logic contained

in database Simplified design and coding of

security Meet regulatory compliance Reduced surface area of your

security system

Available on SQL Server 2016.

Row-Level Security (RLS) 

Page 10: Azure Data platform

Fine-grained Access Over Rows 

Contained Database Users  Parallel Queries Common Language Runtime (CLR)

assemblies

Other notable features

Page 11: Azure Data platform

Provision Servers InteractivelyIn the Preview Management Portal create a SQL Database server

Page 12: Azure Data platform

http://bit.ly/azurepowershell

Automate Server ProvisioningMicrosoft Azure Platform PowerShell cmdlets

Page 13: Azure Data platform

http://bit.ly/azurexplatcli

Automate Server ProvisioningAzure Cross-Platform Command-Line Interface (xplat-cli)

Page 14: Azure Data platform

Demo: Creating A SQL Database Server

and a SQL Database

Page 15: Azure Data platform

Service Tier

Performance Level

Common App Pattern

Performance Business Continuity

Max DB Size

Transaction Perf. Objective

DTU PITR DR / GEO-Rep

Basic Basic Small DB, SQL opp

2 GB Reliability / Hr. 5 7 Days DB Copy + Manual Export

Standard

S0S1S2

Wrkgp/cloud app, multiple concurrent operations

250 GB Reliability / Min.

102050

14 Days

DB Copy + Manual Export

Premium P1P2P3

Mission Critical, High volume, Many concurrent Users

500 GB Reliability / sec.

100200800

35 Days

Active Geo-replication

Selecting the right SQL Database edition

This information is subject to change over time.

Page 16: Azure Data platform

Auto backups, transactional logs every 5 min Backups in Azure Storage and geo-replicated Creates a side-by-side copy, non-disruptive Backups retention policy: 7, 14 or 35 days Automated export of logical backups for long-

term backup protection

Point-in-time restore - “oops recovery”

Page 17: Azure Data platform

Available in all tiers: Basic, Standard and Premium

Built on geo-redundant Azure Storage Recover to any Azure region

Geo-restore – Emergency data recovery when you need it most

Page 18: Azure Data platform

Opt-in for Standard & Premium databases Creates a stand-by secondary Replicate to pre-paired Azure region Automatic data replication, asynchronous Opt-in via REST API, PowerShell or Azure

Portal Microsoft-managed, RTO<24h, RPO<1 hr

Standard geo-replication

Page 19: Azure Data platform

Self-service activation in Premium Create up to 4 readable secondaries Replicate to any Azure region Automatic data replication, asynchronous REST API, PowerShell or Azure Portal RTO<1h, RPO<5m, you choose when to

failover

Active geo-replication

Page 20: Azure Data platform

Configurable to track & log database activity Dashboard views in the portal for at-a-glance

insights Pre-defined Power View reports for deep

visual analysis on Audit log data Audit logs reside in your Azure Storage

account Available in Basic, Standard, and Premium

Auditing

Page 21: Azure Data platform

Fast and flexible indexing of textual data Data types: char, varchar, nchar, nvarchar,

text, ntext, image, xml, varbinary(max), or FILESTREAM

Handles high query volume Common use cases:

Searching websites, product catalogs, news items and more Document management systems Any applications that need to provide search capabilities over data

stored in a SQL Database

Full-Text Search

Page 22: Azure Data platform

XML Indexes - improves XQuery-based query performance

Primary XML Index - speed up access to elements and attributes

CREATE PRIMARY XML INDEX XML_Order_Items ON Sales.Order (Items);

Secondary XML Index – help resolve specific XQuery expressions rapidly

XML Indexes

Page 23: Azure Data platform

Demo: Connect from on premise using SSMS

Page 24: Azure Data platform

(obviously)

Use Familiar Technologies

Transact-SQL

Page 25: Azure Data platform

.NET Framework (C#, Visual Basic, F#): ADO.NETC / C++: ODBCJava: Microsoft JDBC providerPHP: Microsoft PHP provider

Use Familiar Technologies - Languages.NET Framework (C#, Visual Basic, F#): ADO.NETC / C++: ODBCJava: Microsoft JDBC providerPHP: Microsoft PHP provider

Page 26: Azure Data platform

Use Familiar Technologies - FrameworksODataEntity FrameworkWCF Data ServicesNHibernate (etc.)

Page 27: Azure Data platform

Use Familiar Technologies - ToolsSQL Server Management Studio (>=2008 R2)SQL Server command-line utilities (SQLCMD, BCP)Visual Studio IDE for database development

Page 28: Azure Data platform

Unsupported SQL Server Features

Use command, distributed transactions, distributed views

Service Broker SQL Agent SQL Profiler Native Encryption

Page 29: Azure Data platform

Web designers for tables, views, stored procs

Interactive query editing and execution

Azure SQL Database Management Portal

Page 30: Azure Data platform

Demo: Deployment Scenarios

From SQL Server Management Studio

Page 31: Azure Data platform

Elastic Database

Page 32: Azure Data platform

Elastic Database Pool

Elastic Database Pool

Elastic Database

Predictable model for deploying large numbers of databases

Page 33: Azure Data platform

Elastic Database Model

200 1200eDTUs

400 800

PREVIEW

Elastic databases, Elastic database pools Pooled resources leveraged by many databases Standard elastic pool provides 200-1200* eDTUs for up to 100*

databases Elastic Standard databases can burst up to 100 eDTUs (S3 level) Create/configure pool via portal, PowerShell, REST APIs Move databases in/out using portal, PowerShell, REST APIs, T-SQL Databases remain online throughout Monitoring and alerting is available on both pool and databases

*Additional pricing tiers may be introduced, and the ranges and limits may be increased during the preview

Max per-database burst level

Page 34: Azure Data platform

Scalability options in Azure SQL DB

Vertical: Scale-up or scale-downHorizontal: Scale-out or scale-in

BasicStandardPremium

Basic Basic Basic Basic Basic Basic

PremiumStandard

Scale out/in

Scal

e up

/dow

n

Page 35: Azure Data platform

SQL Server VM

Page 36: Azure Data platform

Run SQL on VMRun any SQL product on cloud VM Support for SQL Server, Oracle, MySqlReady to go VM images available in GalleryPersistent storage using attached disk in blob storage

Has all the benefits and powers of VMs combined with the full features of a SQL Engine

Page 37: Azure Data platform

Why (at least) two offerings of SQL in Azure?

SQL Database

SQL IaaS

Page 38: Azure Data platform

SQL DatabaseWhen you want reduced overhead and possibly need elastic scale.Customer does not want to add additional IT resources for support and maintenance.Avoiding CAPEX and OPEX.

Existing applications which requires full box product functionality.Customer has ecosystem of IT resources for support and maintenance.Removing CAPEX.

SQL IaaS

Page 39: Azure Data platform

Other features SQL IaaS supports that SQL Database doesn’t (yet) Full SQL Server functionality (e.g. Reporting Services)

Windows authentication available (requires VM to be joined to on-premises domain)

Larger database sizes possible (16TB)

Page 40: Azure Data platform

Demo: Standing up a SQL Server in Azure using

Marketplace

Page 41: Azure Data platform

DocumentDB

Page 42: Azure Data platform

Fully managed, scalable JSON document database

service

Page 43: Azure Data platform

Microsoft Azure Data Services

fully managed, scalable, queryable, schemafree JSON document database service for modern applications

fully featured RDBMStransactional processing

rich query managed as a service

elastic scale

internet accessible http/rest

schema-free data model

arbitrary data formats

Page 44: Azure Data platform

MongoDBExisting applications which require extra capacity for scale out and can not be migratedCustomer has ecosystem of IT resources for support and maintenanceRemoving CAPEXMongo MMS compatibility

Applications that need managed elastic scale, query over schema free data, native JSON/JavaScript supportCustomer does not want to add additional IT resources for support and maintenanceAvoiding CAPEX and OPEXBuilt-for-the-cloud database technology

DocumentDB

Page 45: Azure Data platform

Demo: Working with DocumentDB on Azure

Page 46: Azure Data platform

Search

Page 47: Azure Data platform

Azure SearchEmbed a sophisticated search experience into web and mobile applications without having to worry about the complexities of full-text search and without having to deploy, maintain or manage any infrastructure.

Page 48: Azure Data platform

Azure SearchPerfect for enterprise cloud developers, cloud software vendors, cloud architects who need a fully-managed search solution.

Page 49: Azure Data platform

Search Functionality

Simple HTTP/JSON API for creating indexes, pushing documents, searching

Keyword search with user-friendly operators (+, -, *, “”, etc.)

Hit highlighting Faceting (histograms over

ranges, typically used in catalog browsing)

Page 50: Azure Data platform

Search Functionality

Suggestions (auto-complete) Rich structured queries (filter,

select, sort) that combines with search

Scoring profiles to model search result relevance

Geo-spatial support integrated in filtering, sorting and ranking

Page 51: Azure Data platform

HDInsight

Page 52: Azure Data platform

Data size

AccessUpdate

sStructu

reIntegrit

yScaling

Relational DB vs. Hadoop

Page 53: Azure Data platform

Programming HDInsight – Microsoft .NET

C#F#

Map/ReduceMicrosoft .NET management clients

Page 54: Azure Data platform

Programming HDInsight – DevOps / IT Pros

PowerShellCross-Platform CLI tools (xplat-cli)

Page 55: Azure Data platform

Data Warehousing

Page 56: Azure Data platform

App ServiceAzure SQL Database

Azure Machine Learning

Intelligent App

Hadoop

Azure SQL DataWarehouse

Power BI

A relational data warehouse-as-a-service

Page 57: Azure Data platform

Elastic scale & performance

Powered by the Cloud

Market Leading Price &

PerformanceScales to petabytes of dataMassively Parallel ProcessingInstant-on compute scales in secondsQuery Relational / Non-Relational

Get started in minutesIntegrated with Azure ML, PowerBI & ADFEnterprise Ready

Simple billing compute & storagePay for what you need, when you need it with dynamic pauseBring DW to the Cloud without rewriting

Page 58: Azure Data platform

Data LakeData Lake

Page 59: Azure Data platform

Azure Data Lake service

Store and manage infinite data Keep data in its original form High through put, low latency

analytic jobs Enterprise-grade security +

access control

Data Lake

Page 60: Azure Data platform

Data LakeHDFS API

Data Lake serviceTransformative way to store and process infinite data

MicrosoftRevolution-REnterprise

Other analytic solutions SQL Data

WarehouseHDInsightService

Page 61: Azure Data platform

MongoDB, MySQL, Oracle, Cassandra, Neo4j and more

Page 62: Azure Data platform

Additional Database options in Azure Azure Table Service is a “Big Table”

entity store. MongoDB is a document (JSON) store. Cassandra is a columnar store with

excellent replication. HBase is a Big Data (Hadoop) store

available in HDInsight. Oracle VMs are supported in Azure. MySQL is offered from the partner

ClearDB.

Page 63: Azure Data platform

SQL Database SQL on IaaS DocumentDB

Search HDInsightMongoDB,

MySQL, Oracle, Cassandra,

Neo4j and more

Microsoft Azure Data Platform

Page 64: Azure Data platform

Q&A Post your questions to: Stack Overflow Forums MSDN Forums

Twitter: @MostafaElzoghbi

Page 65: Azure Data platform

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

Page 66: Azure Data platform

Get startedVisit azure.microsoft.com