# Azure Database Migration Service

Azure Database Migration Service is a managed service for migrating databases from supported source platforms to Azure database services using scenario-specific offline or online workflows.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/azure-database-migration-service

> Azure Database Migration Service coordinates database transfers, migration progress tracking, and cutover for supported source-and-target combinations. Its capabilities include SQL Server migrations to Azure SQL targets, scenario-specific schema migration, and migration paths for MySQL, PostgreSQL, and Oracle, with availability and migration methods varying by scenario.

## 9 key features of Azure Database Migration Service

1. **Offline migration**: Move databases during a planned outage using a supported one-time migration workflow. Rehearse with representative data to determine whether transfer and validation can fit within the maintenance window.
2. **Online migration with controlled cutover**: Supported scenarios synchronize changes after the initial transfer so applications can continue using the source during most of the migration. Stop writes and complete synchronization before redirecting applications; online migration does not guarantee zero downtime.
3. **Multiple Azure SQL targets**: Migrate supported SQL Server databases to Azure SQL Database, Azure SQL Managed Instance, or SQL Server on Azure Virtual Machines. Select the target according to compatibility and operational requirements, and check its supported migration modes.
4. **Azure SQL Database schema migration**: Supported workflows can migrate missing schema objects together with data, including tables, views, stored procedures, indexes, and user-defined types. Review compatibility and object coverage rather than assuming every server-level dependency is transferred.
5. **Discovery and assessment dashboards**: Supported portal experiences show discovered SQL Server inventory, assessment status, migration readiness, and recommended target categories. Use these views to organize migration waves and identify sources requiring remediation.
6. **Migration automation**: Use Azure CLI, PowerShell Az.DataMigration commands, or the Python SDK to automate supported resource creation, migration configuration, status checks, and cutover operations. Keep application validation and approval gates in the surrounding deployment workflow.
7. **Unified MySQL migration experience**: The preview unified experience supports MySQL migrations to Azure Database for MySQL Flexible Server using physical and logical approaches. The physical approach restores supported source backups and can suit large databases, subject to scenario prerequisites.
8. **Oracle data migration previews**: Preview workflows transfer Oracle data to Azure Database for PostgreSQL Flexible Server or Azure HorizonDB after separate schema conversion. The PostgreSQL Flexible Server workflow explicitly supports offline migration; check the HorizonDB workflow's supported migration procedures independently.
9. **PostgreSQL-to-HorizonDB migration preview**: A preview workflow migrates Azure Database for PostgreSQL workloads to Azure HorizonDB through the DMS V2 architecture. Use the supported portal or command-line experience to configure connections and track migration progress.

## Where Azure Database Migration Service is used

1. **Modernize SQL Server applications**: Move compatible application databases to Azure SQL Database or Azure SQL Managed Instance after resolving assessment findings. Validate application queries, authentication, and dependencies before replacing the production connection string.
2. **Migrate workloads with a short outage window**: Use a supported online migration to transfer most data while the source remains operational. Schedule a final write freeze, confirm synchronization, and switch application traffic during a controlled cutover.
3. **Rehost SQL Server with operating-system control**: Migrate databases to SQL Server on Azure Virtual Machines when the workload requires instance features or operating-system access that managed database targets do not provide. Handle jobs, logins, and external dependencies as separate migration tasks.
4. **Run repeatable migration waves**: Automate supported migration operations across groups of databases using PowerShell, Azure CLI, or the Python SDK. Include readiness checks, throughput limits, validation results, and explicit approval before each production cutover.
5. **Move large MySQL workloads to Flexible Server**: Evaluate the preview unified MySQL migration experience for supported sources, including its physical backup-based migration approach. Benchmark backup transfer and restore performance before committing to a production migration window.
6. **Evaluate Oracle database modernization**: After converting Oracle schemas, use the preview offline data-migration workflow for Azure Database for PostgreSQL Flexible Server or the preview data-migration workflow for Azure HorizonDB. Test data-type mappings, application SQL changes, and data reconciliation before adopting either target.

## How Azure Database Migration Service is priced

- **Azure SQL migration workflows**: Azure DMS migration workflows for Azure SQL targets are available without an additional DMS service charge. Target databases, virtual machines, storage, networking, and any customer-hosted migration runtime infrastructure are billed separately.
- **Classic provisioned service tiers**: Where the Classic deployment model is offered, the Standard tier provides offline migration without a DMS service charge, while the Premium tier supports online and offline migration with provisioned hourly pricing and applicable introductory free usage. These tier rules do not apply uniformly to newer migration experiences.
- **Supporting infrastructure and data transfer**: Budget separately for destination compute and storage, backup staging, runtime hosts, and network connectivity. Source-cloud outbound transfer charges and Azure bandwidth charges can also contribute to the total migration cost.

## Services Azure Database Migration Service works with

A common SQL Server migration architecture combines DMS with a provisioned Azure SQL destination and a tested network path to the source. Azure SQL Database is appropriate for supported offline database migrations, while Azure SQL Managed Instance and SQL Server on Azure Virtual Machines also support online scenarios. Backup-based workflows can introduce Azure Blob Storage as a staging layer. Any required self-hosted runtime needs connectivity to its source, staging storage, destination, and service endpoints.

Use Azure Virtual Network segmentation and hybrid connectivity where required by the selected architecture. Resolve private DNS names from the components that actually move data, and test firewall rules before the migration window. Provision enough target capacity for ingestion and validation rather than assuming normal steady-state sizing will deliver the required migration speed.

Other integration patterns are engine-specific. The preview unified MySQL experience targets MySQL Flexible Server and offers physical and logical approaches. Preview Oracle workflows target PostgreSQL Flexible Server or Azure HorizonDB after separate schema conversion; offline migration is explicitly supported for the PostgreSQL Flexible Server path. Another preview path moves Azure Database for PostgreSQL workloads to HorizonDB. Automate supported operations with CLI, PowerShell, or SDK calls, but retain explicit application validation and cutover approvals.

- **[Azure SQL Database](https://blowstack.com/tools/cloud-services-hub/azure-sql-database)**: Azure SQL Database is a destination for supported offline SQL Server migrations. For example, enable schema migration to create supported missing objects alongside the data transfer, then validate application behavior before reopening writes. Resolve incompatible features before migration rather than expecting DMS to rewrite them.
- **[Azure SQL Managed Instance](https://blowstack.com/tools/cloud-services-hub/azure-sql-managed-instance)**: Azure SQL Managed Instance supports online and offline migration scenarios from supported SQL Server sources. For example, use an online migration to synchronize a production database while the application remains on premises, then perform a planned cutover. Migrate instance-level dependencies separately where the selected workflow does not cover them.
- **[Virtual Machines](https://blowstack.com/tools/cloud-services-hub/virtual-machines)**: SQL Server running on Azure Virtual Machines is a supported destination for SQL Server migration scenarios. For example, move an application database to a prepared SQL Server VM when the application needs operating-system access or instance-level capabilities. Configure destination storage, SQL Server permissions, and networking before starting migration.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: Backup-based SQL Server migration workflows can use Azure Blob Storage as a backup staging location. For example, make the required full and transaction-log backups available through the storage path supported by the selected workflow. Restrict access, account for storage and transfer costs, and retain backups until validation and rollback requirements are satisfied.
- **[Azure Virtual Network](https://blowstack.com/tools/cloud-services-hub/azure-virtual-network)**: Azure Virtual Network provides connectivity and network segmentation for migration components in workflows that use customer networks. For example, connect a migration subnet to an on-premises SQL Server network through VPN or ExpressRoute, then configure DNS and the required ports. Validate the actual data path because connectivity requirements differ between service-managed and self-hosted runtime architectures.
- **[Azure Database for MySQL](https://blowstack.com/tools/cloud-services-hub/azure-database-for-mysql)**: Azure Database for MySQL Flexible Server is the destination for the preview unified MySQL migration experience. For example, evaluate physical migration for a supported multi-terabyte source whose backup files can be restored to the target. Confirm source compatibility, backup requirements, and cutover procedures before selecting physical rather than logical migration.
- **[Azure Database for PostgreSQL](https://blowstack.com/tools/cloud-services-hub/azure-database-for-postgresql)**: Azure Database for PostgreSQL Flexible Server is a destination for the preview Oracle offline data-migration workflow. For example, convert an Oracle application's schema, deploy it to Flexible Server, and use DMS to transfer data from the selected schemas. This workflow is distinct from the migration service built into Azure Database for PostgreSQL for PostgreSQL-source migrations.
- **[Azure HorizonDB](https://blowstack.com/tools/cloud-services-hub/azure-horizondb)**: Azure HorizonDB is a target for preview Oracle and Azure Database for PostgreSQL migration scenarios. For example, migrate selected Oracle data after completing schema conversion, or configure the supported PostgreSQL-to-HorizonDB workflow through the portal or command-line interface. Verify the prerequisites and migration mode for the particular source rather than assuming identical migration behavior.
- **[Azure Arc](https://blowstack.com/tools/cloud-services-hub/azure-arc)**: Azure Database Migration Service can create an optional source SQL Server tracking resource through the Azure Arc data resource provider. The resource gives the source instance an Azure identity for tracking its migrations.
- **[Azure Cosmos DB](https://blowstack.com/tools/cloud-services-hub/azure-cosmos-db)**: Azure Database Migration Service can migrate MongoDB collections to Azure Cosmos DB for MongoDB. In an online migration, it copies the initial data and synchronizes subsequent changes until cutover.
- **[Azure ExpressRoute](https://blowstack.com/tools/cloud-services-hub/azure-expressroute)**: Azure Database Migration Service can reach on-premises source databases over ExpressRoute private peering when the migration virtual network is connected to the on-premises network. The source database does not need a public endpoint.
- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: Azure Database Migration Service management operations appear in the Azure Monitor activity log. You can use that log to investigate a failed service deployment or set an alert when a migration service instance is deleted.
- **[Azure Policy](https://blowstack.com/tools/cloud-services-hub/azure-policy)**: Azure Database Migration Service deployments can be audited or restricted with Azure Policy. For example, a policy can deny creation of a `Microsoft.DataMigration/services` resource outside approved Azure regions.
- **[Azure portal](https://blowstack.com/tools/cloud-services-hub/azure-portal)**: Azure Database Migration Service has a dedicated portal workflow for creating a migration service instance, configuring its integration runtime, and starting and monitoring database migrations. For an online SQL Server migration, you can also initiate cutover from the migration details page.
- **[Azure Private Link](https://blowstack.com/tools/cloud-services-hub/azure-private-link)**: Azure Database Migration Service supports private endpoints in supported migration scenarios. This lets migration traffic reach a private Azure SQL or storage endpoint instead of using the resource's public endpoint.
- **[Azure Relay](https://blowstack.com/tools/cloud-services-hub/azure-relay)**: Azure Database Migration Service uses Azure Relay for communication with the self-hosted integration runtime in supported SQL migration workflows. The runtime initiates outbound HTTPS connections, so it does not need an inbound internet listener.
- **[Azure Resource Manager](https://blowstack.com/tools/cloud-services-hub/azure-resource-manager)**: Azure Database Migration Service exposes resource types under `Microsoft.DataMigration` for provisioning and managing migration resources through Azure Resource Manager. An ARM template can deploy a migration service instance and configure supported migration resources on its target.
- **[Azure role-based access control (Azure RBAC)](https://blowstack.com/tools/cloud-services-hub/azure-role-based-access-control-(azure-rbac))**: Azure Database Migration Service exposes management permissions under `Microsoft.DataMigration` that Azure RBAC evaluates at the assigned scope. You can grant a migration operator access to the migration service's resource group without granting subscription-wide access.
- **[Azure VPN Gateway](https://blowstack.com/tools/cloud-services-hub/azure-vpn-gateway)**: Azure Database Migration Service can reach a private on-premises source database through a site-to-site VPN. Azure VPN Gateway connects the migration virtual network to the source network so the database does not have to be exposed publicly.
- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: Azure Database Migration Service accepts Microsoft Entra-authenticated Azure Resource Manager requests for management operations. An automation job can use a Microsoft Entra service principal to manage migrations without signing in as an individual user.
- **[Service Bus](https://blowstack.com/tools/cloud-services-hub/service-bus)**: Azure Database Migration Service uses Service Bus connectivity for its classic migration infrastructure. Network security rules on the migration subnet must permit outbound HTTPS traffic to the `ServiceBus` service tag for workflows that use that infrastructure.
- **[SQL Server enabled by Azure Arc](https://blowstack.com/tools/cloud-services-hub/sql-server-enabled-by-azure-arc)**: Azure Database Migration Service can represent a source SQL Server instance as an optional `Microsoft.AzureArcData/sqlServerInstances` tracking resource. This provides a source-instance record in Azure for the migration without moving the database during registration.
- **[SQL Server on Azure Virtual Machines](https://blowstack.com/tools/cloud-services-hub/sql-server-on-azure-virtual-machines)**: Azure Database Migration Service supports offline and online migrations to SQL Server on Azure Virtual Machines. In an online migration, it restores database backups and continues applying transaction log backups until you stop writes at the source and cut over.

## Alternatives to Azure Database Migration Service in other clouds

### AWS

**[AWS Database Migration Service (AWS DMS)](https://blowstack.com/tools/cloud-services-hub/aws-database-migration-service-(aws-dms))**: Both are managed database migration services that can synchronize source changes to reduce downtime before cutover. AWS DMS also supports ongoing replication for disaster recovery, while Azure DMS uses synchronization to support migration cutover.

| | Azure Database Migration Service | AWS Database Migration Service (AWS DMS) |
| --- | --- | --- |
| Endpoint requirement | Destination on an Azure service | At least one endpoint on AWS |
| Replication scope | Synchronization through cutover | Migration or ongoing replication |
| Migration service charges | No DMS fee for Azure SQL workflows | Hourly compute; extra storage charges |

Compared Nov 2026.

## What is Azure Database Migration Service

Azure Database Migration Service, commonly called Azure DMS, helps engineers move database workloads to Azure without building their own migration orchestration. It supports specific combinations of source engine, target service, and migration mode rather than acting as a universal database conversion tool. Before deployment, confirm supported engine versions, regional availability, networking requirements, and release status for the exact migration path.

For SQL Server workloads, targets include Azure SQL Database, Azure SQL Managed Instance, and SQL Server on Azure Virtual Machines. Azure SQL Database supports offline migration, while supported Managed Instance and SQL Server virtual machine scenarios offer offline and online options. Offline migration requires stopping application writes for the migration window. Online migration transfers the initial database contents and synchronizes subsequent changes through a scenario-specific mechanism, reducing application downtime to the final cutover period rather than eliminating it.

Preparation remains an engineering responsibility. Assess compatibility, remediate unsupported database features, size the destination, and provision the target before starting migration. Discovery and assessment dashboards can help organize SQL Server inventory and migration readiness in supported experiences. Treat target recommendations as planning inputs and verify them against production workload measurements, availability requirements, and licensing constraints.

Data movement architecture varies by scenario. Some workflows use a self-hosted integration runtime to reach source databases or backup locations; others use service-managed migration infrastructure. Establish the required DNS resolution, routing, firewall rules, and database permissions for the selected workflow. Where supported, use private connectivity to source and target systems. Keep encrypted connections enabled and distinguish Azure resource permissions from database credentials needed to read source data and write to the destination.

Schema handling also depends on the migration path. Supported Azure SQL Database migrations can transfer missing schema objects alongside data, including tables, views, stored procedures, and indexes. This does not imply automatic remediation of incompatible SQL or migration of every instance-level dependency. Validate logins, jobs, linked servers, application connection settings, and other dependencies separately. Preview Oracle-to-PostgreSQL Flexible Server migrations provide offline data transfer after schema conversion. The preview Oracle-to-Azure HorizonDB workflow also requires schema conversion before data transfer; select migration procedures according to that target's documented capabilities.

Rehearse the migration with representative data and measure throughput, source impact, and cutover duration. For online migrations, monitor synchronization progress, stop application writes at the agreed cutover point, and allow remaining changes to reach the target before switching connections. Validate row counts, critical queries, permissions, and application behavior after migration. Maintain an explicit rollback plan because DMS is a migration service, not a permanent bidirectional replication or disaster recovery platform.
