Randy Pagels Sr. Developer Technology Specialist DX US Team rpagels@microsoft.com AZURE PRIMED 2016.04.11
Interactive Data Analytics Discover the root cause of any app performance behavior almost instantaneously through ad-hoc queries. Paired with full-text search, these interactive queries make it quick and easy to find the information you need. LAST TIME ON AZURE PRIMED Application Insights and Log Analytics
AZURE ACCOUNT GRID Previous recordings: https://microsoft-my.sharepoint.com/personal/jfattic_microsoft_com/documents/azure%20primed Since last meeting: Published a spreadsheet to compare pricing between EA / PAYG vs. Enterprise MSDN Dev/Test https://onedrive.live.com/redir?resid=e203d9933dcebca1!1263157&authkey=!aai04zlsgtt9wce&i thint=file%2cxlsx
Azure SQL to manage relational SQL Database-as-a-service fully managed by Microsoft AZURE SQL The developer s intelligent cloud database
One of Azure s most popular services, SQL Database has 1M databases. Scott Guthrie, C+E Executive Vice President, Microsoft
WHY AZURE SQL? The Pitch Azure SQL allows you to manage relational SQL Database-as-a-service and focus on your applications Azure SQL database have the licensing included in the price Overview Adapt dynamically with your app Scale performance on the fly, without app downtime Build multitenant apps with customer isolation and efficiency Work within your preferred development environments Protects and secures your app data Dynamically scale-up or scale-down Geographic Disaster Recovery protects workloads against disasters
SQL DATABASE SERVICE A relational database-as-a-service, fully managed by Microsoft. For cloud-designed apps when near-zero administration and enterprise-grade capabilities are key. Perfect for organizations looking to dramatically increase the DB:IT ratio.
HOW IS IT DIFFERENT FROM VMS? SQL Server in a VM Azure SQL Database Best for Resources TCO benefits Scalability
ELASTIC SCALE & PERFORMANCE Each performance level is assigned a defined level of throughput by the service. Elastic scale out across thousands of databases backed by the power and presence of Azure.
AZURE SQL DATABASE SERVICE TIERS *The 99.99% availability SLA does not apply to the existing Web and Business editions, which will continue to be supported at 99.9% availability. here
Designed for predictable performance Redefined Measure of power Across Basic, Standard, and Premium, each performance level is assigned a defined level of throughput Introducing the Database Throughput Unit (DTU) which represents database power and replaces hardware specs % CPU % read % write DTU is defined by the bounding box for the resources required by a database workload and measures power across the six performance levels. % memory Basic 5 DTU S0 10 DTU S1 20 DTU S2 50 DTU P1 100 DTU P2 200 DTU P3 800 DTU
Dashboard views of metrics Monitor Quickly understand DB resource usage via percent of resources consumed for each resource type over time and database size Available in the management portal & via APIs In contrast to a VM, no system-related overhead focused on just the resources used to run your database workload In-depth views (DMVs) are also available for deeper understanding and trouble-shooting (for example, at the query level)
Drive elastic scale out Elastic Scale Support temporary or sustained highthroughput app patterns Elastic Scale across thousands of databases via custom sharding Scale out via.net Client libraries -- consumed by customer applications to support sharded database pattern Enables developer and manageability functions Supports split, merge, and move operations on data
BUSINESS CONTINUITY & DATA PROTECTION Programmatic oops recovery of data deletion or alteration; up to 35 days in Premium
POINT-IN-TIME RESTORE Programmatic oops recovery of data deletion or alteration Auto backups, transactional logs every 5 min Backups in Azure Storage and geo-replicated Creates a side-by-side copy, non-disruptive REST API, PowerShell or Azure Portal Backups retention policy: SQL Database Backups sabcp01bl21 Geo- replicated Azure Storage sabcp01bl21 Basic, up to 7 days Standard, up to 14 days Restore from backup Premium, up to 35 days Automated export of logical backups for long-term backup protection
Geo-restore Emergency data recovery when you need it most Available in Basic, Standard and Premium SQL Database Backups sabcp01bl21 Geo- replicated Azure Storage sabcp01bl21 Built on geo-redundant Azure Storage Recover to any Azure region Restore to any Azure region
Standard geo-replication Opt-in business continuity for greater geo-redundancies Opt-in for Standard & Premium databases Creates a stand-by secondary Geo- replicated 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
ACTIVE GEO-REPLICATION Mission-critical business continuity on your terms, via programmatic APIs 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
ROW-LEVEL SECURITY Protect data privacy by ensuring the right access across rows Fine-grained access control over specific rows in a database table Help prevent unauthorized access when multiple users share the same tables, or to implement connection filtering in multi-tenant applications Administer via SQL Server Management Studio or SQL Server Data Tools Customer1 Customer2 Customer3 SQL Database
DYNAMIC DATA MASKING Prevent the abuse of sensitive data by hiding it from users Configuration made easy in the new Azure portal Policy-driven at the table and column level, for a defined set of users Data masking applied in real-time to query results based on policy Multiple masking functions available (e.g. full, partial) for various sensitive data categories (e.g. Credit Card Numbers, SSN, etc.) SQL Database Table.CreditCardNo 4465-6571-7868-5796 4468-7746-3848-1978 4484-5434-6858-6550 Real-time data masking; partial masking
TRANSPARENT DATA ENCRYPTION Protect sensitive data stored in a SQL database from unauthorized access Encrypted-at-rest SQL Database service manages your keys Predictable encryption performance AES-NI Hardware Acceleration Intel s AES-NI support in TDE means lower performance impact (2-3%) Customer1 Customer2 Customer3 SQL Database
AUDITING Gain insight into database events & streamline compliance-related tasks Configurable to track & log database activity Dashboard views in the portal for at-aglance 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 SQL Database Auditing Application data Audit log Azure Storage
MICROSOFT-BACKED Peace of mind over your cloud investments Built-in regional database replicas for additional protection Uptime SLA of 99.99%* Single support vendor across Azure cloud services *Web & Business tiers remain backed by 99.9% uptime SLA.
FAMILIAR & SELF-MANAGED Remove virtually all infrastructure maintenance with SQL Database which provides automatic software patching as part of the service
Familiar Compatible Tools Flexible dev Leverage SQL Server skills across on-premises and cloud environments with a familiar relational foundation and T-SQL functions, including spatial data support for location-based apps. Choice of management tools; APIs, Azure Management Portal with HTML5 support, Visual Studio, or SQL Server Management Studio. Support seamless development on or offline and across on-premises and cloud-designed apps with Visual Studio. Extend existing applications to the cloud with DAC framework support.
Self-managed Built-in Maintenance Fault tolerance Remove virtually all infrastructure maintenance with SQL Database which provides automatic software patching as part of the service. Built-in system replicas help deliver inherent data protection and database uptime. System replicas are automatically moved to new machines as old machines fail.
Programmatic Dev Ops Scale out or manage DBA-like functionality via programmatic APIs to support ongoing needs REST & PowerShell Platforms Develop with a choice of popular platforms and technologies, including.net, Java, PHP, Ruby on Rails, and Node.js.
Options for Migrating on-premises SQL databases to Azure SQL Database TOOLS Migrate using SSMS Migrate DB using BACPAC SQL Azure Migration Wizard Move Data with BCP
MIGRATE DATABASE USING SSMS DB Schema compatible to Azure SQL DB DB is copied to Azure via deployment from SSMS Single Step
MIGRATE DB USING BACPAC DB Schema compatible to Azure SQL DB Two Step process Export to BACPAC and then Import into Azure SQL DB
MIGRATE USING SQL AZURE MIGRATION WIZARD Shared source tool, helps migrate SQL Server DBs to Azure SQL DB Identify, fix, notify of compatibility issues Migrates both schema and data Analyzes trace files/scripts for compatibility issues https://sqlazuremw.codeplex.com
MOVE DATA WITH BCP SSMS DB Schema has already been moved to Azure SQL DB Copy data out of the source DB with BCP Run BCP again to load data into the Azure SQL DB table High Performance load The data is stored in OrderDetails.dat file in C drive. Data is moved from file to Order Details table in Azure SQL DB Northwind.
Getting Started with Azure SQL Azure Portal Settings Tool Integration
SQL DATABASE PRICING No upfront cost No termination fees Pay only for what you use Per hour billing Single database model Single databases are fully isolated databases optimized for workloads when performance demands are somewhat predictable. You can scale a single database up or down through the Basic, Standard, and Premium service tiers For more o SQL Database Pricing, click here
SQL DATABASE PRICING No upfront cost No termination fees Pay only for what you use Per hour billing Elastic database model Elastic database pools let you manage the collective performance of the pool rather than single databases. The databases in the pool, called elastic databases, automatically scale up and down to meet demand. Available in Basic, Standard, and Premium service tiers. For more o SQL Database Pricing, click here
Azure SQL allows you to manage relational SQL Databaseas-a-service and focus on your applications Azure SQL database have the licensing included in the price SUMMARY Azure SQL
RESOURCES About Azure SQL SQL Database Documentation SQL Database Pricing SQL Database Tutorial SQL Database Videos
APPENDIX