SlideShare a Scribd company logo
1 of 72
Marco Obinu
Sponsors
Marco Obinu
Advisory Engineer
SoftJam S.p.A.
@OmegaMadLab
marco.obinu@omegamadlab.com
http://www.omegamadlab.com
https://github.com/OmegaMadLab
https://www.linkedin.com/in/marco-obinu-omegamadlab/
https://www.youtube.com/channel/UCpkBeQSscC1iBvpNP4VNTKQ
ā€¢ Geek to the bone ļŠ
ā€¢ Microsoft Azure MVP
Speaker Bio
Once upon a time, a nerdy
team was very good at
administrating their old-
fashioned on-premises
databasesā€¦
ā€¦ suddenly, the Business came
and said: We need to
move to to
the Cloud!
After a little
while of discouragementā€¦
ā€¦ dbas started studyingā€¦
ā€¦ and quickly discovered that
Azure is the
right choice
for SQL Server
workloads!
Why Azure?
Everything built-in!
Business continuity
High availability
Automated backups
Long term backup
retention
Geo-replication
Scale
Advanced security
Automatic tuning
Built-in monitoring
Built-in intelligence
https://www.aka.ms/gigaom_benchmark
Ok, Azure is the
right choice.
But how can we move our
workloads?
Ok, Azure is the
right choice.
But how can we move our
workloads?
Ok, Azure is the
right choice.
But how can we move our
workloads?
Ok, Azure is the
right choice.
But how can we move our
workloads?
Define your strategy
Choose the right pattern
Whatā€™s Lift & Shift?
Rehostā€“ L&S
No changes
Quick & dirty
TCO reduction šŸ˜
Replatform
Few changes
Minimal effort
TCO reduction šŸ™‚
Refactor
Rethink your app
Requires time
TCO reduction šŸ™‚
Define your migration path
Migration path
Pre-migration Migration Post-Migration
https://aka.ms/datamigration
Migration path
Pre-migration Migration Post-Migration
https://aka.ms/datamigration
Pre-migration phase
Where everything begins
ā€¢ Architectural design
ā€¢ Schema remediation
plan
ā€¢ Hardware
ā€¢ CPU, RAM, DISK
ā€¢ Software
ā€¢ SQL Version, other components
Define
requirements
ā€¢ Compliance requirements
ā€¢ Network
ā€¢ Dependencies
Environment
integration
ā€¢ Feauture compatibility
ā€¢ Deprecated syntax
Assess
schema
Pre-migration phase
Know your enemy
ā€¦or at least your Azure landing zone!
What kind of service model?
IaaS
MANAGEDBYVENDOR
APPLICATION
HYPERVISOR
OS
RUNTIME
DATA
STORAGE
NETWORK
YOUMANAGE
SERVERS
MANAGEDBYVENDOR
APPLICATION
HYPERVISOR
OS
RUNTIME
DATA
STORAGE
NETWORK
PaaS
YOUMANAGE
SERVERS
IaaS
PaaS
Azure SQL offering
Databases
ā€¢ Fully managed service ā€¢ Resource sharing
between multiple
databases to price
optimize
ā€¢ Simplified performance
management for
multiple databases
ā€¢ Fully managed service
PaaS
SQL virtual machines
ā€¢ SQL Server and OS
server access
ā€¢ Expansive SQL And OS
version support
ā€¢ Automated
manageability features
for SQL Server
IaaS
Azure SQL Virtual MachinesBest for
ā€¢ The contract on my hardware is
expiring
ā€¢ I have instances of SQL Server
2008 and 2008 R2
ā€¢ I want to migrate to the cloud as
fast as possible
ā€¢ I use third party software that
needs OS-level access
ā€¢ I want to extend our on-
premises apps to Azure
ā€¢ I need an unlimited number of
DBs
ā€¢ I need ultra performance
ā€¢ I want to build a modern multi-
tenant SaaS app
ā€¢ I want to use a database with
dedicated resources and
predictable performance
ā€¢ I want to independently scale
compute and storage in my
database
ā€¢ I want to have unlimited
databases storage when I need
it
ā€¢ I want to build a mission critical
application with highest uptime
ā€¢ I want to integrate Azure
services into my applications
Azure SQL DatabaseBest for
Azure SQL offering
Databases
ā€¢ Fully managed service ā€¢ Resource sharing
between multiple
databases to price
optimize
ā€¢ Simplified performance
management for
multiple databases
ā€¢ Fully managed service
PaaS
SQL virtual machines
ā€¢ SQL Server and OS
server access
ā€¢ Expansive SQL And OS
version support
ā€¢ Automated
manageability features
for SQL Server
IaaS
Azure SQL offering
Databases
ā€¢ Fully managed service
ā€¢ Hyperscale storage (up
to 100TB)
ā€¢ Serverless compute
ā€¢ Resource sharing
between multiple
databases to price
optimize
ā€¢ Simplified performance
management for
multiple databases
ā€¢ Fully managed service
PaaS
SQL virtual machines
ā€¢ SQL Server and OS
server access
ā€¢ Expansive SQL And OS
version support
ā€¢ Automated
manageability features
for SQL Server
IaaS
Managed instances
ā€¢ SQL Server surface area
(vast majority)
ā€¢ Native virtual network
support
ā€¢ Fully managed service
ā€¢ Pre-provision compute
resources for migration
ā€¢ Enables cost-efficient
migration.
ā€¢ Ability to host smaller
instances (2Vcore)
ā€¢ Currently in public
preview
Do you need any of these?
ā€¦then, choose a
Managed Instance!
ā€¢ I want to migrate to Azure but
donā€™t need OS access
ā€¢ I want to reduce overhead and
stress of maintain high
availability.
ā€¢ I need instance-scoped features
like SQL Server Agent,
Transactional Replication, and
Database Mail
Azure SQL managed instanceBest for
Myth-busting Azure SQL VMs
I want a VM because itā€™s easy to size
Choosing a VM can be a challenging task
Family, series and size of the VM also affects:
ā€¢ Access to Premium Storage
ā€¢ Computing power
ā€¢ Disk throughput & number of data disks
ā€¢ Cache and Temporary disk size & throughput
ā€¢ Network bandwidth & Accelerated Network
DS12v2 ā€“ 4 core 28 GB
ACU 210-250
Cached tp. 16000/128 (144)
Uncached tp. 12800/192
NIC/Mbps 4/3000
DS13v2 ā€“ 8 core 56 GB
ACU 210-250
Cached tp. 32000/256 (288)
Uncached tp. 25600/384
NIC/Mbps 8/6000
Esv3 ā€“ 8 core 64 GB
ACU 160-180
Cached tp. 16000/128 (200)
Uncached tp. 12800/192
NIC/Mbps 4/4000
Azure Storage
(remote storage)
Virtualization host
OsDisk DataDisk DataDisk
VM
VM NIC vSwitch Host NIC
BlobCache (local storage)
TempDisk
RAM cache
SSD cache
More info on this topic:
https://youtu.be/7o80CJUtnh4
Pre-packaged, bundled unit that represents the
database power
Designed for predictable performance, but somewhat inflexible and
limited in options
DTU sizing offers simplicity of choice
Storage
Compute
Storage
Compute
vCore model
Independent scalability
DTU model
Simple, preconfigured
This model allows you to independently choose compute and storage
resources. It also allows you to use Azure Hybrid Benefit for SQL Server to
gain cost savings.
Best for customers who value flexibility, control and transparency
PaaS: choosing the right purchasing model
PaaS: vCore model
ā€¢ Simplicity
ā€¢ We remain committed to the DTU-
based model and the simplicity it
offers customers who want a pre-
configured solution
ā€¢ Flexibility:
ā€¢ The vCore-based model reflects our
commitment to customer choice
and to simplify the hybrid benefit
for customers migrating from on-
premises
ā€¢ Customers pay for:
ā€¢ Service tier + number of vCores
ā€¢ Type and amount of data storage
ā€¢ Number of IO
ā€¢ Backup storage (RA-GRS)
Service tier General purpose Business critical Hyperscale
Best for
Most budget-oriented
workloads
Critical business applications
with high IO requirements.
VLDB OLTP and HTAP workloads
with highly scalable storage and
read-scale requirements
Deployment
option
Single /
Elastic Pools
Managed
Instance
Single /
Elastic Pools
Managed
Instance
Single
Compute tiers
Gen4: 1 to 24 vCore
Gen5: 2 to 80 vCore
Gen4: 4 to 24 vCore
Gen5: 4 to 80 vCore
Gen4: 1 to 24 vCore
Gen5: 2 to 80 vCore
Gen4: 4 to 24 vCore
Gen5: 4 to 80 vCore
Gen4: 1 to 24 vCore
Gen5: 2 to 80 vCore
Storage
Premium remote Local SSD Local SSD Cache
5GB ā€“ 4TB per
instance
32GB ā€“ 8TB per
instance
5GB ā€“ 4TB per
instance
32GB ā€“ 8TB per
instance
Scale from 5GB to 100TB of storage
in 1GB increments
In-Memory Not supported Supported Not supported
Read-write IO <5-10ms for all data access <3ms for all data access
<0.5ms for hot data access
~2ms otherwise
Availability 2 replicas
3 replicas, 1 read-scale replica,
zone-redundant HA
Primary read/write replica + up to 4
read replicas
Backups
RA-GRS, 7-35 days (7 days by
default)
RA-GRS, 7-35 days (7 days by
default)
LRS, ZRS, RA-GRS, 7-35 days (7 days
by default)
ā€¢ Scalable new tiered storage architecture
ā€¢ Architected for cloud
ā€¢ Fully compatible with Azure SQL
Database
ā€¢ Scale compute and storage separately
ā€¢ Scale up in constant time.
ā€¢ Support for 100TB+ Infinite Log
ā€¢ Supports 4 Read replicas
ā€¢ Restore in constant time
ā€¢ No impact of backups on compute
ā€¢ No impact of checkpoints on compute
ā€¢ Accelerated database recovery
Hyperscale Architecture
Compute
Page
Servers
Remote
Data
Storage
P S S S
Log
Service
128GB128GB
1
32
128GB128GB
1
32
128GB128GB
1
32
128GB128GB
1
32
SQL Database Serverless
On-demand flexible scale
Operate at the true rhythm of
your business
Fully managed & intelligent
Focus on your applications, not
your infrastructure
Cost-effective
Pay for performance. Period.
Adapts compute resources to the
workload without sacrificing
performance
Automatically pauses and resumes
Fully-managed and intelligent
database service
Built-in 99.99% availability
Pay only for compute resources
you consume, on a per-second
basis
Further optimize costs with
configurable compute thresholds
Best for unpredictable and intermittent workloads
on single databases, such as:
Dev/test E-commerceLine of Business
Min vcores
CPU usage
Inactive Paused
Max vcores Vcores used Vcores billed
Myth-busting Azure SQL VMs
A single VM is enough!
HA is provided by the Hypervisor
SQL VM BCDR: roles and responsibilities
ā€¢ Microsoft
ā€¢ High availability at data center lever ļ‹
ā€¢ Customer
ā€¢ Everything ļ‹
Microsoft
Customer
VM and SLAs
STANDARD PREMIUM
SQL Server HADR solutions for Azure IaaS
SQL Server HA solutions for Azure IaaS
Load
balancer
Clustered IP
Local
storage
AG Replica
Local
storage
Load
balancer
Clustered IP
Storage
replica
Local
storage
Local
storage
S2D
Load
balancer
Clustered IP
Azure Premium File Share
Load
balancer
Clustered IP
Shared disk
Availability
Groups
SQL FCI
S2D
SQL FCI
PFS
SQL FCI
Shared Disk
Preview
PaaS BCDR: roles and responsibilities
ā€¢ Microsoft
ā€¢ Geo-distrubuted service
ā€¢ Customer metadata protection and recovery
ā€¢ Transparent high availability and data protection from local platform failures
ā€¢ Automatic geo-distributed backups
ā€¢ Automatic data sync of geo-replicated databases
ā€¢ Platform compliance testing and certification
ā€¢ Alert to impacted customers during regional failures
ā€¢ Customer
ā€¢ Implementing retry login in your application
ā€¢ Detecting user errors and initiating point-in-time restore
ā€¢ Planning, database prioritization, and region selection for disaster recovery
ā€¢ Initiating geo-restore to selected region
ā€¢ Application disaster recovery drills
Microsoft
Customer
PaaS: General Purpose Architecture
Redundant node
Active compute node
Azure storage account
Scaled node
Separation of compute and storage
ā€¢ Stateless compute VM
ā€¢ TempDB on local SSD
ā€¢ Data and log on remote Premium Storage
Property Value
vCores 1-80
Memory 5.1 GB/core
IO latency 5-10ms
IOPS Up to 40K
Load Up to22MB/s
ā€¢ All databases on local SSD (NVMe)
ā€¢ Failed node is replaced with the spare
PaaS: Business Critical Architecture
Secondary endpoint
(read-only)
Primary endpoint
(read-write)
Always On AG
Super-fast SSD
Secondary replicaPrimary replica
Secondary replicaSecondary replicaSpare node
Secondary replica
Property Value
vCores 1-80
Memory 5.1/7 GB/core
IO latency < 3 ms
IOPS Up to 110K
Load 48 MB/s
In-memory OLTP 3GB-130GB
Myth-busting Azure SQL VMs
PaaS is accessed via a public endpoint.
A VM is more secure!
Azure SQL Networking
On-prem datacenter
Vnet 10.0.0.0/16
Subnet 10.0.2.0/24
Vnet 192.168.0.0/16
Subnet 10.0.1.0/24
Subnet 10.0.2.0/24
Peering
Vnet integration
Service
Endpoint
Subnet 10.0.4.0/24
Private Link
Private IP
Subnet 10.0.5.0/24
Subnet 10.0.3.0/24
PaaS: Enterprise-class Security Controls
Advanced Threat Detection
Azure SQL DatabaseApps
Audit
Log
Threat Detection
(1) Turn on Threat Detection
(3) Real-time actionable alerts
(2) Possible threat to
access / breach data
Myth-busting Azure SQL VMs
I want a VM to reuse my own licenses!
And PaaS is so expensiveā€¦
Licensing models and cost-saving options
ā€“ pay attention to passive nodes!
ļƒ¼ AHB works also for Windows license
ļƒ¼ SQL 2019 licensing benefits
ļƒ¼ Require Software Assurance
ļƒ¼ License for DR node is Ā«includedĀ»
ļƒ¼ Developer Edition
Azure Hybrid Benefit for SQL Server (PaaS)
License trade-in values
General purpose or
Hyperscale vCore
4x General purpose or
Hyperscale vCores
Business critical
vCore
SQL Server cores
with SA license
vCores on Azure
SQL Database
SQL Server
Enterprise Edition
SQL Server
Standard Edition
ļ‚ž Take an inventory of on-premises licenses
to determine potential for conversion
ļ‚ž Convert on-premises cores to vCores to
maximize value of investments
A simple comparison with the public calculator
Service type Region Description Estimated monthly cost
Virtual Machines West Europe
2 D8s v3 (8 vCPU(s), 32 GB RAM) x 730 Hours; Windows ā€“ (OS Only);
Pay as you go; 2 managed OS disks ā€“ P10
ā‚¬1.080,64
Storage Accounts West Europe Managed Disks, Premium SSD, P20 Disk Type 4 Disks, Pay as you go ā‚¬271.68
Azure SQL Database West Europe
Managed Instance, vCore Purchase Model, General Purpose Tier,
Single Instance, Provisioned, Gen 5, 1 8 vCore instance(s) x 730
Hours, 1,024 GB Storage, 0 GB Backup Storage
ā‚¬939,10
VM vs Managed Instance
Service type Region Description Estimated monthly cost
Virtual Machines West Europe
2 D8s v3 (8 vCPU(s), 32 GB RAM) x 730 Hours; Windows ā€“ SQL
Server; Pay as you go; 2 managed OS disks ā€“ P10
ā‚¬2.065,61
Storage Accounts West Europe Managed Disks, Premium SSD, P20 Disk Type 4 Disks, Pay as you go ā‚¬271.68
Azure SQL Database West Europe
Managed Instance, vCore Purchase Model, General Purpose Tier,
Single Instance, Provisioned, Gen 5, 1 8 vCore instance(s) x 730 Hours,
1,024 GB Storage, 0 GB Backup Storage
ā‚¬1.431,42
With
Azure Hybrid Benefit
Pay-as-you-go
https://azure.microsoft.com/it-it/pricing/calculator/
Did we miss something??
Myth-busting Azure SQL VMs
I really need a VM, sob šŸ˜„
Iā€™ll miss all that managed featuresā€¦
Azure SQL Database
Everything built-in!
Business continuity
High availability
Automated backups
Long term backup retention
Geo-replication
Scale
Advanced security
Automatic tuning
Built-in monitoring
Built-in intelligence
Azure SQL Database
Everything built-in!
Business continuity
High availability
Automated backups
Long term backup retention
Geo-replication
Scale
Advanced security
Automatic tuning
Built-in monitoring
Built-in intelligence
configurable
VMs
SQL IaaS VM Resource Provider
Azure VMs are now discoverable
on the new Azure SQL blade
in Azure Marketplace
Self-installed VMs registered with
RP now can access automation
features in
Azure Marketplace images
Self-installed VMs with RP
can be easily converted
to PAYG images
Self-installed VMs with RP
automatically indicate usage
of Azure Hybrid Benefit
Learn more aka.ms/sqlvm_rp and aka.ms/sqlvm_rp_documentation
Pre-migration phase
The tools
Pre-migration tools
ā€¢ Database Migration Assistant
ā€¢ PAL and performance counter
ā€¢ Diagnostic queries
ā€¢ MAP Toolkit
ā€¢ Azure Monitor ā€“ Service Map solution
Database Migration Assistant
https://docs.microsoft.com/en-us/sql/dma/dma-overview?view=sql-server-ver15
Pre-migration tools
ā€¢ Database Migration Assistant
ā€¢ PAL and performance counter
ā€¢ Diagnostic queries
ā€¢ MAP Toolkit
ā€¢ Azure Monitor ā€“ Service Map solution
Azure Monitor - Service Map solution
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/service-map
Azure Monitor - Service Map solution
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/service-map
Migration phase
Migration
BACPAC
Backup/Restore Export to BACPAC Azure DMS
https://dbatools.io
For everything else, thereā€™s šŸ˜
More info on this topic:
https://vimeo.com/321092681
Azure Database Migration Service
ā€¢ Azure deployment
ā€¢ Standard tier ļƒ  offline migrations
ā€¢ Premium tier ļƒ  online migrations
ā€¢ Hybrid deployment (preview)
Post-migration phase
Post-Migration
Assess
RemediateTest
Post-Migration ā€“ Tools
ā€¢ A/B Testing
ā€¢ Database Experimentation Assistant (DEA)
ā€¢ Workload Tools by @SpaghettiDBA
Record
workload
Replay on
source and
establish a
baseline
Replay on
destination
Compare
results
https://docs.microsoft.com/en-us/sql/dea/database-experimentation-assistant-overview?view=sql-server-ver15
https://github.com/spaghettidba/WorkloadTools
Post-Migration ā€“ Tools
ā€¢ QueryStore
https://docs.microsoft.com/en-us/sql/relational-databases/performance/monitoring-performance-by-using-the-query-store?view=sql-server-ver15
https://docs.microsoft.com/it-it/sql/relational-databases/performance/query-store-usage-scenarios?view=sql-server-ver15
Post-Migration ā€“ Tools
ā€¢ Monitoring
ā€¢ Azure Monitor (Azure SQL Analytics and VM Insights)
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/azure-sql
https://docs.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-overview
Useful links
ā€¢ Azure SQL IaaS playground
ā€¢ https://github.com/OmegaMadLab/SqlIaasVmPlayground
ā€¢ SQL-optimized-VM ARM template
ā€¢ https://github.com/OmegaMadLab/OptimizedSqlVm-v2
ā€¢ Database migration guide
ā€¢ https://aka.ms/datamigration
ā€¢ DBATools PowerShell module
ā€¢ https://dbatools.io
ā€¢ SQL Server free workshops
ā€¢ https://microsoft.github.io/sqlworkshops/
Letā€™s keep
in touch!
@OmegaMadLab
marco.obinu@omegamadlab.com
http://www.omegamadlab.com
https://github.com/OmegaMadLab
https://www.linkedin.com/in/marco-obinu-omegamadlab/
https://www.youtube.com/channel/UCpkBeQSscC1iBvpNP4VNTKQ

More Related Content

What's hot

What's hot (20)

Blockchain for the DBA and Data Professional
Blockchain for the DBA and Data ProfessionalBlockchain for the DBA and Data Professional
Blockchain for the DBA and Data Professional
Ā 
AWS vs. Azure vs. Google vs. SoftLayer: Network, Storage and DBaaS
AWS vs. Azure vs. Google vs. SoftLayer: Network, Storage and DBaaSAWS vs. Azure vs. Google vs. SoftLayer: Network, Storage and DBaaS
AWS vs. Azure vs. Google vs. SoftLayer: Network, Storage and DBaaS
Ā 
Is "Free" Good Enough for Your MySQL Environment?
Is "Free" Good Enough for Your MySQL Environment?Is "Free" Good Enough for Your MySQL Environment?
Is "Free" Good Enough for Your MySQL Environment?
Ā 
Spark 101 ā€“ First Steps To Distributed Computing - Demi Ben-Ari @ Ofek Alumni
Spark 101 ā€“ First Steps To Distributed Computing - Demi Ben-Ari @ Ofek AlumniSpark 101 ā€“ First Steps To Distributed Computing - Demi Ben-Ari @ Ofek Alumni
Spark 101 ā€“ First Steps To Distributed Computing - Demi Ben-Ari @ Ofek Alumni
Ā 
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Migrate from SQL Server or Oracle into Amazon Aurora using AWS Database Migra...
Ā 
AWS re:Invent 2016: Best Practices for Data Warehousing with Amazon Redshift ...
AWS re:Invent 2016: Best Practices for Data Warehousing with Amazon Redshift ...AWS re:Invent 2016: Best Practices for Data Warehousing with Amazon Redshift ...
AWS re:Invent 2016: Best Practices for Data Warehousing with Amazon Redshift ...
Ā 
Azure SQL Managed Instance - SqlBits 2019
Azure SQL Managed Instance - SqlBits 2019Azure SQL Managed Instance - SqlBits 2019
Azure SQL Managed Instance - SqlBits 2019
Ā 
Impact of cloud services on the work of oracle technology experts
Impact of cloud services on the work of oracle technology expertsImpact of cloud services on the work of oracle technology experts
Impact of cloud services on the work of oracle technology experts
Ā 
Cassandra at eBay - Cassandra Summit 2013
Cassandra at eBay - Cassandra Summit 2013Cassandra at eBay - Cassandra Summit 2013
Cassandra at eBay - Cassandra Summit 2013
Ā 
High Availability in Microsoft Azure
High Availability in Microsoft AzureHigh Availability in Microsoft Azure
High Availability in Microsoft Azure
Ā 
How to Set Up ApsaraDB for RDS on Alibaba Cloud
How to Set Up ApsaraDB for RDS on Alibaba CloudHow to Set Up ApsaraDB for RDS on Alibaba Cloud
How to Set Up ApsaraDB for RDS on Alibaba Cloud
Ā 
2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud2019 - OOW - Database Migration Methods from On-Premise to Cloud
2019 - OOW - Database Migration Methods from On-Premise to Cloud
Ā 
Webinar | Introducing DataStax Enterprise 4.6
Webinar | Introducing DataStax Enterprise 4.6Webinar | Introducing DataStax Enterprise 4.6
Webinar | Introducing DataStax Enterprise 4.6
Ā 
SQL Server 2014 New Features
SQL Server 2014 New FeaturesSQL Server 2014 New Features
SQL Server 2014 New Features
Ā 
Review Oracle OpenWorld 2015 - Overview, Main themes, Announcements and Future
Review Oracle OpenWorld 2015 - Overview, Main themes, Announcements and FutureReview Oracle OpenWorld 2015 - Overview, Main themes, Announcements and Future
Review Oracle OpenWorld 2015 - Overview, Main themes, Announcements and Future
Ā 
Running SQL Server on AWS | John McCormack | DataGrillen 2019
Running SQL Server on AWS | John McCormack | DataGrillen 2019Running SQL Server on AWS | John McCormack | DataGrillen 2019
Running SQL Server on AWS | John McCormack | DataGrillen 2019
Ā 
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
Ā 
Azure PaaS databases
Azure PaaS databasesAzure PaaS databases
Azure PaaS databases
Ā 
Migrating and Running DBs on Amazon RDS for Oracle
Migrating and Running DBs on Amazon RDS for OracleMigrating and Running DBs on Amazon RDS for Oracle
Migrating and Running DBs on Amazon RDS for Oracle
Ā 
AWS RDS Oracle - What is missing for a fully managed service?
AWS RDS Oracle - What is missing for a fully managed service?AWS RDS Oracle - What is missing for a fully managed service?
AWS RDS Oracle - What is missing for a fully managed service?
Ā 

Similar to Sql Start! 2020 - SQL Server Lift & Shift su Azure

Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Andrew Miller
Ā 
Virtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowVirtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - Varrow
Andrew Miller
Ā 

Similar to Sql Start! 2020 - SQL Server Lift & Shift su Azure (20)

Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Ā 
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
Ā 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?
Ā 
Virtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowVirtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - Varrow
Ā 
Help, I need to migrate my On Premise Database to Azure, which Database Tier ...
Help, I need to migrate my On Premise Database to Azure, which Database Tier ...Help, I need to migrate my On Premise Database to Azure, which Database Tier ...
Help, I need to migrate my On Premise Database to Azure, which Database Tier ...
Ā 
Building Scalable Applications with Microsoft Azure
Building Scalable Applications with Microsoft AzureBuilding Scalable Applications with Microsoft Azure
Building Scalable Applications with Microsoft Azure
Ā 
Azure Data services
Azure Data servicesAzure Data services
Azure Data services
Ā 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
Ā 
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
Ā 
Azure IaaS Tanıtım - Kısa Anlatım
Azure IaaS Tanıtım - Kısa Anlatım Azure IaaS Tanıtım - Kısa Anlatım
Azure IaaS Tanıtım - Kısa Anlatım
Ā 
Nuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloudNuts and bolts of running a popular site in the aws cloud
Nuts and bolts of running a popular site in the aws cloud
Ā 
AWS Summit 2013 | Auckland - Building Web Scale Applications with AWS
AWS Summit 2013 | Auckland - Building Web Scale Applications with AWSAWS Summit 2013 | Auckland - Building Web Scale Applications with AWS
AWS Summit 2013 | Auckland - Building Web Scale Applications with AWS
Ā 
CCI2017 - Considerations for Migrating Databases to Azure - Gianluca Sartori
CCI2017 - Considerations for Migrating Databases to Azure - Gianluca SartoriCCI2017 - Considerations for Migrating Databases to Azure - Gianluca Sartori
CCI2017 - Considerations for Migrating Databases to Azure - Gianluca Sartori
Ā 
IaaS for DBAs in Azure
IaaS for DBAs in AzureIaaS for DBAs in Azure
IaaS for DBAs in Azure
Ā 
Taming the cost of your first cloud - CCCEU 2014
Taming the cost of your first cloud - CCCEU 2014Taming the cost of your first cloud - CCCEU 2014
Taming the cost of your first cloud - CCCEU 2014
Ā 
Introduction to Amazon EC2
Introduction to Amazon EC2Introduction to Amazon EC2
Introduction to Amazon EC2
Ā 
CloudOpen Japan - Controlling the cost of your first cloud
CloudOpen Japan - Controlling the cost of your first cloudCloudOpen Japan - Controlling the cost of your first cloud
CloudOpen Japan - Controlling the cost of your first cloud
Ā 
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...
Ā 
Azure DocumentDB Overview
Azure DocumentDB OverviewAzure DocumentDB Overview
Azure DocumentDB Overview
Ā 
Microsoft Azure Veri Servisleri
Microsoft Azure Veri ServisleriMicrosoft Azure Veri Servisleri
Microsoft Azure Veri Servisleri
Ā 

More from Marco Obinu

More from Marco Obinu (15)

Securing an Azure full-PaaS architecture - Data saturday #0001 Pordenone
Securing an Azure full-PaaS architecture - Data saturday #0001 PordenoneSecuring an Azure full-PaaS architecture - Data saturday #0001 Pordenone
Securing an Azure full-PaaS architecture - Data saturday #0001 Pordenone
Ā 
Implement a disaster recovery solution for your on-prem SQL with Azure? Easy!
Implement a disaster recovery solution for your on-prem SQL with Azure? Easy!Implement a disaster recovery solution for your on-prem SQL with Azure? Easy!
Implement a disaster recovery solution for your on-prem SQL with Azure? Easy!
Ā 
Infrastructure as Code on Azure - Show your Bicep! v0.2 - .NetConf 2020 by Do...
Infrastructure as Code on Azure - Show your Bicep! v0.2 - .NetConf 2020 by Do...Infrastructure as Code on Azure - Show your Bicep! v0.2 - .NetConf 2020 by Do...
Infrastructure as Code on Azure - Show your Bicep! v0.2 - .NetConf 2020 by Do...
Ā 
Infrastructure as Code on Azure: Show your Bicep!
Infrastructure as Code on Azure: Show your Bicep!Infrastructure as Code on Azure: Show your Bicep!
Infrastructure as Code on Azure: Show your Bicep!
Ā 
Azure VM 101 - HomeGen by CloudGen Verona - Marco Obinu
Azure VM 101 - HomeGen by CloudGen Verona - Marco ObinuAzure VM 101 - HomeGen by CloudGen Verona - Marco Obinu
Azure VM 101 - HomeGen by CloudGen Verona - Marco Obinu
Ā 
Global Azure Virtual 2020 What's new on Azure IaaS for SQL VMs
Global Azure Virtual 2020 What's new on Azure IaaS for SQL VMsGlobal Azure Virtual 2020 What's new on Azure IaaS for SQL VMs
Global Azure Virtual 2020 What's new on Azure IaaS for SQL VMs
Ā 
Azure Day Reloaded 2019 - React to infrastructure events with Azure Monitor
Azure Day Reloaded 2019 - React to infrastructure events with Azure MonitorAzure Day Reloaded 2019 - React to infrastructure events with Azure Monitor
Azure Day Reloaded 2019 - React to infrastructure events with Azure Monitor
Ā 
Azure Day Reloaded 2019 - ARM Template workshop
Azure Day Reloaded 2019 - ARM Template workshopAzure Day Reloaded 2019 - ARM Template workshop
Azure Day Reloaded 2019 - ARM Template workshop
Ā 
Sql Saturday 895 - SQL Server e PowerShell: from Zero to Hero
Sql Saturday 895 - SQL Server e PowerShell: from Zero to HeroSql Saturday 895 - SQL Server e PowerShell: from Zero to Hero
Sql Saturday 895 - SQL Server e PowerShell: from Zero to Hero
Ā 
Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...
Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...
Automazione serverless con Azure Functions e PowerShell - Marco Obinu - DevOp...
Ā 
Azure Saturday Pordenone 2019 - Reagire agli eventi di infrastruttura con Azu...
Azure Saturday Pordenone 2019 - Reagire agli eventi di infrastruttura con Azu...Azure Saturday Pordenone 2019 - Reagire agli eventi di infrastruttura con Azu...
Azure Saturday Pordenone 2019 - Reagire agli eventi di infrastruttura con Azu...
Ā 
SQL Saturday 871 - Sardegna 2019 - SQL Server DR on Azure
SQL Saturday 871 - Sardegna 2019 - SQL Server DR on AzureSQL Saturday 871 - Sardegna 2019 - SQL Server DR on Azure
SQL Saturday 871 - Sardegna 2019 - SQL Server DR on Azure
Ā 
SQL Start! 2019 - Ancona - Distribuisci ed amministra le tue istanze SQL Serv...
SQL Start! 2019 - Ancona - Distribuisci ed amministra le tue istanze SQL Serv...SQL Start! 2019 - Ancona - Distribuisci ed amministra le tue istanze SQL Serv...
SQL Start! 2019 - Ancona - Distribuisci ed amministra le tue istanze SQL Serv...
Ā 
Global Azure BootCamp 2019 - Verona - Ottimizzazione delle VM SQL Server su A...
Global Azure BootCamp 2019 - Verona - Ottimizzazione delle VM SQL Server su A...Global Azure BootCamp 2019 - Verona - Ottimizzazione delle VM SQL Server su A...
Global Azure BootCamp 2019 - Verona - Ottimizzazione delle VM SQL Server su A...
Ā 
Global Azure BootCamp 2019 - Verona - Azure Cloud Shell
Global Azure BootCamp 2019 - Verona - Azure Cloud ShellGlobal Azure BootCamp 2019 - Verona - Azure Cloud Shell
Global Azure BootCamp 2019 - Verona - Azure Cloud Shell
Ā 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
Ā 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
Ā 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
Ā 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
Ā 
šŸ¬ The future of MySQL is Postgres šŸ˜
šŸ¬  The future of MySQL is Postgres   šŸ˜šŸ¬  The future of MySQL is Postgres   šŸ˜
šŸ¬ The future of MySQL is Postgres šŸ˜
Ā 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Ā 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
Ā 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Ā 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
Ā 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
Ā 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
Ā 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Ā 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Ā 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Ā 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
Ā 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Ā 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Ā 
Finology Group ā€“ Insurtech Innovation Award 2024
Finology Group ā€“ Insurtech Innovation Award 2024Finology Group ā€“ Insurtech Innovation Award 2024
Finology Group ā€“ Insurtech Innovation Award 2024
Ā 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Ā 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Ā 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Ā 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Ā 

Sql Start! 2020 - SQL Server Lift & Shift su Azure

  • 3. Marco Obinu Advisory Engineer SoftJam S.p.A. @OmegaMadLab marco.obinu@omegamadlab.com http://www.omegamadlab.com https://github.com/OmegaMadLab https://www.linkedin.com/in/marco-obinu-omegamadlab/ https://www.youtube.com/channel/UCpkBeQSscC1iBvpNP4VNTKQ ā€¢ Geek to the bone ļŠ ā€¢ Microsoft Azure MVP Speaker Bio
  • 4. Once upon a time, a nerdy team was very good at administrating their old- fashioned on-premises databasesā€¦
  • 5. ā€¦ suddenly, the Business came and said: We need to move to to the Cloud!
  • 6. After a little while of discouragementā€¦
  • 7. ā€¦ dbas started studyingā€¦
  • 8. ā€¦ and quickly discovered that Azure is the right choice for SQL Server workloads!
  • 9. Why Azure? Everything built-in! Business continuity High availability Automated backups Long term backup retention Geo-replication Scale Advanced security Automatic tuning Built-in monitoring Built-in intelligence https://www.aka.ms/gigaom_benchmark
  • 10. Ok, Azure is the right choice. But how can we move our workloads?
  • 11. Ok, Azure is the right choice. But how can we move our workloads?
  • 12. Ok, Azure is the right choice. But how can we move our workloads?
  • 13. Ok, Azure is the right choice. But how can we move our workloads?
  • 14. Define your strategy Choose the right pattern
  • 15. Whatā€™s Lift & Shift? Rehostā€“ L&S No changes Quick & dirty TCO reduction šŸ˜ Replatform Few changes Minimal effort TCO reduction šŸ™‚ Refactor Rethink your app Requires time TCO reduction šŸ™‚
  • 17. Migration path Pre-migration Migration Post-Migration https://aka.ms/datamigration
  • 18. Migration path Pre-migration Migration Post-Migration https://aka.ms/datamigration
  • 20. ā€¢ Architectural design ā€¢ Schema remediation plan ā€¢ Hardware ā€¢ CPU, RAM, DISK ā€¢ Software ā€¢ SQL Version, other components Define requirements ā€¢ Compliance requirements ā€¢ Network ā€¢ Dependencies Environment integration ā€¢ Feauture compatibility ā€¢ Deprecated syntax Assess schema Pre-migration phase
  • 21. Know your enemy ā€¦or at least your Azure landing zone!
  • 22. What kind of service model? IaaS MANAGEDBYVENDOR APPLICATION HYPERVISOR OS RUNTIME DATA STORAGE NETWORK YOUMANAGE SERVERS MANAGEDBYVENDOR APPLICATION HYPERVISOR OS RUNTIME DATA STORAGE NETWORK PaaS YOUMANAGE SERVERS IaaS PaaS
  • 23. Azure SQL offering Databases ā€¢ Fully managed service ā€¢ Resource sharing between multiple databases to price optimize ā€¢ Simplified performance management for multiple databases ā€¢ Fully managed service PaaS SQL virtual machines ā€¢ SQL Server and OS server access ā€¢ Expansive SQL And OS version support ā€¢ Automated manageability features for SQL Server IaaS
  • 24. Azure SQL Virtual MachinesBest for ā€¢ The contract on my hardware is expiring ā€¢ I have instances of SQL Server 2008 and 2008 R2 ā€¢ I want to migrate to the cloud as fast as possible ā€¢ I use third party software that needs OS-level access ā€¢ I want to extend our on- premises apps to Azure ā€¢ I need an unlimited number of DBs ā€¢ I need ultra performance
  • 25. ā€¢ I want to build a modern multi- tenant SaaS app ā€¢ I want to use a database with dedicated resources and predictable performance ā€¢ I want to independently scale compute and storage in my database ā€¢ I want to have unlimited databases storage when I need it ā€¢ I want to build a mission critical application with highest uptime ā€¢ I want to integrate Azure services into my applications Azure SQL DatabaseBest for
  • 26. Azure SQL offering Databases ā€¢ Fully managed service ā€¢ Resource sharing between multiple databases to price optimize ā€¢ Simplified performance management for multiple databases ā€¢ Fully managed service PaaS SQL virtual machines ā€¢ SQL Server and OS server access ā€¢ Expansive SQL And OS version support ā€¢ Automated manageability features for SQL Server IaaS
  • 27. Azure SQL offering Databases ā€¢ Fully managed service ā€¢ Hyperscale storage (up to 100TB) ā€¢ Serverless compute ā€¢ Resource sharing between multiple databases to price optimize ā€¢ Simplified performance management for multiple databases ā€¢ Fully managed service PaaS SQL virtual machines ā€¢ SQL Server and OS server access ā€¢ Expansive SQL And OS version support ā€¢ Automated manageability features for SQL Server IaaS Managed instances ā€¢ SQL Server surface area (vast majority) ā€¢ Native virtual network support ā€¢ Fully managed service ā€¢ Pre-provision compute resources for migration ā€¢ Enables cost-efficient migration. ā€¢ Ability to host smaller instances (2Vcore) ā€¢ Currently in public preview
  • 28. Do you need any of these? ā€¦then, choose a Managed Instance!
  • 29. ā€¢ I want to migrate to Azure but donā€™t need OS access ā€¢ I want to reduce overhead and stress of maintain high availability. ā€¢ I need instance-scoped features like SQL Server Agent, Transactional Replication, and Database Mail Azure SQL managed instanceBest for
  • 30. Myth-busting Azure SQL VMs I want a VM because itā€™s easy to size
  • 31. Choosing a VM can be a challenging task Family, series and size of the VM also affects: ā€¢ Access to Premium Storage ā€¢ Computing power ā€¢ Disk throughput & number of data disks ā€¢ Cache and Temporary disk size & throughput ā€¢ Network bandwidth & Accelerated Network DS12v2 ā€“ 4 core 28 GB ACU 210-250 Cached tp. 16000/128 (144) Uncached tp. 12800/192 NIC/Mbps 4/3000 DS13v2 ā€“ 8 core 56 GB ACU 210-250 Cached tp. 32000/256 (288) Uncached tp. 25600/384 NIC/Mbps 8/6000 Esv3 ā€“ 8 core 64 GB ACU 160-180 Cached tp. 16000/128 (200) Uncached tp. 12800/192 NIC/Mbps 4/4000 Azure Storage (remote storage) Virtualization host OsDisk DataDisk DataDisk VM VM NIC vSwitch Host NIC BlobCache (local storage) TempDisk RAM cache SSD cache More info on this topic: https://youtu.be/7o80CJUtnh4
  • 32. Pre-packaged, bundled unit that represents the database power Designed for predictable performance, but somewhat inflexible and limited in options DTU sizing offers simplicity of choice Storage Compute Storage Compute vCore model Independent scalability DTU model Simple, preconfigured This model allows you to independently choose compute and storage resources. It also allows you to use Azure Hybrid Benefit for SQL Server to gain cost savings. Best for customers who value flexibility, control and transparency PaaS: choosing the right purchasing model
  • 33. PaaS: vCore model ā€¢ Simplicity ā€¢ We remain committed to the DTU- based model and the simplicity it offers customers who want a pre- configured solution ā€¢ Flexibility: ā€¢ The vCore-based model reflects our commitment to customer choice and to simplify the hybrid benefit for customers migrating from on- premises ā€¢ Customers pay for: ā€¢ Service tier + number of vCores ā€¢ Type and amount of data storage ā€¢ Number of IO ā€¢ Backup storage (RA-GRS) Service tier General purpose Business critical Hyperscale Best for Most budget-oriented workloads Critical business applications with high IO requirements. VLDB OLTP and HTAP workloads with highly scalable storage and read-scale requirements Deployment option Single / Elastic Pools Managed Instance Single / Elastic Pools Managed Instance Single Compute tiers Gen4: 1 to 24 vCore Gen5: 2 to 80 vCore Gen4: 4 to 24 vCore Gen5: 4 to 80 vCore Gen4: 1 to 24 vCore Gen5: 2 to 80 vCore Gen4: 4 to 24 vCore Gen5: 4 to 80 vCore Gen4: 1 to 24 vCore Gen5: 2 to 80 vCore Storage Premium remote Local SSD Local SSD Cache 5GB ā€“ 4TB per instance 32GB ā€“ 8TB per instance 5GB ā€“ 4TB per instance 32GB ā€“ 8TB per instance Scale from 5GB to 100TB of storage in 1GB increments In-Memory Not supported Supported Not supported Read-write IO <5-10ms for all data access <3ms for all data access <0.5ms for hot data access ~2ms otherwise Availability 2 replicas 3 replicas, 1 read-scale replica, zone-redundant HA Primary read/write replica + up to 4 read replicas Backups RA-GRS, 7-35 days (7 days by default) RA-GRS, 7-35 days (7 days by default) LRS, ZRS, RA-GRS, 7-35 days (7 days by default)
  • 34. ā€¢ Scalable new tiered storage architecture ā€¢ Architected for cloud ā€¢ Fully compatible with Azure SQL Database ā€¢ Scale compute and storage separately ā€¢ Scale up in constant time. ā€¢ Support for 100TB+ Infinite Log ā€¢ Supports 4 Read replicas ā€¢ Restore in constant time ā€¢ No impact of backups on compute ā€¢ No impact of checkpoints on compute ā€¢ Accelerated database recovery Hyperscale Architecture Compute Page Servers Remote Data Storage P S S S Log Service 128GB128GB 1 32 128GB128GB 1 32 128GB128GB 1 32 128GB128GB 1 32
  • 35. SQL Database Serverless On-demand flexible scale Operate at the true rhythm of your business Fully managed & intelligent Focus on your applications, not your infrastructure Cost-effective Pay for performance. Period. Adapts compute resources to the workload without sacrificing performance Automatically pauses and resumes Fully-managed and intelligent database service Built-in 99.99% availability Pay only for compute resources you consume, on a per-second basis Further optimize costs with configurable compute thresholds Best for unpredictable and intermittent workloads on single databases, such as: Dev/test E-commerceLine of Business Min vcores CPU usage Inactive Paused Max vcores Vcores used Vcores billed
  • 36. Myth-busting Azure SQL VMs A single VM is enough! HA is provided by the Hypervisor
  • 37. SQL VM BCDR: roles and responsibilities ā€¢ Microsoft ā€¢ High availability at data center lever ļ‹ ā€¢ Customer ā€¢ Everything ļ‹ Microsoft Customer
  • 39. SQL Server HADR solutions for Azure IaaS
  • 40. SQL Server HA solutions for Azure IaaS Load balancer Clustered IP Local storage AG Replica Local storage Load balancer Clustered IP Storage replica Local storage Local storage S2D Load balancer Clustered IP Azure Premium File Share Load balancer Clustered IP Shared disk Availability Groups SQL FCI S2D SQL FCI PFS SQL FCI Shared Disk Preview
  • 41. PaaS BCDR: roles and responsibilities ā€¢ Microsoft ā€¢ Geo-distrubuted service ā€¢ Customer metadata protection and recovery ā€¢ Transparent high availability and data protection from local platform failures ā€¢ Automatic geo-distributed backups ā€¢ Automatic data sync of geo-replicated databases ā€¢ Platform compliance testing and certification ā€¢ Alert to impacted customers during regional failures ā€¢ Customer ā€¢ Implementing retry login in your application ā€¢ Detecting user errors and initiating point-in-time restore ā€¢ Planning, database prioritization, and region selection for disaster recovery ā€¢ Initiating geo-restore to selected region ā€¢ Application disaster recovery drills Microsoft Customer
  • 42. PaaS: General Purpose Architecture Redundant node Active compute node Azure storage account Scaled node Separation of compute and storage ā€¢ Stateless compute VM ā€¢ TempDB on local SSD ā€¢ Data and log on remote Premium Storage Property Value vCores 1-80 Memory 5.1 GB/core IO latency 5-10ms IOPS Up to 40K Load Up to22MB/s
  • 43. ā€¢ All databases on local SSD (NVMe) ā€¢ Failed node is replaced with the spare PaaS: Business Critical Architecture Secondary endpoint (read-only) Primary endpoint (read-write) Always On AG Super-fast SSD Secondary replicaPrimary replica Secondary replicaSecondary replicaSpare node Secondary replica Property Value vCores 1-80 Memory 5.1/7 GB/core IO latency < 3 ms IOPS Up to 110K Load 48 MB/s In-memory OLTP 3GB-130GB
  • 44. Myth-busting Azure SQL VMs PaaS is accessed via a public endpoint. A VM is more secure!
  • 45. Azure SQL Networking On-prem datacenter Vnet 10.0.0.0/16 Subnet 10.0.2.0/24 Vnet 192.168.0.0/16 Subnet 10.0.1.0/24 Subnet 10.0.2.0/24 Peering Vnet integration Service Endpoint Subnet 10.0.4.0/24 Private Link Private IP Subnet 10.0.5.0/24 Subnet 10.0.3.0/24
  • 47. Advanced Threat Detection Azure SQL DatabaseApps Audit Log Threat Detection (1) Turn on Threat Detection (3) Real-time actionable alerts (2) Possible threat to access / breach data
  • 48. Myth-busting Azure SQL VMs I want a VM to reuse my own licenses! And PaaS is so expensiveā€¦
  • 49. Licensing models and cost-saving options ā€“ pay attention to passive nodes! ļƒ¼ AHB works also for Windows license ļƒ¼ SQL 2019 licensing benefits ļƒ¼ Require Software Assurance ļƒ¼ License for DR node is Ā«includedĀ» ļƒ¼ Developer Edition
  • 50. Azure Hybrid Benefit for SQL Server (PaaS) License trade-in values General purpose or Hyperscale vCore 4x General purpose or Hyperscale vCores Business critical vCore SQL Server cores with SA license vCores on Azure SQL Database SQL Server Enterprise Edition SQL Server Standard Edition ļ‚ž Take an inventory of on-premises licenses to determine potential for conversion ļ‚ž Convert on-premises cores to vCores to maximize value of investments
  • 51. A simple comparison with the public calculator Service type Region Description Estimated monthly cost Virtual Machines West Europe 2 D8s v3 (8 vCPU(s), 32 GB RAM) x 730 Hours; Windows ā€“ (OS Only); Pay as you go; 2 managed OS disks ā€“ P10 ā‚¬1.080,64 Storage Accounts West Europe Managed Disks, Premium SSD, P20 Disk Type 4 Disks, Pay as you go ā‚¬271.68 Azure SQL Database West Europe Managed Instance, vCore Purchase Model, General Purpose Tier, Single Instance, Provisioned, Gen 5, 1 8 vCore instance(s) x 730 Hours, 1,024 GB Storage, 0 GB Backup Storage ā‚¬939,10 VM vs Managed Instance Service type Region Description Estimated monthly cost Virtual Machines West Europe 2 D8s v3 (8 vCPU(s), 32 GB RAM) x 730 Hours; Windows ā€“ SQL Server; Pay as you go; 2 managed OS disks ā€“ P10 ā‚¬2.065,61 Storage Accounts West Europe Managed Disks, Premium SSD, P20 Disk Type 4 Disks, Pay as you go ā‚¬271.68 Azure SQL Database West Europe Managed Instance, vCore Purchase Model, General Purpose Tier, Single Instance, Provisioned, Gen 5, 1 8 vCore instance(s) x 730 Hours, 1,024 GB Storage, 0 GB Backup Storage ā‚¬1.431,42 With Azure Hybrid Benefit Pay-as-you-go https://azure.microsoft.com/it-it/pricing/calculator/
  • 52. Did we miss something??
  • 53. Myth-busting Azure SQL VMs I really need a VM, sob šŸ˜„ Iā€™ll miss all that managed featuresā€¦
  • 54. Azure SQL Database Everything built-in! Business continuity High availability Automated backups Long term backup retention Geo-replication Scale Advanced security Automatic tuning Built-in monitoring Built-in intelligence
  • 55. Azure SQL Database Everything built-in! Business continuity High availability Automated backups Long term backup retention Geo-replication Scale Advanced security Automatic tuning Built-in monitoring Built-in intelligence configurable VMs
  • 56. SQL IaaS VM Resource Provider Azure VMs are now discoverable on the new Azure SQL blade in Azure Marketplace Self-installed VMs registered with RP now can access automation features in Azure Marketplace images Self-installed VMs with RP can be easily converted to PAYG images Self-installed VMs with RP automatically indicate usage of Azure Hybrid Benefit Learn more aka.ms/sqlvm_rp and aka.ms/sqlvm_rp_documentation
  • 58. Pre-migration tools ā€¢ Database Migration Assistant ā€¢ PAL and performance counter ā€¢ Diagnostic queries ā€¢ MAP Toolkit ā€¢ Azure Monitor ā€“ Service Map solution
  • 60. Pre-migration tools ā€¢ Database Migration Assistant ā€¢ PAL and performance counter ā€¢ Diagnostic queries ā€¢ MAP Toolkit ā€¢ Azure Monitor ā€“ Service Map solution
  • 61. Azure Monitor - Service Map solution https://docs.microsoft.com/en-us/azure/azure-monitor/insights/service-map
  • 62. Azure Monitor - Service Map solution https://docs.microsoft.com/en-us/azure/azure-monitor/insights/service-map
  • 64. Migration BACPAC Backup/Restore Export to BACPAC Azure DMS https://dbatools.io For everything else, thereā€™s šŸ˜
  • 65. More info on this topic: https://vimeo.com/321092681 Azure Database Migration Service ā€¢ Azure deployment ā€¢ Standard tier ļƒ  offline migrations ā€¢ Premium tier ļƒ  online migrations ā€¢ Hybrid deployment (preview)
  • 68. Post-Migration ā€“ Tools ā€¢ A/B Testing ā€¢ Database Experimentation Assistant (DEA) ā€¢ Workload Tools by @SpaghettiDBA Record workload Replay on source and establish a baseline Replay on destination Compare results https://docs.microsoft.com/en-us/sql/dea/database-experimentation-assistant-overview?view=sql-server-ver15 https://github.com/spaghettidba/WorkloadTools
  • 69. Post-Migration ā€“ Tools ā€¢ QueryStore https://docs.microsoft.com/en-us/sql/relational-databases/performance/monitoring-performance-by-using-the-query-store?view=sql-server-ver15 https://docs.microsoft.com/it-it/sql/relational-databases/performance/query-store-usage-scenarios?view=sql-server-ver15
  • 70. Post-Migration ā€“ Tools ā€¢ Monitoring ā€¢ Azure Monitor (Azure SQL Analytics and VM Insights) https://docs.microsoft.com/en-us/azure/azure-monitor/insights/azure-sql https://docs.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-overview
  • 71. Useful links ā€¢ Azure SQL IaaS playground ā€¢ https://github.com/OmegaMadLab/SqlIaasVmPlayground ā€¢ SQL-optimized-VM ARM template ā€¢ https://github.com/OmegaMadLab/OptimizedSqlVm-v2 ā€¢ Database migration guide ā€¢ https://aka.ms/datamigration ā€¢ DBATools PowerShell module ā€¢ https://dbatools.io ā€¢ SQL Server free workshops ā€¢ https://microsoft.github.io/sqlworkshops/

Editor's Notes

  1. šŸ˜
  2. 2 min Does your application require custom VM or SQL config? DB engine version choice, feature compatibility with SQL box, app portability, access to VM/OS * ESU worth 75% of license every year for the next three years after EOS; ** Applicable to Azure Marketplace images, customers using customer SQL Server 2008/R2 custom images can download the ESU for free and manually apply. VMs: Allscripts https://customers.microsoft.com/en-us/story/allscripts-partner-professional-services-azure Move 600 VMs to Azure within a few weeks. Some time later moving some to MI Rehost SQL Server 2008 and 2008 R2 in Azure Virtual Machines to get three years of Extended Security Updates at no additional charge and upgrade to a newer version when ready 435 percent overall return on an Azure IaaS investment over five years (for a composite organization based on the interviewed customers) (Forrester Consulting) https://azure.microsoft.com/en-us/overview/azure-vs-aws/cost-savings/#sql-server-iaas
  3. 2 min Does your application require custom VM or SQL config? DB engine version choice, feature compatibility with SQL box, app portability, access to VM/OS * ESU worth 75% of license every year for the next three years after EOS; ** Applicable to Azure Marketplace images, customers using customer SQL Server 2008/R2 custom images can download the ESU for free and manually apply. VMs: Allscripts https://customers.microsoft.com/en-us/story/allscripts-partner-professional-services-azure Move 600 VMs to Azure within a few weeks. Some time later moving some to MI Rehost SQL Server 2008 and 2008 R2 in Azure Virtual Machines to get three years of Extended Security Updates at no additional charge and upgrade to a newer version when ready 435 percent overall return on an Azure IaaS investment over five years (for a composite organization based on the interviewed customers) (Forrester Consulting) https://azure.microsoft.com/en-us/overview/azure-vs-aws/cost-savings/#sql-server-iaas
  4. 2 min Does your application require custom VM or SQL config? DB engine version choice, feature compatibility with SQL box, app portability, access to VM/OS * ESU worth 75% of license every year for the next three years after EOS; ** Applicable to Azure Marketplace images, customers using customer SQL Server 2008/R2 custom images can download the ESU for free and manually apply. VMs: Allscripts https://customers.microsoft.com/en-us/story/allscripts-partner-professional-services-azure Move 600 VMs to Azure within a few weeks. Some time later moving some to MI Rehost SQL Server 2008 and 2008 R2 in Azure Virtual Machines to get three years of Extended Security Updates at no additional charge and upgrade to a newer version when ready 435 percent overall return on an Azure IaaS investment over five years (for a composite organization based on the interviewed customers) (Forrester Consulting) https://azure.microsoft.com/en-us/overview/azure-vs-aws/cost-savings/#sql-server-iaas
  5. Overview: Azure SQL Database enables you to easily purchase fully managed PaaS database engine that fits your performance and cost needs. Depending on the deployment model of Azure SQL Database, you can select the purchasing model that fits your needs: Talking Points: Azure SQL Database give you flexible purchasing models to have simple preconfigured compute & storage or independent control over compute & storage. vCore model. This model allows you to independently choose compute and storage resources. It also allows you to use Azure Hybrid Benefit for SQL Server to gain cost savings. Best for customers who value flexibility; control and transparency Customers can select compute and storage independently Allows customers to right-size their compute requirements in the cloud vCore sizing offers flexibility of choice Database Transaction Unit (DTU) model. Bundled measure of compute, storage and IO resources. Best for customers who want simple, pre-configured resource options Reference https://docs.microsoft.com/en-us/azure/sql-database/sql-database-service-tiers
  6. Azure SQL Database serverless is our answer to cost-effectively resourcing these types of unpredictable and intermittent workloads. It is a dynamically scaling, on-demand version of Azure SQL Database that eliminates the complexity of resourcing and managing unpredictable workloads. Simply create a serverless database and connect your application, with no upfront resource configuration required. Serverless SQL databases automatically pause, resume and scale compute based upon your appā€™s requirements, making them particularly cost effective for variable or unpredictable workloads ā€“ or when youā€™re simply unsure of your requirements. With resources available on-demand, serverless SQL databases optimize costs with pay per-second billing that aligns with the appā€™s performance, so you only pay for the compute resources you useĀ . Built upon the SQL Server architecture, serverless SQL databases are fully-managed, always up to date and highly available with a 99.99% uptime guarantee. Combined with built-in intelligence to optimize database performance and security, serverless SQL Databases help you be more productive so you can focus more on what you do best, building great apps faster and more cost effectively. Ā