Designing migrations

AZ-305 Azure Solutions ArchitectInfrastructureAbout 20 minutesBy Cloud Hands On

Plan migrations with the Cloud Adoption Framework, assess what you have, then pick tools for servers, databases and unstructured data.

In this lesson you'll learn

1. The Cloud Adoption Framework

Refresher: what the CAF is

The Microsoft Cloud Adoption Framework (CAF) is free guidance for moving to and running in Azure. Its methodologies are Strategy, Plan, Ready (build landing zones), Adopt (migrate and innovate), Govern, Secure and Manage.

StrategyWhat it means
RetireSwitch off what nobody needs
RehostLift and shift to VMs, no code changes
ReplatformSmall changes to use managed services, such as moving a database to SQL Managed Instance
Refactor or rearchitectChange code or design to use PaaS and cloud-native services
Rebuild or replaceRewrite the app, or move to a SaaS product
RetainKeep on-premises for now, for example because of regulation

2. Assess first

Azure Migrate is the central hub. Its appliance discovers on-premises servers, databases and web apps (agentless for VMware and Hyper-V), maps dependencies between servers, and produces assessments with recommended Azure sizes, readiness and monthly cost estimates. It also assesses SQL Server instances for migration to Azure SQL.

Exam focus

Dependency analysis tells you which servers must move together. If a question asks how to group servers into migration waves, the answer involves Azure Migrate dependency analysis.

3. Migrating workloads

SourceTargetTool
VMware, Hyper-V or physical serversAzure VMsAzure Migrate (server migration)
IIS web apps (.NET)App ServiceAzure Migrate (web app assessment and migration)
SQL ServerAzure SQL Database, SQL Managed Instance or SQL Server on VMsAzure Database Migration Service, after assessment in Azure Migrate
MySQL or PostgreSQLAzure Database for MySQL or PostgreSQLDatabase Migration Service or the service's built-in migration tools

Database Migration Service supports online migrations (continuous sync, short cutover) and offline migrations (downtime during the copy). Azure Data Studio has been retired, so assessments now run in Azure Migrate, and migrations through DMS in the portal.

4. Unstructured data

ScenarioRecommend
Hundreds of TB, limited bandwidthAzure Data Box (offline)
NAS shares (SMB or NFS) moved over the network, managed centrallyAzure Storage Mover
Keep file servers but sync them to Azure FilesAzure File Sync
Scripted copies into Blob storageAzCopy

Example

Larkfield Group has 600 VMware servers, 80 SQL Server instances and 300 TB of file shares. The architect recommends an Azure Migrate appliance for discovery and dependency mapping, then migration in waves based on the assessments. Most servers are rehosted with Azure Migrate, and databases move online to SQL Managed Instance with DMS. Data Box handles the initial file copy, and Storage Mover the final sync.

Exam traps to remember

  • Assess before you migrate. Azure Migrate assessments give sizing and cost.
  • "Minimal downtime" for databases means an online migration.
  • Data Box is for large one-off transfers over a slow link, not ongoing sync.

Test yourself: 3 check questions and exam-style practice questions on this topic are in the AZ-305 Azure Solutions Architect app.

Practise in the app

Keep going