Azure SQL Database Managed Instance is a new flavor of Azure SQL Database that is a game changer. It offers near-complete SQL Server compatibility and network isolation to easily lift and shift databases to Azure (you can literally backup an on-premise database and restore it into a Azure SQL Database Managed Instance). Think of it as an enhancement to Azure SQL Database that is built on the same PaaS infrastructure and maintains all it's features (i.e. active geo-replication, high availability, automatic backups, database advisor, threat detection, intelligent insights, vulnerability assessment, etc) but adds support for databases up to 35TB, VNET, SQL Agent, cross-database querying, replication, etc. So, you can migrate your databases from on-prem to Azure with very little migration effort which is a big improvement from the current Singleton or Elastic Pool flavors which can require substantial changes.
2. About Me
Microsoft, Big Data Evangelist
In IT for 30 years, worked on many BI and DW projects
Worked as desktop/web/database developer, DBA, BI and DW architect and developer, MDM
architect, PDW/APS developer
Been perm employee, contractor, consultant, business owner
Presenter at PASS Business Analytics Conference, PASS Summit, Enterprise Data World conference
Certifications: MCSE: Data Platform, Business Intelligence; MS: Architecting Microsoft Azure
Solutions, Design and Implement Big Data Analytics Solutions, Design and Implement Cloud Data
Platform Solutions
Blog at JamesSerra.com
Former SQL Server MVP
Author of book “Reporting with Microsoft SQL Server 2012”
3. Seamless and compatibleBuilt-in intelligence Competitive TCO
Azure SQL Database
Breakthrough productivity
and performance
The best and most economical cloud destination
for your SQL Server apps
Realize up to a 406% ROI over on-premises and hosted solutions
4. Get the best of
data in the cloud with
Azure SQL Database
*Data source: The Business Value of Microsoft Azure SQL Database Services, IDC, March 2015
Faster time to marketIncreased productivity
Reduced risksLower TCO
47% staff time
reclaimed for other tasks
75% faster app deployment
cycles than competing databases
53% less expensive
than on-prem/hosted
71% fewer cases
of unplanned downtime
than competing databases
5. B E N E F I T S
M O V I N G TO A Z U R E U S I N G S Q L DATA B A S E &
DATA B A S E M I G R AT I O N S E R V I C E
Technical
advantages
Zero Data Loss and minimal
down time during migration
Strong compatibility with
SQL Server
Cost
optimization
Takes load off DBAs and
reduces patching footprint
Virtualized SQL licenses
drive savings
Capex
versus opex
Cost per tenant is easily
known and controllable
Scale up or down comes at
high cost
Environment
management
Environment utilization is
much higher
Individual Customer scaling
much easier
6. • Want to increase productivity and decrease costs
• Data center is too costly and complex to manage
• Hosting solution is high maintenance
• Want to accelerate your growth
• Easily get new features to get that competitive edge
• Expand your reach globally
7. If you:
• Need control over / access to the operating system
• Have to run the app or agents side-by-side with the DB
…then IaaS is the right solution for you
Otherwise, we recommend PaaS
• Better total cost of ownership
• Focus on your business, and put your DBs on autopilot
For technical features of Azure SQL Database, see presentation
“Introducing Azure SQL Database”
8. Would you like to get PaaS
benefits without paying a
high migration cost?
If yes, than go for
Managed Instance!
Managed Instance brings
PaaS closer to you!
???
9. Introducing Azure SQL Database Managed Instance
Managed Instance
Instance scoped programming model with
high compatibility to on-premises databases
Single
Standalone managed database best for
predictable and stable workloads
Elastic pool
Shared resource model best for greater
efficiency through multi-tenancy
Best for modernization at
scale with low cost and effort
10. What is SQL Database Managed Instance?
Easy lift and shift
• Fully-fledged SQL
instance with nearly
100% compat with
on-prem
Fully managed PaaS
• Built on the same
PaaS service
infrastructure
• All PaaS features
Full isolation and
security
• Native VNET
implementation
• Private IP addresses
A flavor of SQL DB designed to enable
easy migration to fully managed PaaS,
for almost any application!
SQL Database
(PaaS)
Elastic
Pool
Managed
Instance
Singleton
New business
model
• Competitive
• Transparent
• Frictionless
11. Your work so far How PaaS helps?
Hardware purchasing and management Built-in
Scales on-demand
Protect data with backups (with health checks and retention) Built-in
Point-In-Time-Restore
High availability implementation Built-in
99.99% SLA and auto-failover
Disaster recovery implementation Built-in
Geo-redundancy and geo-replication
Ensure compliance with standards on your own Built-in / easy to use features
Secure your data from malicious users and mistakes Built-in / easy to use features
Role out updates and upgrades Built-in
Monitor, troubleshoot and manage at scale Built-in / easy to use features
Tune and maintain for predictable performance Built-in/ easy to use features
12.
13. IAAS vs PAAS
Relational Database Engines
It’s a VM! Migrate Fleet of Databases Fully managed Database
Management of OS and SQL Server Security Isolation with Azure VNet Active Learning and Optimization
Select Version, OS, Edition Application Surface Compatibility
SQL Agent, Profiler
Cross DB querying, CLR, Replication,
CDC, Service Broker
End to End Integration
Intelligent Data Protection & Security
Database sizes up to 35TB Application & Data Modernization
Minimize Migration Downtime Up to 4 TB single Databases
> using Elastic Scale
Single VM availability SLA: 99.9%
(<43 min downtime p/month)
Multi-VM availability SLA: 99.95%
(<21 min downtime p/month)
Database availability SLA: 99.99%
SQL Server in Azure VM SQL Server Managed Instance SQL Database
Geo-DR
NEW*
14. Supports compatibility modes (SQL Server 2005+)
Note: features will be added in stages until General Availability of Managed Instance
Security
• TDE
• SQL Audit
• Row level security
• Always Encrypted
17. Managed Cloud Environment
Pick number of nodes & node size, resize later if needed
Compatible
Same SSIS runtime across Windows, Linux, Azure Cloud
SSIS + SQL Server
SQL DB Managed instance + SSIS in cloud
Access on premises data via VNet
Get Started
Hourly pricing (no SQL Server license required)
Use existing license (coming soon)
Part of ADF v2
Integration Runtime for
SSIS
18. • Fully managed, reliable and seamless, migration service for
both operational databases and data warehouses
• Minimal down time migrations
• Homogeneous and heterogeneous
source-target pairs
• Public preview: SQL 2005+ to SQL DB / Managed Instance
• Initial focus on reliability and performance
• Iterative addition of source-target pairs
• For more information, contact datamigrationteam@microsoft.com
SQL SQL
SQL DB
Oracle
19. DEDICATED RESOURCES
THROUGH CUSTOMER
ISOLATION
Enable full isolation from other tenants without
resource sharing
Promote secure communication over private IPs
with VNET integration
VNET support in SQL Database Managed Instance
23. Service tier General Purpose
(high SLA, fast storage)
Business Critical
(very high SLA, super fast storage)
Instance compute resources
(contains multiple databases)
8, 16, and 24 vCores
Charged per: vCore / hour
8, 16, and 24 vCores
Charged per: vCore / hour
Type of storage
(reserved in multiplies of 32 GB)
Fast remote (up to 35 TB per
instance)
Charged per: GB / hour
Super fast local SSD (up to 4 TB per
instance)
Charged per: GB / hour
Backup storage 7 days retention free of charge
Charged per GB / hour
7 days retention free of charge
Charged per: GB / hour
I/O operations Charged per million IOs Charged per million IOs
24. AZURE IS THE MOST
ECONOMICAL DESTINATION
FOR SQL WORKLOADS*
Use your on-premises SQL Server licenses with
Software Assurance to save up to 30% on SQL
Database Managed Instance.
Deploy a SQL Database Managed Instance and
select Azure Hybrid Benefit for SQL Server as
an option in the portal.
SQL Server Enterprise Edition running Tier 1 app moving to
Managed Instance Business Critical tier
Azure Hybrid Benefit for SQL Server
30%
*Based upon comparison of on-demand pricing on Azure for
Managed Instance versus running SQL on AWS RDS.
27. Q & A ?
James Serra, Big Data Evangelist
Email me at: JamesSerra3@gmail.com
Follow me at: @JamesSerra
Link to me at: www.linkedin.com/in/JamesSerra
Visit my blog at: JamesSerra.com (where this slide deck is posted under the “Presentations” tab)
Editor's Notes
The answer is to consider a PaaS (Platform as a Service) solution like Azure SQL Database. Azure SQL Database is a fully-managed relational database-as-a service that provides the best and most economical cloud destination for your SQL Server data. SQL Database uses the Microsoft SQL Server Engine, which means it’s high-performance, reliable, and secure. You can use it to build data-driven applications and websites in the programming language of your choice, without needing to manage infrastructure.
As a PaaS offering, Microsoft operates SQL Server for you and ensures availability and performance. PaaS features that come with SQL Database include, but are not limited to: provisioning and resizing (w/ Azure Portal experience), built-in auto HA (99.99%), automatic backup, point-in-time-restore (database-level), and active geo-replication. Because Microsoft assumes much of the daily maintenance, administration and infrastructure costs, your IT organization can quickly realize cost and operational benefits that you may not have otherwise experienced with your on-premises or hosted solution. In fact, a study by IDC found that organizations who modernized their databases from SQL Server to SQL Database realized up to a 406% ROI over five years.1
In addition to the benefits of PaaS, SQL Database also provides key benefits in some specific areas:
It has built-in intelligence that helps you dramatically reduce the costs of running and managing databases and maximizes both the performance and security of your application.
SQL Database provides breakthrough productivity and performance to meet the demands of today’s apps. Each database is isolated from each other and portable, each with its own service tier with a guaranteed performance level. SQL Database provides different performance levels for different needs, and enables databases to be pooled to maximize the use of resources and save money. You can adjust performance with minimal downtime to your app. Dynamic scalability enables your database to transparently respond to rapidly changing resource requirements and enables you to only pay for the resources that you need when you need them. In-memory technologies provide real-time business insight with up to 30x improved throughput and latency and up to 100x faster queries and reports.
It will provide the ability to seamlessly lift and shift your SQL Server data to the cloud to a managed instance with a full SQL Server programming surface area that removes the need to re-architect your apps, saving you time and resources.
SQL Database combines the operational and financial benefits of Azure PaaS with a financially-backed SLA and business continuity tools to protect the lifeblood of your business, your data. SQL Database will soon offer a Azure Hybrid Benefit for SQL Server that maximizes the investments you’ve made in on-premises licensing by providing discounted rates in the cloud.
1The Business Value of Microsoft Azure SQL Database Services, IDC, March 2015
Azure SQL Database, a fully-managed relational database service, delivers predictable performance at multiple service levels that provide dynamic scalability with minimal or no downtime, built-in intelligent optimization, global scalability and availability, and advanced security options — all with near-zero administration. These capabilities allow you to focus on rapid app development and accelerating your time to market, rather than allocating precious time and resources to managing virtual machines and infrastructure.
5
With digital transformation in mind, let’s focus on how SQL Database provides the low-cost, low-friction option to migrating your SQL Server data at scale to SQL Database – without having to re-architect your apps.
Introducing Azure SQL Database Managed Instance
SQL Database Managed Instance is an expansion of the existing SQL Database service designed to enable database lift-and-shift to a fully-managed PaaS, without re-designing the application. SQL Database Managed Instance provides high compatibility with the on-premises SQL Server programming model and out-of-box support for the large majority of SQL Server features and accompanying tools and services.
It’s important to note that Managed Instance isn’t a new service – it is a third deployment option within Azure SQL Database, sitting alongside single databases and elastic pools. As part of Azure SQL Database, Microsoft’s fully managed cloud database service, it inherits all its built-in PaaS features.
SQL Database Managed Instance provides complete workload isolation of your workloads through native VNET support. We use virtual data clusters to describe the degree of isolation that customer workloads will experience with SQL Database Managed Instance. During service provisioning (on Azure Portal or through REST API), you can choose the virtual network (VNET) and the subnet to achieve full networking isolation for your Managed Instances. Once created, instances in the VNET can be reached using Azure networking mechanisms (VPN and Express Route gateways).
To two levels of isolation are provided:
Cluster (tenant ring) level: Managed Instances for a tenant are fully isolated from other tenants. No connectivity or resource sharing is possible between different tenants.
Networking level: joining instances to a subnet in a VNET and restricting access to private IP addresses only provides full isolation from public Internet.
SQL Database Managed Instance will provide two licensing options: purchase a new license or use your existing on-premises licenses through Azure Hybrid Benefit for SQL Server. The Azure Hybrid Benefit for SQL Server helps customers maximize the value from their current licensing investments and accelerate their migration to the cloud. Azure Hybrid Use Benefit for SQL Server is an Azure-based benefit that enables customers to use their SQL Server licenses with Software Assurance to pay a reduced rate (“base rate”) on SQL Database Managed Instance. Azure Hybrid Benefit for SQL Server will be available at public preview (Q4 CY 2017).
Objective: In Microsoft Azure SQL Database, when you sign up for the service, the provisioning process creates an Azure SQL Database server, a database named master, and a login that is the server-level principal of your Azure SQL Database server. That login is similar to the server-level principal, sa, for an instance of SQL Server on your premises.
Talking Points:
The Azure SQL Database server-level principal account always has permission to manage all server-level and database-level security. This topic describes how you can use the server-level principal and other accounts to manage logins and databases in Microsoft Azure SQL Database.
Security administration in Microsoft Azure SQL Database is similar to security administration for an on-premises instance of SQL Server. Managing security at the database-level is almost identical, with differences only in the parameters available. Because Azure SQL Databases can scale to one or more physical computers, Microsoft Azure SQL Database uses a different strategy for server-level administration. The following table summarizes how security administration for an on-premises SQL Server is different than in Microsoft Azure SQL Database.
The loginmanager Role
Like the securityadmin fixed server role for an on-premises instance of SQL Server, the loginmanager database role in Microsoft Azure SQL Database is has permission to create logins. Only the server-level principal login (created by the provisioning process) or members of the loginmanager database role can create new logins.
The dbmanager Role
The Microsoft Azure SQL Database dbmanager database role is similar to the dbcreator fixed server role for an on-premise instance of SQL Server. Only the server-level principal login (created by the provisioning process) or members of the dbmanager database role can create databases. Once a user is a member of the dbmanager database role, it can create a database with the Azure SQL Database CREATE DATABASE command, but that command must be executed in the master database. For more information, see CREATE DATABASE (Transact-SQL).
Source: https://msdn.microsoft.com/en-us/library/azure/ee336235.aspx