Cloud service · Azure · Updated

Azure SQL Managed Instance - Azure SQL Managed Instance is a fully managed relational database service that combines broad SQL Server compatibility with instance-level capabilities and private virtual network connectivity.

In short

Azure SQL Managed Instance runs SQL Server workloads while Azure manages the underlying infrastructure, operating system patching, database engine maintenance, and automated backups. It supports applications that need SQL Server Agent, cross-database operations, and native backup restoration without requiring a customer-managed SQL Server virtual machine.

Cloud Services Hub →

9 key features of Azure SQL Managed Instance

01
SQL Server instance compatibility

Supports instance-level capabilities including SQL Server Agent, cross-database queries and transactions, and supported linked-server scenarios. Assess feature differences and external dependencies before migrating rather than assuming complete equivalence with a self-managed SQL Server.

02
Managed infrastructure and maintenance

Azure manages the operating system, database engine maintenance, automated backups, and underlying availability infrastructure. Applications should tolerate transient connection failures during maintenance and configuration changes.

03
Private virtual network deployment

Deploy instances into a dedicated delegated subnet and connect through the VNet-local endpoint with a private IP address by default. Azure Private Endpoint connectivity is a separate configuration; plan DNS, routing, and security rules for the connection method you choose.

04
Configurable performance

Choose General Purpose, including Next-gen General Purpose, or Business Critical according to latency, throughput, and availability requirements. Adjust compute, storage, and supported memory configurations after measuring resource bottlenecks and checking configuration limits.

05
Automated backup and recovery

Use automated backups for point-in-time recovery and configure long-term retention when required. A point-in-time restore creates a separate database, so include validation and application reconnection steps in the recovery runbook.

06
High availability and regional recovery

Built-in local redundancy handles infrastructure failures and maintenance, while zone redundancy protects against zonal failures in supported configurations. Failover groups provide cross-region replication and listener endpoints for regional recovery designs.

07
Native migration and hybrid replication

Restore native database backups from Azure Blob Storage or use Managed Instance link to synchronize supported SQL Server workloads. Link capabilities, failback options, and migration paths depend on the SQL Server version and instance update policy.

08
Database security controls

Supports Microsoft Entra authentication, transparent data encryption, auditing, row-level security, and Always Encrypted. Configure database authorization separately from Azure resource-management permissions.

09
SQL-native performance diagnostics

Use Query Store, dynamic management views, and Extended Events to investigate query regressions, blocking, and resource pressure. Correlate database diagnostics with Azure Monitor metrics before changing the service configuration.

Where Azure SQL Managed Instance is used

  1. 01
    Migrate existing SQL Server applications

    Move applications that rely on SQL Server Agent or cross-database operations without redesigning them around a database-scoped platform. Validate unsupported features and migrate instance-level objects alongside user databases.

  2. 02
    Consolidate related application databases

    Host databases that need shared administration or cross-database queries on one managed instance. Monitor aggregate resource consumption because a busy database can affect other databases sharing the instance.

  3. 03
    Run privately connected enterprise applications

    Provide a managed relational backend for applications operating in Azure virtual networks or connected corporate networks. Configure VPN or ExpressRoute connectivity, DNS resolution, and database authorization for hybrid access.

  4. 04
    Extend SQL Server into Azure

    Use Managed Instance link for supported hybrid replication, migration, disaster recovery, or read-only workload offloading scenarios. Confirm version, update-policy, networking, and failover prerequisites before selecting a topology.

  5. 05
    Modernize scheduled database processing

    Retain supported SQL Server Agent jobs while moving infrastructure management to Azure. Execute SSIS packages through Azure Data Factory's Azure-SSIS Integration Runtime rather than expecting the managed instance to host the package execution service.

How Azure SQL Managed Instance is priced

Pay-as-you-go provisioned capacity

Compute charges depend on provisioned vCores, hardware configuration, service tier, region, and applicable licensing. Storage and applicable backup charges are additional; an idle running instance still incurs compute charges.

Reserved compute capacity

Commit to eligible compute usage for a one-year or three-year term to reduce compute costs relative to pay-as-you-go rates. Reservations do not eliminate storage, backup, networking, or other separately billed charges, and savings depend on matching the reservation to actual usage.

Azure Hybrid Benefit

Apply eligible SQL Server licenses with active Software Assurance or qualifying subscription rights to reduce the SQL license component. This benefit can be combined with eligible reserved capacity, subject to licensing and reservation terms.

Storage, backups, and disaster recovery

Budget for configured database storage, chargeable backup storage, long-term retention, and separately provisioned disaster recovery instances. Eligible passive disaster recovery replicas can receive the license-free DR benefit, but compute and storage charges still apply.

Stop and start for eligible instances

Use stop/start on supported configurations to avoid compute and SQL licensing charges while an instance is stopped. Storage charges continue, and restart time makes this better suited to scheduled nonproduction environments than workloads requiring immediate availability.

Services Azure SQL Managed Instance works with

A common application architecture places Azure SQL Managed Instance in its own delegated subnet and connects application services through private network paths. Azure App Service can use outbound virtual network integration, while on-premises applications can connect through VPN or ExpressRoute. The default database connection uses the instance's VNet-local endpoint with a private IP address; Azure Private Endpoint connectivity is configured separately. Design DNS resolution, routing, and security rules for the selected connection method.

Microsoft Entra authentication and managed identities remove the need for stored SQL passwords in supported application connections, but database permissions must still be granted explicitly. Data movement commonly uses Azure Blob Storage for native backup restoration and Azure Data Factory for recurring ingestion and orchestration. Existing SSIS workloads can retain their catalog on the managed instance while packages execute on a separately provisioned Azure-SSIS Integration Runtime.

Operational architectures combine Azure Monitor metrics and diagnostic logs with SQL-native tools such as Query Store and Extended Events. Where customer-managed encryption keys are required, integrate Azure Key Vault and test key rotation and recovery. Across these integrations, validate identity permissions, network access, failure behavior, and separately billed resources before production deployment.

Azure Virtual Network

Deploy the managed instance into a dedicated delegated subnet and use approved private network paths to reach its VNet-local endpoint. For example, an application in a peered virtual network can connect after routing, DNS, and security rules are configured. Preserve the subnet rules and service connectivity required by SQL Managed Instance.

Azure Blob Storage

Use Blob Storage for native database backup and restore workflows, supported bulk-loading operations, and SQL audit files. For example, upload a SQL Server backup to a protected container and restore it into a managed instance using a supported credential mechanism. Configure storage authorization and network access explicitly; access to the SQL instance does not automatically grant access to the storage account.

Azure Data Factory

Use Data Factory pipelines to copy data to and from managed instance databases or orchestrate stored procedures. For example, a nightly pipeline can load staging tables and execute a transformation procedure after ingestion completes. Existing SSIS packages can run on Azure-SSIS Integration Runtime with their SSIS catalog hosted on the managed instance; the runtime requires its own connectivity and capacity.

Azure Monitor

Collect platform metrics and route supported diagnostic logs to monitoring destinations for operational analysis. For example, configure sustained CPU and storage alerts, then investigate an incident using Query Store and database wait statistics. Enable diagnostic settings deliberately and account for log ingestion and retention costs.

Azure Key Vault

Use Key Vault to hold customer-managed keys for transparent data encryption when organizational policy requires control of encryption keys. For example, authorize the managed instance identity to use a designated key and configure it as the TDE protector. Protect key availability with appropriate retention, recovery, and rotation procedures because losing access to the key can affect database availability.

App Service

Connect an App Service application to the managed instance through outbound virtual network integration and an appropriate private network path. For example, an internal API can use its managed identity for SQL authentication while reaching the instance through a separate application integration subnet. Configure connection pooling and transient-fault retries, and do not share the managed instance's delegated subnet with App Service integration.

Automation

Azure SQL Managed Instance can be managed by scheduled Azure Automation runbooks. A runbook can use a managed identity to start or stop a supported instance without storing administrator credentials.

Azure Advisor

Azure SQL Managed Instance receives resource-specific recommendations from Azure Advisor. For example, Advisor can flag an underused instance and recommend reducing its provisioned compute.

Azure Analysis Services

Azure SQL Managed Instance can supply relational data to Azure Analysis Services models through its SQL data source support. For example, a tabular sales model can import and refresh fact and dimension tables from a managed instance.

Azure Data Explorer

Azure SQL Managed Instance tables can be exposed as SQL external tables in Azure Data Explorer. A Kusto query can use those tables to enrich telemetry with reference data held in the managed instance.

Alternatives to Azure SQL Managed Instance in other clouds

AWS

Amazon RDSAmazon RDS

Amazon RDS and Azure SQL Managed Instance both manage database maintenance and automated backups, with point-in-time recovery. Amazon RDS supports several database engines, including SQL Server, and offers Multi-AZ deployments for zonal failover; Azure SQL Managed Instance focuses on SQL Server, with built-in local redundancy and zone redundancy in supported configurations.

Compare fact by fact
Azure SQL Managed InstanceAmazon RDS
Database enginesSQL ServerSQL Server, MySQL, PostgreSQL, others
High availabilityBuilt-in local HA; optional zonal HAMulti-AZ standby for zonal failover
Compared Nov 2026

What is Azure SQL Managed Instance

2 min read

Azure SQL Managed Instance provides a managed SQL Server database engine with instance-level functionality. Databases on an instance share its allocated resources, and applications can use familiar T-SQL, SQL Server drivers, and administration tools. The service is particularly useful for applications that depend on cross-database queries, SQL Server Agent jobs, or other capabilities that make migration to a database-scoped service more difficult.

Microsoft operates the underlying infrastructure and handles operating system patching, database engine maintenance, automated backups, and built-in high availability. Engineers remain responsible for database design, indexing, query tuning, access permissions, capacity planning, and application recovery behavior. Select an appropriate engine update policy because it determines the feature baseline and can affect interoperability with SQL Server in migration and disaster recovery workflows.

An instance is deployed into a dedicated subnet delegated to the service within an Azure virtual network. By default, applications connect through the instance's VNet-local endpoint, which has a private IP address. This is distinct from an Azure Private Endpoint, which is configured separately. Plan subnet capacity, network security groups, routing, DNS resolution, and required service connectivity before deployment. Applications can connect from reachable Azure networks or from on-premises environments through VPN or ExpressRoute.

General Purpose targets workloads with typical performance and storage latency requirements, while Business Critical targets applications requiring lower I/O latency and provides a readable secondary replica. Next-gen General Purpose offers additional performance and resource flexibility. Size the instance using CPU utilization, memory pressure, data and log I/O, storage growth, and concurrent workload behavior rather than database capacity alone. Configuration limits and feature availability depend on the selected hardware and region.

Automated backups support point-in-time recovery, and long-term retention can preserve selected backups for extended periods. Built-in local availability does not replace protection against zonal or regional failures. Use zone redundancy where supported and design regional recovery using failover groups or an appropriate backup recovery strategy. Asynchronous cross-region replication can involve data loss during an unplanned failover, so test recovery procedures against application recovery objectives.

Migration options include restoring native SQL Server backups from Azure Blob Storage and using Managed Instance link with supported SQL Server configurations. Assess compatibility before migration because the service does not provide unrestricted operating system access or every SQL Server feature. Move logins, jobs, credentials, and external dependencies deliberately; restoring a user database alone does not reproduce the complete source instance. SSIS packages execute on a separate integration runtime, not on the managed instance.

Prefer Microsoft Entra authentication and managed identities where supported, grant narrowly scoped database permissions, and configure auditing and operational alerts. Transparent data encryption protects database files at rest, while TLS protects connections in transit. Use the instance DNS name rather than a hard-coded IP address, and implement connection pooling and transient-fault retries to handle maintenance, scaling, and failover events.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.