Overview

Azure SQL Managed Instance is the most compatible cloud solution for on-premises SQL Server applications, providing a nearly 100% compatibility with your on-premises SQL Server environment. It offers the broadest SQL Server engine compatibility, allowing you to lift and shift your existing SQL Server workloads to Azure with minimal changes.

SQL Managed Instance provides:

Key Features

SQL Managed Instance offers a rich set of features that mimic the on-premises SQL Server experience:

When to Use Azure SQL Managed Instance

SQL Managed Instance is ideal for scenarios such as:

Getting Started

To get started with Azure SQL Managed Instance, you can:

Code Example: Creating a Managed Instance (Azure CLI)


az sql mi create \
    --resource-group myresourcegroup \
    --name mysqlinstance \
    --location northeurope \
    --admin-user myadmin \
    --admin-password  \
    --subnet /subscriptions/YOUR_SUBSCRIPTION_ID/resourceGroups/myresourcegroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet \
    --tier GeneralPurpose \
    --family Gen5 \
    --capacity 8 \
    --edition Standard