Modernizing Data Infrastructure via Azure Migration Service
Moving a database to Azure is rarely difficult because copying bytes is impossible. The difficult parts are preserving application behavior, protecting transactions, managing cutover time and proving that the migrated system can be operated safely. A database may restore cleanly while linked servers, jobs, collations, authentication or application connection strings behave differently. Those issues belong in the migration plan before a service is selected.
Azure Database Migration Service (DMS) supports specific combinations of source engines, target services and offline or online migration modes. It is not a promise that every database engine can move to every Azure target with uninterrupted replication. Microsoft maintains a scenario matrix, and support can change by version and region. The right first question is whether the exact source-target pair is supported, followed by how the business will verify a clean cutover.
Start with the current database engine and version, its operating-system dependencies, high-availability configuration, storage and peak activity. Then choose whether the real target is Azure SQL Database, Azure SQL Managed Instance, SQL Server on an Azure VM, an Azure PostgreSQL/MySQL offering or another platform. These choices offer different levels of engine compatibility and operational responsibility.
An application heavily dependent on SQL Server Agent jobs or instance-level features should not be assumed to fit an Azure SQL Database design unchanged. Managed Instance may reduce some compatibility work, while an Azure VM can preserve more operating-system and SQL Server control at the cost of managing the VM and platform lifecycle. The migration destination is an application architecture decision, not just a DMS dropdown.
Create a service inventory before a tool run: dependent applications, owners, acceptable maintenance window, data sensitivity, query throughput, operational recovery requirements and technical constraints. Separate the immediate migration from optional modernization so the project does not accidentally turn one bounded database cutover into an unapproved platform rewrite.
Compare the operating model as well as the database engine. In a managed service, the customer may relinquish server-level access but still owns schema quality, identity configuration, data access and application performance. On a VM, the organization retains more patching, backup and availability work. Those changes determine who must sign off the target before a migration tool is launched.
Microsoft’s DMS documentation distinguishes offline transfer from online migration with ongoing change synchronization. The supported combinations differ. For example, DMS supports online migrations for documented SQL Server-to-Managed Instance scenarios, while other source-target combinations may be offline only or use a different supported migration path. Never infer online support for Azure SQL Database from its availability for Managed Instance.
Confirm whether the chosen scenario is generally available or preview, which Azure regions support it, and whether the source engine and version meet prerequisites. Review the tool’s current limitations, including supported data types, database features, backup and log layout, authentication and network access. A migration mode marked ‘supported’ still needs a workload-specific compatibility assessment.
Use a short proof of concept with representative data and queries. A small empty schema that migrates correctly does not establish that a production database with cross-database transactions, large objects and long-running jobs will behave correctly. Record each incompatibility with its owner and intended remediation before booking cutover.
Data migration transfers records and structures; it does not automatically repair an application that relies on unsupported features or on the old server’s environment. Inventory stored procedures, extensions, scheduled jobs, linked servers, authentication methods, certificates, collations and vendor-supported configurations. Run compatibility tooling where the chosen engine provides it, then review the warnings as engineering work items rather than passing the job because there is no fatal error.
A successful migration rehearsal has two independent results. First, validate data: row counts, representative checksums, high-value tables and application-specific invariants. Second, validate behavior: the application connects with the intended identity, performs a typical transaction, exercises key reports and completes integrations on time. Record which test queries must be repeatable in production after cutover.
Limit last-minute schema changes. If teams change a source data model while replication is running, the tool’s behavior depends on the engine and migration mode. Document a change freeze or an explicitly supported synchronization path, and designate an owner to approve exceptions.
The migration runtime and database endpoints need appropriate routes, DNS resolution, firewall and identity configuration. For privately accessible services, verify the specific data path from the DMS runtime or migration environment to both source and target, not only from an administrator’s laptop. A green portal resource says little about whether database traffic can reach the expected hostname over the expected port.
In designs spanning virtual networks, Azure VNet peering is one possible part of that path, but peering alone does not fix private DNS resolution or allow traffic through network security rules. Test the exact origin, destination, resolved address and effective route before changing security boundaries. Never open a database to unrestricted public access simply because a migration wizard fails to connect.
Use the least privilege needed for assessment, migration and cutover; those permissions may differ. Protect credentials and connection strings through the appropriate secrets system, record access grants and revoke temporary rights when the job completes. Confirm the application’s post-migration authentication path independently from the migration account.
An offline migration stops source writes for the duration needed to transfer, validate and switch traffic. An online method attempts to reduce that outage by synchronizing changes until a final cutover, but it introduces monitoring and coordination requirements of its own. The business should set a maximum acceptable write freeze and loss window rather than assume the service offers universal zero downtime.
Estimate the time to move the full database, catch up incremental changes, complete consistency checks, rotate connection settings and exercise a representative transaction. Run the rehearsal with realistic volume. A migration that takes two hours on test data and fifteen hours under full production write load should not surprise the team on cutover night.
Set explicit go/no-go criteria. Examples include replication lag inside an agreed threshold, all critical schema objects validated, no unexpected errors from the application test suite, confirmed application-owner presence and a reversible traffic plan. Define who has the authority to abort even when the migration dashboard is green.
Rollback is harder after the new environment accepts production writes. A statement like ‘switch back if something goes wrong’ is incomplete unless it explains how those new transactions would be preserved, reconciled or intentionally abandoned. Establish the last reversible point before the team begins cutover and require an explicit decision before crossing it.
Prepare recoverable database backups using the source engine’s supported method and verify access to restore them. Record how source writes will be paused and how the application will be redirected. For bidirectional change or reverse replication, rely only on a supported, tested mechanism—do not assume DMS can reverse every scenario automatically.
A practical rollback drill includes the order of actions, credentials, configuration snapshots, DNS or connection changes, expected application downtime and evidence needed to declare the old platform trustworthy again. Run it in a controlled environment and measure the time instead of merely reading the procedure aloud.
Compare representative query latency, throughput, lock waits, resource consumption and scheduled work against a source baseline. A database can pass functional tests while exceeding performance budgets due to an unsuitable service tier, index behavior or an unrecognized application access pattern. Watch production metrics during a planned observation window instead of closing the incident when the DNS change succeeds.
Confirm backup schedules, retention, patch responsibilities, security monitoring, failover and restore ownership for the target service. Managed offerings move certain infrastructure duties to Microsoft, but they do not transfer responsibility for schema design, application credentials, data correctness or business continuity. Update runbooks and on-call contacts so the support team knows the new recovery path.
Document the final source and target versions, completed compatibility fixes, schema/data checks, decision timestamps, observed downtime and residual work. Those records will often provide more operational value than the migration job history alone. They also inform the next database’s assessment, rather than repeating the same assumptions for every workload.
DMS is a useful migration service, not a universal compatibility guarantee. A robust project starts with Microsoft’s current source-target support matrix, chooses an appropriate target architecture, and rehearses both data validation and application behavior. Online replication is worth using when it is supported and materially reduces a business-relevant outage; it is not inherently better if the destination’s requirements or operational complexity make the outcome unsafe.
Keep modernization goals visible but separate from the minimum safe cutover. Once the application behaves correctly and recoverably in Azure, teams can evaluate further changes to resilience, analytics and cost. That sequencing makes progress measurable and prevents a long-running migration from becoming a collection of unrelated architectural experiments.