Volume 12 · Chapter 7 — System Design Case Studies
Case Study: Migrating a Legacy Application to AWS
7.1 The Problem and Requirements
A bank must migrate a large on-premises estate - a legacy Oracle-backed core application, file shares, and dozens of supporting systems - to AWS, minimizing downtime and risk while modernizing where it pays off. This is the classicmigrationscenario the professional exam emphasizes, and it exercises the migration strategies (the 7 Rs) and services (DMS, DataSync, MGN, Storage Gateway) end to end.
7.2 The 7 Rs and Portfolio Assessment
The migration begins with a portfolio assessment classifying each application by the7 Rs:Retire(decommission unused apps),Retain(leave on-premises for now),Relocate(move VMware wholesale),Rehost(lift-and-shift with minimal change),Replatform(lift-and-reshape, e.g. move a database to RDS/Aurora),Repurchase(replace with SaaS), andRefactor(re-architect cloud-native). The bank retires redundant apps, repurchases commodity systems as SaaS, rehosts most straightforward servers, replatforms the databases to managed services, and refactors only the strategic core. The exam expects per-application classification against the 7 Rs, choosing the cheapest strategy that meets each app’s needs rather than refactoring everything.
flowchart TB Assess[Portfolio assessment - 7 Rs] --> Retire[Retire] & Retain[Retain] & Rehost[Rehost - MGN] Assess --> Replat[Replatform - DB to RDS/Aurora via DMS+SCT] Assess --> Repurch[Repurchase - SaaS] & Refactor[Refactor - cloud-native] Rehost --> Cutover[Cutover with minimal downtime] Replat --> Cutover
7.3 The Migration Services
Specific services execute the migration.AWS Application Migration Service (MGN)rehosts servers by continuously block-replicating them to AWS, then launching cutover instances with minimal downtime (the lift-and-shift engine).Database Migration Service (DMS)migrates databases with change data capture to keep source and target in sync until a low-downtime cutover, and theSchema Conversion Tool (SCT)converts the schema for heterogeneous moves (Oracle → Aurora PostgreSQL).DataSyncperforms bulk file-share transfer to S3/EFS/FSx, andStorage Gatewaygives hybrid access during transition.Migration Hubtracks progress across all of these, andTransfer Familyhandles ongoing SFTP. The exam pattern: MGN for server rehost, DMS+SCT for database migration, DataSync for bulk file transfer, Migration Hub for tracking.
7.4 Minimizing Downtime and Hybrid Coexistence
Low-downtime migration relies oncontinuous replication then cutover: MGN and DMS replicate live data so the final cutover window is minimal, and DMS CDC keeps the database in sync until the switch. During the often-lengthy transition, the estate ishybrid- Direct Connect (with VPN backup) connects on-premises to AWS, Storage Gateway bridges storage, and DNS (Route 53 Resolver) resolves both ways - so migrated and not-yet-migrated systems coexist and communicate. Astranglerapproach migrates the monolith capability by capability behind a facade. This staged, replicate-then-cutover, hybrid-coexistence approach is exactly how the exam expects a large migration to minimize risk and downtime.
7.5 Well-Architected Migration
Throughout, the migration is governed: a Control Tower landing zone provides the target multi-account structure with guardrails before workloads land, the AWS Cloud Adoption Framework structures the organizational change, and each migrated workload is reviewed against the Well-Architected pillars (right-sized, secured, made resilient multi-AZ, cost-optimized). Rehosted workloads are then modernized incrementally where it pays off (replatforming databases, refactoring the strategic core) - avoiding both “lift-and-shift and never improve” and “refactor everything at once.” This governed, assessed, incrementally-modernized migration is the professional-level approach the certification targets.
7.6 Chapter Revision Notes
- Classify each app by the 7 Rs (Retire, Retain, Relocate, Rehost, Replatform, Repurchase, Refactor) - cheapest strategy that fits, not refactor-everything.
- MGN rehosts servers (continuous block replication + cutover); DMS (+ SCT for schema) migrates databases with CDC for low-downtime cutover; DataSync for bulk file transfer; Migration Hub tracks.
- Minimize downtime by continuous replication then a small cutover window; run hybrid during transition (Direct Connect + Storage Gateway + Route 53 Resolver).
- Land into a Control Tower landing zone with guardrails; structure the program with the Cloud Adoption Framework; review each workload against Well-Architected.
- Modernize incrementally after rehost (replatform DBs, refactor the strategic core) rather than all at once or never.