Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to:
Azure SQL Managed Instance
SQL Server on Azure Virtual Machines
Azure SQL Database
This article describes the five phases for a successful cloud migration from SQL Server to Azure SQL.
Discovery
When you start your cloud migration journey, it's critical to discover installed software inventory, web apps, and SQL Server instances and databases on servers running in your on-premises environment. This discovery helps you tailor a migration path to Azure SQL.
The Azure Migrate appliance performs this discovery using the Windows OS domain or non-domain credentials, or SQL Server authentication credentials that have access to your SQL Server instances and databases. This discovery process is agentless, meaning that you don't install anything on the servers. The Azure Migrate appliance supports discovery on various virtualization platforms like VMware, Microsoft Hyper-V, and physical environments.
To learn how to discover your on-premises SQL Servers, see the Discover section later in this article.
Business case
The business case capability helps you build a business proposal to understand how Azure can bring the most value to your business. It highlights:
Total cost of ownership (TCO) between on-premises and Azure SQL.
Year on year cashflow analysis.
Resource utilization based insights to identify servers and workloads that are ideal for the cloud.
Quick wins for migration and modernization, including end of support Windows OS and SQL versions.
Long term cost savings by moving from a capital expenditure model to an operating expenditure model, by paying for only what you use.
Assessment
Assessment is the analysis of configuration, utilization, and performance data collected during discovery. This analysis is used to measure the readiness, and estimate the effect, of migrating on-premises SQL Server instances to different Azure SQL targets. Assessments on SQL Server instances can be run using Azure Arc for SQL Server, or using Azure Migrate.
An Azure SQL assessment provides two sizing criteria:
As on-premises: Assessments that make recommendations based on the on-premises SQL Server configuration alone.
Performance-based: Assessments that make recommendations based on collected performance data.
After the assessment determines the readiness and the recommended Azure SQL deployment type, it computes a specific service tier and Azure SQL configuration (SKU size) that can meet or exceed the on-premises SQL Server performance. This calculation depends on whether you're using on-premises or performance-based sizing criteria.
Conversion
In heterogeneous migrations, while you migrate data from one database to another, make sure you convert the database schema and objects into equivalent Transact-SQL syntax. The source and target database engines are different. These database objects include tables, indexes, views, data types, Transact-SQL statements, stored procedures, and functions.
Note
You don't need the conversion phase for SQL Server to Azure SQL migrations. SQL Server Migration Assistant (SSMA) performs the conversion while migrating to any of the Azure SQL targets. SSMA supports multiple sources, such as Oracle, MySQL, DB2, Sybase, and Microsoft Access, for both conversion and data migration.
Migration
Migration is the last stage of this process, in which you migrate data from the source database to the target database.
Choose a migration method
Choose from multiple migration methods depending on your target platform and acceptable application downtime.
SQL Managed Instance link (near zero downtime to Azure SQL Managed Instance)
If you enable Azure Arc for your SQL Server instance, you can use Managed Instance link to perform an online migration to Azure SQL Managed Instance. The link feature uses distributed availability groups to replicate data from SQL Server to SQL Managed Instance in near real-time. This approach allows your source database to remain operational while data is continuously synchronized to the target environment. Downtime is limited to the final cutover phase when you switch your application to the migrated database.
Backup and restore (one-time migration to SQL Server on Azure VM)
If planned downtime is acceptable, use a one-time backup and restore migration to SQL Server on Azure Virtual Machines. In this offline migration approach, application downtime begins when the migration starts and continues until the database restore is completed on the target environment.
Azure Database Migration Service (all targets)
Azure Database Migration Service (Azure DMS) is a fully managed service that supports migrations from multiple database sources to Azure data platforms with minimal downtime, high reliability, and resiliency. You can access Azure DMS through the Azure portal, PowerShell, and Azure CLI. To learn more, see What is Azure Database Migration Service.
Azure DMS supports both offline (one-time) migration to Azure SQL Database, SQL Managed Instance, or SQL Server on Azure VM, and online (continuous backup restore) migrations for SQL Managed Instance and Azure VM, so you can choose a migration approach based on downtime requirements.