Migration of SQL VMs to Azure SQL Managed Instance

InfraSolutions 711 Reputation points
2025-03-18T18:16:50.8233333+00:00

Hello,

We have an infrastructure setup in Azure that includes SQL instances. There are 2 SQL Server VMs available, enabled with Failover Cluster Instances (FCI), and they share the same data disk. For backup, we use Blob Storage with Geo-Redundant Storage (GRS) enabled.

We are planning to migrate the SQL VMs to Azure SQL Managed Instance. We referred to this migration guide and understand that Microsoft recommends the following options:

  • Log Replay Service (LRS)
  • Azure SQL migration extension for Azure Data Studio - migration with near-zero downtime.
  • Native RESTORE DATABASE FROM URL - uses native backups from SQL Server and requires some downtime.

Since we want to migrate all databases to SQL Managed Instance with minimal downtime, it seems that the Azure SQL migration extension for Azure Data Studio may fit our requirements best, as it provides an interactive interface for managing the migration. However, the Log Replay Service also offers minimal downtime but may require manual orchestration, with progress monitored using PowerShell or Azure CLI.

For a smooth migration, I would like to understand the architectural workflow. We found this architecture link. Could you please confirm if I'm referring to the correct link for implementation?

Moreover, during this migration, restoring data from the shared data disk to the SQL Managed Instance is still feasible. However, the recommendation is to use Blob Storage for restoring up-to-date databases to the SQL Managed Instance. Is my understanding correct?

Also, can you suggest any recommendations?

Azure SQL Database
{count} votes

Accepted answer
  1. Prasad Chaganti 770 Reputation points Microsoft External Staff Moderator
    2025-03-20T18:15:14.5266667+00:00

    Hi MJ-1983,

    LRS and the Azure SQL Migration Extension for Azure Data Studio are free.

    Database Migration Service (DMS) does incur costs, but it provides a fully managed and automated migration experience, which may justify the cost depending on the complexity and downtime requirements.

    Downtime Comparison:

    LRS offers minimal downtime, but since it requires manual orchestration using PowerShell or Azure CLI, the complexity could lead to increased operational overhead.

    DMS is designed for automated and more controlled migration with downtime minimized, but the overall downtime depends on the size of the database and network throughput. In most cases, DMS can offer better control over downtime compared to LRS due to its automated nature.

    Option A is the correct approach in your scenario:

    Since your setup includes SQL Server Failover Cluster Instances (FCI) sharing the same data disk and performing backups to Azure Blob Storage, Option A (migration from Azure Blob Storage) is well-suited.

    Using DMS with Option A will allow automated migration from backups stored in Azure Blob, ensuring minimal downtime and high availability.

    If you prefer a hands-off, automated migration with controlled downtime, DMS with Option A is the most suitable path.

    Test the process in a lower environment first to validate the setup and monitor the migration time.

    If cost is a concern and you can manage manual orchestration, LRS combined with the Azure SQL Migration Extension remains a valid alternative.

    Hope this helps. Do let us know if you any further queries.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.
    User's image

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.