Designing migrations
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
- The Cloud Adoption Framework and migration strategies
- Discovery and assessment with Azure Migrate
- Migrating to IaaS and PaaS
- Tools for databases and unstructured data
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.
| Strategy | What it means |
|---|---|
| Retire | Switch off what nobody needs |
| Rehost | Lift and shift to VMs, no code changes |
| Replatform | Small changes to use managed services, such as moving a database to SQL Managed Instance |
| Refactor or rearchitect | Change code or design to use PaaS and cloud-native services |
| Rebuild or replace | Rewrite the app, or move to a SaaS product |
| Retain | Keep 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
| Source | Target | Tool |
|---|---|---|
| VMware, Hyper-V or physical servers | Azure VMs | Azure Migrate (server migration) |
| IIS web apps (.NET) | App Service | Azure Migrate (web app assessment and migration) |
| SQL Server | Azure SQL Database, SQL Managed Instance or SQL Server on VMs | Azure Database Migration Service, after assessment in Azure Migrate |
| MySQL or PostgreSQL | Azure Database for MySQL or PostgreSQL | Database 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
| Scenario | Recommend |
|---|---|
| Hundreds of TB, limited bandwidth | Azure Data Box (offline) |
| NAS shares (SMB or NFS) moved over the network, managed centrally | Azure Storage Mover |
| Keep file servers but sync them to Azure Files | Azure File Sync |
| Scripted copies into Blob storage | AzCopy |
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