D4 · Infrastructure

Migration Design

The AZ-305 includes designing migrations: classifying workloads with the 6 Rs of , discovering and assessing with , moving databases with DMS, and choosing online vs offline for large-scale data.

The 6 Rs and the CAF process

StrategyWhat it involvesSignal
Rehost (lift-and-shift)VM → VM with no changes. Fast, no PaaS benefits"Migrate fast without touching code", "exit the datacenter in 6 months"
Refactor (repackage)Minimal changes for PaaS: app → App Service, DB → MI, containers"Reduce administration without rewriting"
RearchitectRedesign parts: monolith → microservices, queues, scaling"The app doesn't scale; modernize the architecture"
RebuildRewrite cloud-native from scratch (serverless, Container Apps)"The legacy code isn't viable"
ReplaceReplace with SaaS (Dynamics, Salesforce)"Stop maintaining a custom-built app"
RetireDecommission — the app adds no value; remove it from the inventory"Inventory finds apps with no active users or duplicated by consolidation"

CAF migration process: Assess → Migrate → Optimize → Secure & Manage, landing in an already-governed (not migrating into an empty subscription with no policies).

Icon-migrate-281

Azure Migrate

Discovery & Assessment

  • • An appliance discovers VMware/Hyper-V/physical servers with no agents (agentless)
  • • Dependency analysis: what talks to what — defines migration groups (move whole apps, not loose servers)
  • • Assessment: readiness, right-sizing (based on real usage, not specs) and cost estimation
  • • Business case: on-prem TCO vs Azure

Migration

  • • Migration and modernization tool: replicates the VMs (agentless for VMware/Hyper-V) and performs a controlled cutover
  • • Test migration to an isolated VNet before the real cutover
  • • Integrates DMS (DBs), Web App assessment, AKS/App Service modernization
Icon-databases-130

Database migration

ToolWhat for
Azure Database Migration Service (DMS)SQL Server → Azure SQL migration (DB/MI/VM): offline or ONLINE (minimal downtime with continuous sync and cutover)
Azure SQL Migration extension (Azure Data Studio)Assessment + guided migration of SQL Server, with target and SKU recommendation
Managed Instance LinkNear real-time replication SQL Server ↔ MI — migration with minimal downtime or hybrid DR
Backup/restore to a URLThe simple path with a downtime window (full + logs to blob, restore at the destination)
Data FactoryMove/transform DATA between heterogeneous stores (doesn't migrate the engine)

Online vs offline

"The database cannot be down for more than X minutes" → online migration (DMS online / MI Link): continuous replication + a brief cutover. If there's a wide maintenance window → offline (simpler and cheaper).

Icon-storage-86

Large-scale data migration

MethodWhen
AzCopy / Storage ExplorerGBs to a few TBs over the network — scriptable, SAS or Entra ID credentials
Azure Storage MoverManaged service for moving SMB/NFS shares and blobs to Azure — project/job with progress tracking, no manual scripts
Azure Data Box (physical appliance)Insufficient bandwidth or massive data: Microsoft ships the appliance. Data Box Disk (40 TB), Data Box (80 TB), Data Box Heavy (~1 PB)
Data Box Gateway / Azure File SyncCONTINUOUS hybrid transfer (virtual gateway / share caching)
Data FactoryScheduled pipelines with transformation between heterogeneous stores
Import/Export (your own disks)Alternative to Data Box using your own SATA disks

Rule of thumb

Calculate the time over the network: 100 TB over 100 Mbps ≈ 100+ days. If the network transfer time is unworkable or there's no bandwidth → Data Box. If the data keeps changing, combine: bulk with Data Box + delta over the network. To move shares or blobs with no scripting → Storage Mover.

Decision table

RequirementDesign
Inventory 500 VMware VMs with no agents installedAzure Migrate appliance (agentless discovery)
Know which servers make up each applicationDependency analysis
Size target VMs by real usage, not specsAssessment with right-sizing
SQL Server → MI with minutes of downtimeDMS online / MI Link
Migrate an app without touching code or OSRehost with the Migration tool
.NET web app to PaaS with minimal changesRefactor → App Service
App with no users after the inventory — don't migrate itRetire (decommission)
300 TB over a 200 Mbps linkAzure Data Box (80 TB) or Data Box Heavy (~1 PB)
Move SMB/NFS shares or blobs with no scriptsAzure Storage Mover
Validate the migration before cutoverTest migration into an isolated VNet
Sync on-prem shares with the cloud during the transitionAzure File Sync

Did you get this topic?

Test what you just learned

A company must migrate 200 VMware VMs and 40 SQL Server instances to Azure. Before moving anything they need: a complete inventory with no agents installed, a dependency map to group servers by application, cost estimation with right-sizing, and for the most critical DBs a migration with minutes of downtime. What combination do you use?

Ready to test "Migration Design"?

Put what you learned to the test with original AZ-305 exam questions.

Start AZ-305 mock exam

Unlimited mock exams with the Pro plan

Log in to track your progress.