Running SQL Server on Azure comes down to three platform options: Azure SQL Database, Azure SQL Managed Instance, and SQL Server on Azure VM. They differ sharply in SaaS-ness, compatibility, operational load, and cost — picking the wrong one can cost millions of yen in remediation or sink an entire migration project. This article compares the three options across multiple dimensions and gives you the framework to choose the right pattern for your requirements.
| Item | SQL Database | Managed Instance | SQL on VM |
|---|---|---|---|
| Category | PaaS (single DB) | PaaS (instance-level) | IaaS (full control) |
| SaaS-ness | Highest | Medium | Lowest |
| On-premises compatibility | 80% (many constraints) | 95% (near complete) | 100% |
| OS access | No | No | Yes |
| SQL Server version | Always latest | Always latest | Your choice |
| SQL Agent | No | Yes | Yes |
| Cross-DB Query | Limited | Yes | Yes |
| Linked Server | No | Yes | Yes |
| SSIS / SSAS / SSRS | SSIS only, separately | SSIS only | All supported |
| OS patch management | Microsoft | Microsoft | User |
| Best fit | New SaaS web apps | Full on-prem migration | Full control required |
Azure SQL Database is a single-database PaaS — the most SaaS-like of the three. It's the best fit for greenfield web application and SaaS backend databases.
Azure SQL Managed Instance is instance-level PaaS, with near-100% compatibility with on-premises SQL Server. It is the first-choice target when migrating from on-premises.
SQL Server on Azure VM is IaaS — full-feature SQL Server running on a VM. It offers maximum flexibility and full compatibility, but you own OS patching and SQL version upgrades.
| Tier | Base | SLA | Cost | Supported Services |
|---|---|---|---|---|
| General Purpose (GP) | Premium SSD | 99.99% | Cheapest | SQL DB / MI |
| Business Critical (BC) | Local SSD + Always On AG | 99.995% | ~2x GP | SQL DB / MI |
| Hyperscale (HS) | Log Service + Compute + Page Server | 99.99% | Very large DBs | SQL DB only |
Decision: standard web apps -> GP; low-latency or production mission-critical workloads -> BC; very large databases (10 TB+) -> HS.
| Item | DTU | vCore (recommended) |
|---|---|---|
| Billing unit | Abstract unit bundling CPU + memory + I/O | Specify CPU cores directly |
| Flexibility | Low | High (memory / storage / I/O are independent) |
| Reserved Capacity | Not supported | Supported |
| Hybrid Benefit | Not supported | Supported |
| Hyperscale | Not supported | Supported |
As of 2026, Microsoft recommends the vCore model, and new projects should default to vCore. The DTU model only survives for legacy maintenance.
Standard mission-critical production setup: Auto-failover Group + Zone Redundant + LTR + PITR.
Estimated monthly cost for a mid-size production setup (4 vCore, 100 GB, GP tier, Tokyo region, pay-as-you-go, no Hybrid Benefit):
| Service | Approx. monthly | Notes |
|---|---|---|
| SQL Database (vCore GP) | ~70,000 JPY | Minimal operations |
| Managed Instance (GP) | ~90,000 JPY | Premium for operational simplicity |
| SQL on VM (D4s_v5 + Enterprise + Premium SSD) | ~220,000 JPY | VM + Windows + SQL Server licenses |
| SQL on VM + Hybrid Benefit | ~120,000 JPY | Windows + SQL licenses free |
Reserved Capacity (1-3 years) cuts 15-55% off each service. Ranking: SQL DB ≤ SQL MI « SQL on VM.
What is the difference between Azure SQL Database, Managed Instance, and SQL on VM?
Azure SQL Database (SQL DB): single-database PaaS, the most SaaS-like option, minimal operational overhead, with feature constraints around SQL Agent and Cross-DB Query. Deploys as a Single Database or Elastic Pool. Azure SQL Managed Instance (SQL MI): instance-level PaaS, nearly 100% compatible with on-premises SQL Server, supporting SQL Agent, SSIS, Cross-DB Query, and Linked Server — the first-choice migration target. SQL Server on Azure VM (IaaS): full-feature SQL Server with OS-level access, your choice of SQL Server version, and Windows/Linux authentication, but you manage OS patches and SQL upgrades yourself. Decision: new SaaS web apps go to SQL DB, full lift-and-shift from on-premises SQL Server goes to SQL MI, and full control or SSAS-class features go to SQL on VM.
How does compatibility differ between SQL DB and SQL MI?
Compatibility with on-premises SQL Server ranks SQL on VM (100%) > SQL MI (95%) > SQL DB (80%). SQL on VM is fully compatible, including OS-level control. SQL MI offers instance-level compatibility and supports most SQL Server engine features (SQL Agent, SSIS Runtime, Cross-database Query, Linked Server, CLR, Service Broker; Filestream is limited), but OS-level operations are blocked and SSAS/SSRS are unsupported (you build those separately). SQL DB is single-database compatible, with many legacy features (SQL Agent, Cross-database Query) constrained. For migrations from on-premises SQL Server, MI is the default choice — code changes are minimal. For greenfield builds that can live within the feature constraints, SQL DB wins on cost and operational simplicity.
What is the difference between General Purpose, Business Critical, and Hyperscale tiers?
Service tiers shared by SQL DB and MI. General Purpose (GP): Premium SSD backed, general-purpose workloads, cheapest, 99.99% SLA. Business Critical (BC): Local SSD plus Always On AG, low latency and high availability, supports Zone Redundancy, 99.995% SLA, roughly 2x the cost of GP. Hyperscale (HS): handles 100 TB+ databases, uses a different architecture (Log Service + Compute + Page Server), up to 4 read replicas, 99.99% SLA, fast snapshot-based backups. Decision: standard web apps go to GP, low-latency mission-critical production goes to BC, and very large databases (10 TB+) go to HS. SQL MI supports GP and BC; SQL DB supports all three (GP / BC / HS).
What is the difference between the DTU and vCore pricing models?
Azure SQL DB billing units. DTU (Database Transaction Unit) model: an abstract unit bundling CPU, memory, and I/O — you pick a tier (Basic / Standard / Premium) and a DTU level (S0 to S12, P1 to P15). It's simple and budget-friendly, but the resource breakdown is opaque. vCore model (recommended): you specify CPU cores directly and tune memory, storage, and I/O independently — far more flexible, with Reserved Capacity and Hybrid Benefit support, and Hyperscale is vCore-only. As of 2026, Microsoft recommends the vCore model and new projects should use vCore. The DTU model survives only for legacy maintenance, and is rarely the right choice for new deployments.
How should you design HADR (high availability and disaster recovery)?
HADR features shared by SQL DB and MI: 1) Active Geo-replication (DB-level, up to 4 read secondaries, RPO 5 seconds); 2) Auto-failover Group (cross-region failover, RPO 5 seconds, RTO 1 hour, bulk failover of multiple databases — the recommended pattern); 3) Zone Redundant configuration (AZ redundancy for BC / Premium, no extra cost); 4) Long-term Retention (LTR, up to 10 years of backup retention); 5) Continuous Backup with Point-in-time Restore (PITR, 7-35 days). SQL on VM adds Always On Availability Groups (AG) and Failover Cluster Instance (FCI). The standard production mission-critical recipe is Auto-failover Group + Zone Redundant + LTR + PITR. Auto-failover Group is required to guarantee service continuity during a regional outage.
How do the costs compare for a mid-size production workload?
Approximate monthly cost for a typical mid-size production setup (4 vCores, 100 GB storage, GP tier, Tokyo region, pay-as-you-go, no Hybrid Benefit): SQL Database (vCore, GP, 4 vCore) around 70,000 JPY; Managed Instance (GP, 4 vCore) around 90,000 JPY (more than SQL DB because of the operational simplicity premium); SQL Server on Azure VM (D4s_v5 + Enterprise Edition + Premium SSD) around 220,000 JPY (VM + Windows + SQL Server licenses). Applying Hybrid Benefit drops SQL on VM to roughly 120,000 JPY. Reserved Capacity (1-3 years) gives 15-55% off across all services. The cost ranking is SQL DB <= SQL MI << SQL on VM (you pay extra for full features). Adding Auto-failover Group or Zone Redundant configurations pushes costs higher still, so right-sizing to actual requirements matters.
What are the security best practices?
Key controls: 1) Microsoft Entra ID authentication (phase out SQL authentication); 2) Managed Identity for app authentication (never put passwords in connection strings); 3) Transparent Data Encryption (TDE) on by default, with Customer-Managed Keys (CMK) via Key Vault; 4) Always Encrypted for sensitive columns (data stays opaque even on the Azure side); 5) Dynamic Data Masking to mask sensitive data; 6) Row-level Security for row-scoped access control; 7) Microsoft Defender for SQL (threat detection and Vulnerability Assessment); 8) Auditing enabled and shipped to Log Analytics, Storage, or Event Hubs; 9) Network isolation via Private Endpoint or Service Endpoint, with Public Access disabled; 10) Azure SQL Auditing retention of 365+ days for compliance. Production deployments need all of these controls in combination.
Which certifications cover this area?
DP-300 (Database Administrator Associate) is the headline exam — it covers SQL DB, MI, and SQL on VM in depth. AZ-104 (Administrator) Domain 3 covers SQL on VM basics, AZ-305 (Solutions Architect Expert) covers platform selection from an architect's lens, AZ-204 (Developer Associate, retiring 2026-07) covers Azure SQL DB from the application developer's perspective, DP-700 (Fabric Data Engineer) covers analytical data integration, SC-300 (Identity Admin) covers Entra ID authentication integration, and SC-100 (Cybersecurity Architect Expert) covers data protection architecture. See the Azure Data Engineer / Architect career roadmaps for the full path.
Related Articles and Deep Dives
DP-300 完全ガイド|Microsoft Azure Database Administrator Associate 出題範囲・学習リソース・合格戦略【2026 年版】
Microsoft Certified: Azure Database Administrator Associate (DP-300) の完全ガイド。7 ドメインの出題範囲、Azure SQL Database / Managed Instance / SQL on VM の使い分け、HADR / 自動化 / セキュリティ実装、3-4 ヶ月の合格ロードマップ、renewal assessment 更新法、DP-700 / AZ-305 への展開ルートを日本語で網羅。
Azure セキュリティエンジニア キャリアロードマップ|SC-900 → SC-200/300/400 → SC-100 シニアへの道【2026 年版】
Azure セキュリティエンジニアになるための認定取得ロードマップ完全版。SC-900 → SC-200/300/400 のいずれか → SC-100 / SC-500 の王道ルート、ロール別の優先順序、CISSP との二刀流戦略、SC-500 (旧 AZ-500 後継、2026-09 GA 予定) の動向、10-15 ヶ月の学習プラン、年収レンジまで日本語で網羅。
Azure Managed Identity vs Service Principal 完全比較|認証パターンの選定と実装ベストプラクティス【2026 年版】
Azure の認証エンティティ Managed Identity と Service Principal を完全比較。System-assigned / User-assigned の使い分け、Client Secret vs Certificate vs Workload Identity Federation の選定、AKS Workload Identity、Azure サービス対応状況、関連認定試験 (SC-300 / AZ-204 / AZ-400) を日本語で網羅。実装パターン集付き。
Azure SQL Database vCore モデル詳細設計|Compute Tier・Service Tier・Read Scale-out・Reserved Capacity【2026 年版】
Azure SQL Database の vCore モデルを詳細解説。Provisioned vs Serverless Compute Tier、General Purpose / Business Critical / Hyperscale の選定、Read Scale-out、Auto-failover Group、Reserved Capacity と Hybrid Benefit でのコスト最適化、Backup と Long-term Retention 戦略、関連認定試験 (DP-300 / AZ-305) を日本語で網羅。
Technical content in this article is based on the Azure SQL Documentation. This article is not an official Microsoft Corporation product and has no affiliation or sponsorship relationship with Microsoft. Microsoft, Azure, and SQL Server are trademarks of the Microsoft group of companies. Information reflects official sources as of May 24, 2026. Always verify the latest details on official pages.
Practice with certification-focused question sets
Visit the Azure exam prep hubNicheeLab Editorial Team
NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.
AZ-900 Azure Fundamentals: Complete Exam Guide (2026)
Pass AZ-900 — cloud concepts, Azure architecture, management...
Azure Certification Roadmap: Which Cert to Take Next (2026)
Choose your Azure certification path — Fundamentals, Associa...
AI-901 Azure AI Fundamentals (Beta): Complete Guide (2026)
Pass AI-901 — Microsoft Foundry, generative AI, responsible ...
Microsoft Entra ID Fundamentals for Azure Certs (2026)
Entra ID basics every cert candidate needs — tenants, identi...
DP-900 Azure Data Fundamentals: Complete Guide (2026)
Pass DP-900 — relational, non-relational, analytics, Power B...