In this session we'll look at the cloud choices available in Azure for SQL Server. Whether it's PaaS, IaaS or Managed Instance we'll look into the features provided, the major differences and the Pros and Cons of each solution and how to choose the best option available.
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Moving to the cloud; PaaS, IaaS or Managed Instance
1. What we will cover;
your expectations
• An overview of the services available.
• Focus on business benefits behind each offering.
• Not a technical deep dive.
• Abstract; In this session we'll look at the cloud choices
available in Azure for SQL Server. Whether it's PaaS, IaaS
or Managed Instance we'll look into the features provided,
the major differences and the Pros and Cons of each
solution and how to choose the best option available.
4. Thomas Sykes
SQL Consultant, MCT, MCSE
Edinburgh, Scotland
Working with SQL Server since version 7.0
Edinburgh Data Platform User Group Lead
sqltomato.com
@sqltomato
6. The Cloud Journey; On Premise, Cloud IaaS and PaaS
Shared
Lower Cost
Dedicated
Higher Cost
Higher Administration Lower Administration
Off Premises
On Premises
Hybrid Cloud
SQL Server
Physical Machines (Raw Iron)
Physical
SQL Server Private Cloud
Virtualised Machines and Appliances
Virtual
SQL Server in Azure VM
Virtualised Machines
IaaS
Azure SQL Database
Virtualised Databases
PaaS
Azure Managed Instance
Virtualised Instance
PaaS
7. The Cloud Journey;
Our Azure Cloud Options
• IaaS – Traditional Infrastructure as a Service.
• PaaS – Platform as a Service database offering.
Includes both single database and elastic pool
(multi-tenant).
• Managed Instance – Fully managed service PaaS.
9. IaaS;
What is it?
• Traditional Virtual Machine running the cloud.
• Full SQL Server installation.
• All features available.
10. IaaS;
Pro’s
• You can customize the server.
• You can use third party apps with specific
requirements or installs.
• All recent versions and editions of SQL Server are
available for installation.
• All the supported SQL Server versions (2008R2,
2012, 2014, 2016, 2017) and editions (Developer,
Express, Web, Standard, Enterprise) are available.
11. IaaS;
Pro’s
• Bring your own license available – you can use
the Azure Hybrid Benefit Savings Calculator and
save up to 55 per cent on vCore-based SQL
Database options.
• Or use an Azure SQL Virtual Machine which
includes SQL Server license as well as providing
the virtual machine.
15. Azure SQL Database – PaaS;
What is it?
• Azure SQL Database is a fully managed relational
database solution.
• Automatically configured, patched, backed up and
upgraded by Microsoft.
• Either single database or elastic pool solutions
available.
17. Azure SQL Database – PaaS;
Management and Performance
• Azure SQL Database Query Performance Insight
can provide information on query plans and long
running queries using Query Store
• For DTU estimates we can use the Azure SQL
Database DTU Calculator
• Automated index tuning available with regression
• Long term retention backups available
http://dtucalculator.azurewebsites.net
18. Azure SQL Database – PaaS;
Pro’s
• Massively reduced administration costs.
• Reduced and flexible cost.
• Easy and strong tenant isolation.
• The potential to scale up easily.
• Geographic replication and failover.
• Elastic Pools can offer considerable savings if used
by multiple databases that have varying and
unpredictable usage demands.
19. Azure SQL Database – PaaS;
Con’s
• Hugely reduced feature set.
• Database size limits 4TB.
• Expensive when in the P11 Option for the required
storage and not DTU’s required.
• No cross-database queries.
21. Managed Instance – PaaS;
What is it?
• Similar to SQL Server Enterprise edition on IaaS
• IaaS customers looking to migrate their applications
to a fully managed service with minimal design
changes.
• Need Vnet and Virtual network peering setup
22. Managed Instance – PaaS;
What is it?
• Nearest PaaS “full fat” option.
• Scalable from 8 to 24 cores (Gen4) or 8 to 80 cores
(Gen5).
• General Purpose and Business Critical Tiers.
• S
23. Managed Instance – PaaS;
Some notes on deployment and usage
• First instance takes significant time, over 24 hours
for some deployments
• Deployments need network planning – Needs
empty new Vnet and Vnet peering
24. Managed Instance – PaaS;
Pro’s
• Most features available - Linked Servers, Cross
database queries, database mail, SQL Server
Agent, Service Broker supported.
• Compliance.
• Management reduced compared to IaaS.
25. Managed Instance – PaaS;
Con’s
• Some options not available in their usual form; such
as Reporting services, Integration Services and
Analysis Services.
• Expensive option, especially in Business Critical
Tier.
• Not a mature offering.
28. Azure SQL Database/Managed Instance;
Advanced Threat Protection (SQL Server)
• Indicates vulnerabilities and detecting anomalous
activities that could indicate a threat to your
database. An example may be an unusual logon.
• Applying to all databases on a single server it
includes SQL Threat Detection, SQL Vulnerability
Assessment and SQL Information Protection.
• Currently* costs £11.18 /server /month.
* Correct as of 2018-08-03
29. Summary
• IaaS – Best flexibility, can include other SQL
Server services (SSRS, SSIS, SSAS).
• IaaS – Higher running costs and higher
management costs.
• Azure Database PaaS – Lowest cost offering if
certain features are not required.
• Managed Instance PaaS – Good migration point if
multiple databases or certain features required.