SlideShare a Scribd company logo
1 of 29
Azure SQL Database Managed
Instance
Jovan Popovic
Microsoft
Jovan Popovic
• Program Manager, Microsoft
• Parallel Data Warehouse
• SQL Server 2016-2017
• JSON, Temporal, T-SQL, In-memory OLTP, Columnstore
• Azure SQL Database
• Automatic tuning
• Managed Instance
Agenda
• Introduction
• Architecture
• Infrastructure
• App connectivity
• Database Migration
Introduction
What is Managed Instance?
What is Managed Instance?
• Fully-fledged SQL
instance with nearly
100% compatibility
with on-prem SQL
Server
• Built on the same
PaaS service
infrastructure
• All PaaS features
• Native VNET
implementation
• Private IP
addresses
• Competitive
• Transparent
• Frictionless
Lift & shift Fully managed Isolation Business model
A flavor of SQL DB designed to enable
easy migration to fully managed PaaS,
for almost any application!
Azure SQL
(PaaS)
Elastic
Pool
Managed
Instance
Database
• On-premises data centers are starting cloud migration
• Enterprise customers prefer PaaS over IaaS
• Cloud adoption blockers (on-prem perspective)
• No instance model
• Lack of VNET isolation
• Surface area gaps
• Cloud business model gaps
Why SQL Managed Instance?
Managed Instance brings
PaaS closer to you!
Easy migration: nearly 100% like SQL Server
Note: some features will be added in stages until General Availability of Managed Instance
Security
• TDE
• SQL Audit
• Row level security
• Always Encrypted
Cloud business model
• Database throughput units (DTU)
• Boundary class
• CPU
• Memory
• Data IO
• Log IO
This model might be
confusing in cloud
migration cases.
New business model
• Pay for real resources
• CPU – 8, 16, 24 cores
• Storage – up to 8TB
• 32GB included
• Memory included
• Fixed amount of memory per core
• Unbound IO
• Depends on Azure storage performance
Focus on your business…
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
Back-end subnet
Removing security & isolation concerns
SQL Instance #1 SQL Instance #2
VPN tunnel or provider network оn-premisesVPN / Express Route
Gateway
SQL Instance #3
Network isolation
(customer VNET)
Isolated instances
(compute, storage)
in “Virtual cluster”
Customer Subnet with private IP range
Customer VNET with subnets and NSG
VNet-to-subnet
On-premises
Azure VNet
Management
Service
Linked server
Linked server, db_mail
“VM” Injected in
customer VNET
Front-end subnet
Removing security & isolation concerns
SQL Instance #1 SQL Instance #2
VPN tunnel or provider network оn-premisesVPN / Express Route
Gateway
SQL Instance #3
VNet-to-subnet
Network isolation
(customer VNET)
Tenant isolation
(compute, storage)
Web app
(public IP)
On-premises
Azure VNet
Customer Subnet with private IP range
Customer VNET with subnets and NSG
Removing security & isolation concerns
SQL Instance #1 SQL Instance #2
VPN tunnel or provider network оn-premisesVPN / Express Route
Gateway
SQL Instance #3 Tenant isolation
(compute, storage)
VNET
Web app
(public IP)Front-end Subnet
Subnet 2
Removing security & isolation concerns
SQL Instance #1 SQL Instance #2
оn-premises
SQL Instance #3
VNET
Web app
(public IP)
Front-end Subnet
Back-end Subnet
Existing domain
user
Auth.
Azure AD
Existing AD
ADFS
Architecture
Managed Instance types
• General Purpose
• Preview: March 2018
• Standard workloads
• Fast recovery
• Up to 8TB storage*
• Will be increased until GA
• Business Critical
• Preview: May 2018
• Low latency workloads
• Always On
• Up to 4TB storage
• Read scale-out
General Purpose Instance
• Separated compute & storage
• 200 Azure Premium Disk
• Limits: 8TB, 100 databases
• One file per disk
• System databases are
on local SSD
Premium Disk Performance
• Depends on disk size
• Monitor using sys.dm_io_virtual_file_stats
<128GB <512GB <1TB >2TB
IOPS 500 2300 5000 7500
Throughput 100 MB/s 150 MB/s 200 MB/s 250 MB/s
Business Critical Instance
• Integrated compute and storage
• Low latency workloads
• Local SSD per node
• Predictable IO performance
• Always On Availability Group
• Automatic failover
• Failover within subnet
Infrastructure
Setting-up Azure environment
for Managed Instance
• Subnet for Managed Instances
• Cannot contain other resources
• Has enough addresses
• 2 addresses for each GP instance
• 4 addresses for each BC instance
• 4 additional addresses
• Address range cannot be increased while the
resources are in the subnet
Subnet
SQL Instance #1
SQL Instance #2
Network configuration
• Private resource in customer VNET
Public user
Instance on private IP
within the subnet range
Gateway subnet
Peered network
App subnet
MI subnet
Peering channel
On-prem app
1
SQL Instance #1
SQL Instance #2
3
Express Route / VPN Gateway
“VNET Integrated”
web app
IaaS hosted app5
App Service
Environment
6
7
“VNET Integrated”
web app (peered VNET)
App integration options
App subnet App subnet
4 App Service
Environment
2 IaaS hosted app
Gateway subnet
Peered network
App subnet
MI subnet
App subnet
Peering channel
On-prem app
1
2
SQL Instance #1
SQL Instance #2
App Service
Environment
IaaS hosted app 3
4
Express Route / VPN Gateway
“VNET Integrated”
web app
IaaS hosted app5
App Service
Environment
6
Networking policies
No other
resources
Minimal range: 16 addresses
No NSGs
No user route tables
No effective routes
Azure DNS in the list of DNSs
ANY networking policy
ANY networking policy
Incorrect configuration may make
instances inaccessible
These constraints will be
relaxed or completely
removed in GA!
Preparing for migration
• Managed Instance is pre-configured
cloud service
• Some features not available
• High-availability
• SIMPLE/BULK LOGGED
• Change service broker
• Windows specific
• Windows logins
• Network shares
• xp_cmdshell/local file system
• FILESTREAM
• Compatibility check
• Data Migration Assistant
• T-SQL scripts
• Offline migration
• Native RESTORE from Azure Blob Storage
• RESTORE from network shares is currently
not supported
• .bacpac/.dacpac
• Online migration
• Data Migration Service
• Log Reply API
• Log shipping – still not supported
Instance subnet
SQL Instance #1
storage account
RESTORE 12 BACKUP TO AZURE
SQL Server on VM/on-prem
Offline migration: Native backup/restore
Database Migration Service
• Fully managed, reliable and seamless, migration service for both
operational databases and data warehouses
• Minimal down time migrations
• Homogeneous and heterogeneous source-target pairs
Demo time!
Conclusion
• Azure SQL Database Managed Instance is the best PaaS destination for your
on-prem databases
• Combines best from Azure SQL Database and SQL Server
Thank you.
jovanpop@microsoft.com

More Related Content

What's hot

Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQLWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Continuent
 

What's hot (20)

A Tour of Azure SQL Databases (NOVA SQL UG 2020)
A Tour of Azure SQL Databases  (NOVA SQL UG 2020)A Tour of Azure SQL Databases  (NOVA SQL UG 2020)
A Tour of Azure SQL Databases (NOVA SQL UG 2020)
 
Introduction to Azure SQL DB
Introduction to Azure SQL DBIntroduction to Azure SQL DB
Introduction to Azure SQL DB
 
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018 Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
Azure SQL Database for the SQL Server DBA - Azure Bootcamp Athens 2018
 
Migrating on premises workload to azure sql database
Migrating on premises workload to azure sql databaseMigrating on premises workload to azure sql database
Migrating on premises workload to azure sql database
 
Azure SQL Database
Azure SQL DatabaseAzure SQL Database
Azure SQL Database
 
Migrating Data and Databases to Azure
Migrating Data and Databases to AzureMigrating Data and Databases to Azure
Migrating Data and Databases to Azure
 
Customer migration to azure sql database from on-premises SQL, for a SaaS app...
Customer migration to azure sql database from on-premises SQL, for a SaaS app...Customer migration to azure sql database from on-premises SQL, for a SaaS app...
Customer migration to azure sql database from on-premises SQL, for a SaaS app...
 
SQL to Azure Migrations
SQL to Azure MigrationsSQL to Azure Migrations
SQL to Azure Migrations
 
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
 
PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...
PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...
PaaSport to Paradise: Lifting & Shifting with Azure SQL Database/Managed Inst...
 
Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services Microsoft Azure Offerings and New Services
Microsoft Azure Offerings and New Services
 
Implement SQL Server on an Azure VM
Implement SQL Server on an Azure VMImplement SQL Server on an Azure VM
Implement SQL Server on an Azure VM
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQLWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
 
Introducing Azure SQL Database
Introducing Azure SQL DatabaseIntroducing Azure SQL Database
Introducing Azure SQL Database
 
SQL Server Lift & Shift on Azure - SQL Saturday 921
SQL Server Lift & Shift on Azure - SQL Saturday 921SQL Server Lift & Shift on Azure - SQL Saturday 921
SQL Server Lift & Shift on Azure - SQL Saturday 921
 
Azure Data platform
Azure Data platformAzure Data platform
Azure Data platform
 
Azure Cosmos DB
Azure Cosmos DBAzure Cosmos DB
Azure Cosmos DB
 
SQL Database on Azure
SQL Database on AzureSQL Database on Azure
SQL Database on Azure
 
Microsoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deckMicrosoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deck
 
Data Migration to Azure SQL and Azure SQL Managed Instance - June 19 2020
Data Migration to Azure SQL and Azure SQL Managed Instance - June 19 2020Data Migration to Azure SQL and Azure SQL Managed Instance - June 19 2020
Data Migration to Azure SQL and Azure SQL Managed Instance - June 19 2020
 

Similar to AzureSQL Managed Instance (SQLKonferenz 2018)

WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
TEAM Informatics
 
Azure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdfAzure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdf
bhavyanm2
 

Similar to AzureSQL Managed Instance (SQLKonferenz 2018) (20)

KoprowskiT_SQLSat419_WADBforBeginners
KoprowskiT_SQLSat419_WADBforBeginnersKoprowskiT_SQLSat419_WADBforBeginners
KoprowskiT_SQLSat419_WADBforBeginners
 
IaaS azure_vs_amazon
IaaS azure_vs_amazonIaaS azure_vs_amazon
IaaS azure_vs_amazon
 
Moving to the cloud; PaaS, IaaS or Managed Instance
Moving to the cloud; PaaS, IaaS or Managed InstanceMoving to the cloud; PaaS, IaaS or Managed Instance
Moving to the cloud; PaaS, IaaS or Managed Instance
 
Stay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithStay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolith
 
Azure en Nutanix: your journey to the hybrid cloud
Azure en Nutanix: your journey to the hybrid cloudAzure en Nutanix: your journey to the hybrid cloud
Azure en Nutanix: your journey to the hybrid cloud
 
AWS 201 - A Walk through the AWS Cloud: What's New with AWS
AWS 201 - A Walk through the AWS Cloud: What's New with AWSAWS 201 - A Walk through the AWS Cloud: What's New with AWS
AWS 201 - A Walk through the AWS Cloud: What's New with AWS
 
Microservices in Azure
Microservices in AzureMicroservices in Azure
Microservices in Azure
 
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
 
Navigating the turbulence on takeoff: Setting up SharePoint on Azure IaaS the...
Navigating the turbulence on takeoff: Setting up SharePoint on Azure IaaS the...Navigating the turbulence on takeoff: Setting up SharePoint on Azure IaaS the...
Navigating the turbulence on takeoff: Setting up SharePoint on Azure IaaS the...
 
ECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASS
ECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASSECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASS
ECS19 - Mustafa Toroman, Sasa Kranjac - SOUP TO NUTS: MICROSOFT AZURE POWERCLASS
 
KoprowskiT_session1_SDNEvent_WASDforBeginners
KoprowskiT_session1_SDNEvent_WASDforBeginnersKoprowskiT_session1_SDNEvent_WASDforBeginners
KoprowskiT_session1_SDNEvent_WASDforBeginners
 
Database Modernization
Database ModernizationDatabase Modernization
Database Modernization
 
Microservices in Azure
Microservices in AzureMicroservices in Azure
Microservices in Azure
 
What's New for the Windows Azure Developer? Lots!!
What's New for the Windows Azure Developer?  Lots!!What's New for the Windows Azure Developer?  Lots!!
What's New for the Windows Azure Developer? Lots!!
 
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
WebCenter as a Cloud App on Exalogic – A Case Study on Virtualization and Per...
 
O365Con18 - Running SharePoint on Azure Tips - Jared Shockley
O365Con18 -  Running SharePoint on Azure Tips - Jared ShockleyO365Con18 -  Running SharePoint on Azure Tips - Jared Shockley
O365Con18 - Running SharePoint on Azure Tips - Jared Shockley
 
KoprowskiT_SQLSatMoscow_WASDforBeginners
KoprowskiT_SQLSatMoscow_WASDforBeginnersKoprowskiT_SQLSatMoscow_WASDforBeginners
KoprowskiT_SQLSatMoscow_WASDforBeginners
 
Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...
Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...
Pieter de Bruin (Microsoft) - Welke technologie gebruiken bij implementatie M...
 
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
 
Azure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdfAzure-Backup-Presentation-Chico-7-22-2019-1.pdf
Azure-Backup-Presentation-Chico-7-22-2019-1.pdf
 

Recently uploaded

"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
chumtiyababu
 

Recently uploaded (20)

"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 

AzureSQL Managed Instance (SQLKonferenz 2018)

  • 1. Azure SQL Database Managed Instance Jovan Popovic Microsoft
  • 2. Jovan Popovic • Program Manager, Microsoft • Parallel Data Warehouse • SQL Server 2016-2017 • JSON, Temporal, T-SQL, In-memory OLTP, Columnstore • Azure SQL Database • Automatic tuning • Managed Instance
  • 3. Agenda • Introduction • Architecture • Infrastructure • App connectivity • Database Migration
  • 5. What is Managed Instance? • Fully-fledged SQL instance with nearly 100% compatibility with on-prem SQL Server • Built on the same PaaS service infrastructure • All PaaS features • Native VNET implementation • Private IP addresses • Competitive • Transparent • Frictionless Lift & shift Fully managed Isolation Business model A flavor of SQL DB designed to enable easy migration to fully managed PaaS, for almost any application! Azure SQL (PaaS) Elastic Pool Managed Instance Database
  • 6. • On-premises data centers are starting cloud migration • Enterprise customers prefer PaaS over IaaS • Cloud adoption blockers (on-prem perspective) • No instance model • Lack of VNET isolation • Surface area gaps • Cloud business model gaps Why SQL Managed Instance? Managed Instance brings PaaS closer to you!
  • 7. Easy migration: nearly 100% like SQL Server Note: some features will be added in stages until General Availability of Managed Instance Security • TDE • SQL Audit • Row level security • Always Encrypted
  • 8. Cloud business model • Database throughput units (DTU) • Boundary class • CPU • Memory • Data IO • Log IO This model might be confusing in cloud migration cases.
  • 9. New business model • Pay for real resources • CPU – 8, 16, 24 cores • Storage – up to 8TB • 32GB included • Memory included • Fixed amount of memory per core • Unbound IO • Depends on Azure storage performance
  • 10. Focus on your business… 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
  • 11. Back-end subnet Removing security & isolation concerns SQL Instance #1 SQL Instance #2 VPN tunnel or provider network оn-premisesVPN / Express Route Gateway SQL Instance #3 Network isolation (customer VNET) Isolated instances (compute, storage) in “Virtual cluster” Customer Subnet with private IP range Customer VNET with subnets and NSG VNet-to-subnet On-premises Azure VNet Management Service Linked server Linked server, db_mail “VM” Injected in customer VNET
  • 12. Front-end subnet Removing security & isolation concerns SQL Instance #1 SQL Instance #2 VPN tunnel or provider network оn-premisesVPN / Express Route Gateway SQL Instance #3 VNet-to-subnet Network isolation (customer VNET) Tenant isolation (compute, storage) Web app (public IP) On-premises Azure VNet Customer Subnet with private IP range Customer VNET with subnets and NSG
  • 13. Removing security & isolation concerns SQL Instance #1 SQL Instance #2 VPN tunnel or provider network оn-premisesVPN / Express Route Gateway SQL Instance #3 Tenant isolation (compute, storage) VNET Web app (public IP)Front-end Subnet Subnet 2
  • 14. Removing security & isolation concerns SQL Instance #1 SQL Instance #2 оn-premises SQL Instance #3 VNET Web app (public IP) Front-end Subnet Back-end Subnet Existing domain user Auth. Azure AD Existing AD ADFS
  • 16. Managed Instance types • General Purpose • Preview: March 2018 • Standard workloads • Fast recovery • Up to 8TB storage* • Will be increased until GA • Business Critical • Preview: May 2018 • Low latency workloads • Always On • Up to 4TB storage • Read scale-out
  • 17. General Purpose Instance • Separated compute & storage • 200 Azure Premium Disk • Limits: 8TB, 100 databases • One file per disk • System databases are on local SSD
  • 18. Premium Disk Performance • Depends on disk size • Monitor using sys.dm_io_virtual_file_stats <128GB <512GB <1TB >2TB IOPS 500 2300 5000 7500 Throughput 100 MB/s 150 MB/s 200 MB/s 250 MB/s
  • 19. Business Critical Instance • Integrated compute and storage • Low latency workloads • Local SSD per node • Predictable IO performance • Always On Availability Group • Automatic failover • Failover within subnet
  • 21. • Subnet for Managed Instances • Cannot contain other resources • Has enough addresses • 2 addresses for each GP instance • 4 addresses for each BC instance • 4 additional addresses • Address range cannot be increased while the resources are in the subnet Subnet SQL Instance #1 SQL Instance #2 Network configuration • Private resource in customer VNET Public user Instance on private IP within the subnet range
  • 22. Gateway subnet Peered network App subnet MI subnet Peering channel On-prem app 1 SQL Instance #1 SQL Instance #2 3 Express Route / VPN Gateway “VNET Integrated” web app IaaS hosted app5 App Service Environment 6 7 “VNET Integrated” web app (peered VNET) App integration options App subnet App subnet 4 App Service Environment 2 IaaS hosted app
  • 23. Gateway subnet Peered network App subnet MI subnet App subnet Peering channel On-prem app 1 2 SQL Instance #1 SQL Instance #2 App Service Environment IaaS hosted app 3 4 Express Route / VPN Gateway “VNET Integrated” web app IaaS hosted app5 App Service Environment 6 Networking policies No other resources Minimal range: 16 addresses No NSGs No user route tables No effective routes Azure DNS in the list of DNSs ANY networking policy ANY networking policy Incorrect configuration may make instances inaccessible These constraints will be relaxed or completely removed in GA!
  • 24. Preparing for migration • Managed Instance is pre-configured cloud service • Some features not available • High-availability • SIMPLE/BULK LOGGED • Change service broker • Windows specific • Windows logins • Network shares • xp_cmdshell/local file system • FILESTREAM • Compatibility check • Data Migration Assistant • T-SQL scripts • Offline migration • Native RESTORE from Azure Blob Storage • RESTORE from network shares is currently not supported • .bacpac/.dacpac • Online migration • Data Migration Service • Log Reply API • Log shipping – still not supported
  • 25. Instance subnet SQL Instance #1 storage account RESTORE 12 BACKUP TO AZURE SQL Server on VM/on-prem Offline migration: Native backup/restore
  • 26. Database Migration Service • Fully managed, reliable and seamless, migration service for both operational databases and data warehouses • Minimal down time migrations • Homogeneous and heterogeneous source-target pairs
  • 28. Conclusion • Azure SQL Database Managed Instance is the best PaaS destination for your on-prem databases • Combines best from Azure SQL Database and SQL Server

Editor's Notes

  1. 4 min
  2. 4 min
  3. 4 min
  4. 1 min
  5. 1 min
  6. 2 min (can skip if needed)