FREE STUDY NOTES · AZ-305

Choosing an Azure SQL deployment option: SQL Database, Managed Instance or SQL Server on VMs

How to pick between Azure SQL Database, Azure SQL Managed Instance and SQL Server on Azure VMs from compatibility and management requirements.

From Ultra Transcenders AZ-305 by Tony Rough (publishing soon)

The first decision for any SQL Server workload is how much of the platform you want Azure to manage. Azure SQL Database is scoped to a single database, Managed Instance gives you a near-complete SQL Server instance as PaaS, and SQL Server on a VM leaves the operating system and SQL Server in your hands.

Figure 6.1 walks through the choice.

Decision tree. If you need OS-level control, choose SQL Server on an Azure VM; if the databases rely on instance-level features such as cross-database queries, SQL Agent, CLR, Windows authentication or COPY_ONLY backups, choose Azure SQL Managed Instance; otherwise choose Azure SQL Database as a single database, an elastic pool for many databases with varying peaks, or Hyperscale for a very large OLTP database.
Figure 6.1: Choosing an Azure SQL deployment option
Requirement Azure SQL Database Azure SQL Managed Instance SQL Server on Azure VM
Model PaaS, database-scoped PaaS, instance-scoped IaaS, full OS/SQL management
Cross-database queries, three-part names, same-instance transactions No (elastic queries/elastic database transactions, code changes) Yes Yes
SQL Agent, CLR No (no SQL Agent – use elastic jobs; no CLR) Yes Yes
Windows/AD authentication No (Microsoft Entra ID (Azure AD) only) Entra ID, including Windows authentication via Kerberos Yes
User-initiated COPY_ONLY backups No Yes Yes
Max size 4 TB (Hyperscale 128 TB) 16 TB (32 TB on Next-gen General Purpose) VM disks

Matching workloads to options

Get the whole book

This note is one section of Ultra Transcenders AZ-305: Designing Microsoft Azure Infrastructure Solutions, an independent study guide that explains every topic the exam covers by technology, with comparison tables, diagrams and the common traps, plus a glossary linked to Microsoft Learn.

Amazon.co.ukKindle: coming soonPaperback: coming soon
Amazon.comKindle: coming soonPaperback: coming soon

Publishing soon on Amazon in Kindle and paperback editions.

About the book · Free AZ-305 glossary · All AZ-305 study notes

More AZ-305 study notes