devHọc Dev

Week 5 - Day 1: Migration (7Rs, Data Migration, Advanced Migration Services)

Week 5 – Day 1

This lesson combines 3 topics: Migration Strategies (7Rs), Data Migration Patterns, Advanced Migration Services.

Learning Objectives

  • Memorize the 7Rs and map the right strategy to the question's keywords (minimal changes, SaaS, cloud-native...)
  • Know the migration tool set by phase: discovery → server/database migration → data transfer
  • Stay current on the Snow Family in 2026 (only Snowball Edge 210TB remains, for existing customers only, no new customers) and the alternatives (DataSync, Data Transfer Terminal)
  • Pick the right data transfer tool: DataSync vs Transfer Family vs S3 Transfer Acceleration vs Snowball Edge
  • Understand online vs offline vs hybrid migration patterns based on bandwidth and deadline
  • Recognize the keywords that distinguish the tools in Professional-level questions
  • Know the full AWS Assess → Mobilize → Migrate tool set and which services stopped accepting new customers (11/2025) but still appear on the exam
  • Understand Refactor Spaces as a "packaged" Strangler Fig and when to choose it over building your own API Gateway
  • Distinguish Replatform and Refactor for mainframes; recognize COBOL/z/OS keywords
  • Memorize the MGN lifecycle (test → cutover → finalize), post-launch actions, and the boundary between MGN and DRS
  • Know how to build a wave plan based on dependencies, pilot, hypercare, and a rollback plan
  • Choose correctly between Outposts, Local Zones, Wavelength, ECS Anywhere, EKS Hybrid Nodes based on data residency, latency, and who owns the hardware
  • Know the additions for data/database migration: SFTP connectors, agentless DataSync, DMS Serverless, DMS homogeneous migration, and the current state of VMware Cloud on AWS → Amazon EVS

Part 1: Migration Strategies (7Rs)

1. The 7Rs of Migration

┌─────────────────────────────────────────────────────────┐│7RsMIGRATIONSTRATEGIES││││1.RETIRE││└──Decommission,nolongerneeded││││2.RETAIN││└──Keepon-premises(notreadytomigrate)││││3.RELOCATE(VMwareonly)││└──VMwareCloudonAWS││││4.REHOST(LiftandShift)││└──Moveas-istoEC2││└──Tools:MGN(SMSisdeprecated)││││5.REPLATFORM(LiftandReshape)││└──Minoroptimizations││└──Example:MovetoRDS││││6.REPURCHASE(DropandShop)││└──MovetoSaaS││└──Example:CRMtoSalesforce││││7.REFACTOR(Re-architect)││└──Redesignforcloud-native││└──Mosteffort,mostbenefit│└─────────────────────────────────────────────────────────┘

2. Migration Tools

┌─────────────────────────────────────────────────────────┐│AWSMIGRATIONTOOLS││││DISCOVERY:││├──MigrationHub││├──ApplicationDiscoveryService││└──MigrationEvaluator││││SERVERMIGRATION:││├──ApplicationMigrationService(MGN)││├──ServerMigrationService(SMS)-deprecated││└──ElasticDisasterRecovery(DRS)-DR,not││migration(sameagentasMGN)││││DATABASEMIGRATION:││├──DatabaseMigrationService(DMS)││└──SchemaConversionTool(SCT)││││DATATRANSFER:││├──DataSync││├──TransferFamily││├──SnowFamily││└──StorageGateway││││CONTAINERMIGRATION:││└──App2Container│└─────────────────────────────────────────────────────────┘

3. Application Migration Service (MGN)

┌─────────────────────────────────────────────────────────┐│MGNPROCESS││││SourceServersAWS││┌────────────┐┌────────────────┐│││Server││StagingArea││││+Agent│──Replication────►│(EBSvolumes)│││└────────────┘└────────┬───────┘│││││Test/Cutover│││││┌────────┴───────┐│││TargetEC2││││Instances│││└────────────────┘││││Benefits:││-Continuousreplication││-Non-disruptivetesting││-Automatedconversion││-Supportsphysical,virtual,cloud│└─────────────────────────────────────────────────────────┘

4. Database Migration Service (DMS)

Migration Types:
- Full load
- Full load + CDC (Change Data Capture)
- CDC only

Supported Sources:
- On-premises databases
- RDS, Aurora, S3
- Oracle, SQL Server, MySQL, PostgreSQL

Schema Conversion Tool (SCT):
- Convert schemas between engines
- Oracle → PostgreSQL
- SQL Server → MySQL
- Assessment reports

5. Snow Family (state as of 2026)

Important for the 2026 exam: AWS retired most of the Snow Family in 2024 — Snowmobile was discontinued (2024), and Snowcone and Snowball Edge Storage Optimized 80TB / older Compute Optimized were discontinued on Nov 12, 2024. The only remaining generation is Snowball Edge Storage Optimized 210 TB. If an option mentions Snowmobile/Snowcone → it is a distractor. 2026 update: AWS Snowball Edge no longer accepts new customers (it only serves existing customers); new customers use DataSync (online, including over Direct Connect) or AWS Data Transfer Terminal (bring your storage devices to an AWS location for high-speed upload). The SAP-C02 exam may still use Snowball Edge as the answer for offline scenarios — answer according to the question, but know the current state.

┌─────────────────────────────────────────────────────────┐│SNOWFAMILY—CURRENTGENERATION││││SNOWBALLEDGESTORAGEOPTIMIZED(210TB):││├──Theonlydeviceyoucanstillorder││├──NVMestorage,upto100Gbpsnetwork││└──Petabyte-scale:useMULTIPLEdevicesinparallel││││DISCONTINUED(knowthemtoruleoutdistractors):││├──Snowcone8TB→EOL11/2024││├──SnowballEdge80TB→EOL11/2024││└──Snowmobile100PB→discontinued2024││││Usewhen:││-Limitedbandwidth││-Largedatasets(>10TBtypically)││-Timeconstraints││││Guidance2026:││-Petabyte-scale→fleetofSnowballEdge210TB││(inparallel)orDataSyncoverDirectConnect││-Smalledgecomputing(replacingSnowcone)→││DataSync/Outposts/LocalZonesasrequired││││Transfertimecomparison:││100TB@1Gbps≈9-10days(theoretical,100%link)││100TB@100Mbps≈93days→offlineismuchfaster││100TBviaSnowballEdge≈~1week(incl.roundtrip)│└─────────────────────────────────────────────────────────┘

Part 2: Data Migration Patterns

1. AWS DataSync

┌─────────────────────────────────────────────────────────┐│AWSDATASYNC││││Sources:││├──NFS││├──SMB││├──HDFS││├──S3-compatiblestorage││└──Othercloud(Google,Azure)││││Destinations:││├──S3(anyclass)││├──EFS││└──FSx(Windows,Lustre,OpenZFS,NetApp)││││Features:││-Upto10Gbps││-Automaticretry││-Scheduling││-Datavalidation││-Bandwidththrottling│└─────────────────────────────────────────────────────────┘

2. AWS Transfer Family

Managedfiletransfer:├──SFTP(SSHFileTransferProtocol)├──FTPS(FTPoverSSL)├──FTP(notencrypted-notrecommended)└──AS2(B2Btransfers)Backendstorage:-S3-EFSAuthentication:-Servicemanaged-AWSDirectoryService-Customidentityprovider(Lambda)

3. S3 Transfer Acceleration

Use case: Upload from distant locations

Without: Client → Internet → S3 (long path)
With: Client → Edge Location → AWS Backbone → S3

Enable per bucket
Additional cost for accelerated transfers
Test with Speed Comparison tool

4. Migration Patterns

ONLINEMIGRATION:┌─────────────────────────────────────────────────────────┐│DataSync/DMS││-Continuoussync││-Minimaldowntime││-Networkdependency│└─────────────────────────────────────────────────────────┘OFFLINEMIGRATION:┌─────────────────────────────────────────────────────────┐│SnowballEdge210TB(theonlycurrentgen—Snowcone/││SnowmobilereachedEOLin2024)││SnowballEdgenolongeracceptsnewcustomers→││useDataSync/DataTransferTerminal││-Physicaldevice││-Largedatasets││-Limitedbandwidth││-Longeroveralltime│└─────────────────────────────────────────────────────────┘HYBRID:┌─────────────────────────────────────────────────────────┐│Initial:SnowballEdge(bulkdata)││Ongoing:DataSync(incremental)│└─────────────────────────────────────────────────────────┘

Part 3: Advanced Migration Services

1. The migration tool landscape and the 11/2025 changes

Part 1 covered the 7Rs and the basic tool groups. At the Professional level, questions often describe an organization with 500-2,000 servers and ask for the "first step" or "what to use to decide the strategy" — that is, they ask about the Assess/Mobilize phase, not the migration tool.

┌─────────────────────────────────────────────────────────┐│MIGRATIONJOURNEY&TOOLS(SAP-C02)││││ASSESSMOBILIZEMIGRATE/MODERNIZE││───────────────────────────────││MigrationMigrationHubMGN(rehost)││Evaluator(TCO)(tracking)DMS+SCT││DiscoveryStrategyDataSync/Snowball││ServiceRecommendationsRefactorSpaces││(agent/agentless)OrchestratorMainframeModern.││(workflow)Transform(AI)│├─────────────────────────────────────────────────────────┤│11/2025:MigrationHub,StrategyRec.,RefactorSpaces,││Orchestrator,DiscoveryService→NOnewcustomers││Existingcustomerscontinue;replacement:AWSTransform│└─────────────────────────────────────────────────────────┘
ServiceQuestion it answersExam keyword
Migration EvaluatorWhat is the TCO of on-prem vs AWS? Business case"build a business case", "TCO"
Application Discovery ServiceWhich servers exist, how much CPU/RAM they use, how they depend on each other?"inventory", "dependency mapping"
↳ Agentless CollectorOVA running on vCenter, installs nothing on the VMs; the Network Data Collection module captures source IP → destination IP/port connections between servers"cannot install agents", "VMware"
↳ Discovery AgentInstalled on each server (Windows/Linux), captures network connections tied to processes"process-level dependency", "physical servers"
Migration HubMigration progress for the whole organization in one place (home Region)"single view", "track progress"
Strategy RecommendationsShould this app be Rehosted/Replatformed/Refactored? Any incompatibilities?"recommend migration strategy", "anti-patterns"
Migration Hub OrchestratorRuns predefined workflows: SAP NetWeaver/HANA, SQL Server native backup → RDS, rehost to EC2, replatform onto ECS Fargate"predefined workflow", "SAP migration"
Refactor SpacesBreak up a monolith incrementally without clients noticing"incremental", "strangler fig", "minimal disruption"

Change in current state (checked against 2026 docs): Since Nov 7, 2025, AWS Migration Hub together with Strategy Recommendations, Orchestrator, Refactor Spaces, and Application Discovery Service no longer accept new customers; existing customers continue as normal. AWS directs new customers to AWS Transform — an agentic AI service that combines discovery, assessment, and VMware/Windows/.NET and mainframe migration. MGN was also renamed AWS Transform MGN (functionality unchanged). The SAP-C02 exam guide has not been updated, so questions still use the old service names — learn them to recognize them, but in real work know the new path. Handle this the same way as the Snow Family in Part 1.

2. Refactor Spaces — Strangler Fig out of the box

Week 5 Day 2 (Part 1) teaches the Strangler Fig pattern from an architecture perspective. AWS Migration Hub Refactor Spaces is the AWS-managed implementation: you declare an environment, application, services, and routes; Refactor Spaces builds the API Gateway, NLB, VPC Link, Transit Gateway, and IAM resource policies in your account for you.

┌─────────────────────────────────────────────────────────┐│REFACTORSPACES="PACKAGED"STRANGLERFIG││││Environment(1perappfamily,multi-account)││└──Application(frontdoor)││├──APIGateway(RESTAPI)+NLB+VPCLink││├──Service:monolith(VPC/URLendpoint)││├──Service:orders-ms(Lambda/ECS,acctB)││└──Routes:││DEFAULT→monolith││/orders→orders-ms(addedgradually)││/users→users-ms││││Clientscallasingleendpoint;trafficsplitsbypath.││Networking:TransitGatewaycreatedautomatically,or││"nonetworkbridge"modeifyouhandleconnectivity.│└─────────────────────────────────────────────────────────┘

Why the exam picks Refactor Spaces over "build your own API Gateway + Lambda":

Requirement in the questionBuild your ownRefactor Spaces
Monolith and microservices in different accountsYou must set up VPC peering/TGW + resource policies yourselfMulti-account environment, creates TGW and policies automatically
No URL change for clientsPossible, but you manage the proxyThe application is the single front door, routing by path
Move one feature at a time, with rollbackYou manage versionsDelete the route → traffic goes back to the monolith
Keyword "least operational overhead"✗✓

Trade-off: you still pay for the API Gateway/NLB/TGW it creates, and it only applies to HTTP/HTTPS. For gRPC or message-based systems, you must build the Strangler Fig yourself (for example, event interception via EventBridge).

3. Mainframe Modernization

Keywords COBOL, PL/I, JCL, CICS, DB2 on z/OS, "mainframe MIPS cost" → a mainframe problem. AWS defines two patterns:

ReplatformRefactor (automated)
ApproachRecompile COBOL/JCL and run on a compatible runtime (Micro Focus Enterprise) on EC2/managed runtimeAutomatically convert code to Java/Spring, DB2 → Aurora PostgreSQL (formerly AWS Blu Age, now AWS Transform for mainframe)
Code changesMinimal — keep the language, keep the team's skillsComplete — produces a cloud-native application
Risk / timeLower, fasterHigher, longer, but removes mainframe lock-in completely
Keyword"minimal code changes", "retain COBOL skills", "quickly reduce MIPS cost""cloud-native", "eliminate mainframe", "modern language"

Supporting capabilities: Application Testing (compare batch/online output between the mainframe and the new version), Data Replication (Precisely, CDC from DB2/VSAM to AWS to run in parallel), File Transfer (move mainframe datasets to S3).

Current state: both the Managed Runtime Environment and the self-managed experience of AWS Mainframe Modernization no longer accept new customers; the Refactor pattern moved to AWS Transform for mainframe, and Replatform goes through partners (Micro Focus/Rocket). When the question asks for the "AWS service to modernize COBOL mainframe", the answer is still AWS Mainframe Modernization — choose Replatform or Refactor based on the keywords in the table above.

4. Advanced MGN — test, cutover, post-launch

Part 1 established MGN as the standard rehost tool. Professional questions go deeper into process and configuration:

┌─────────────────────────────────────────────────────────┐│MGNLIFECYCLE(persourceserver)││││Agentinstalled→Initialsync→Continuousreplication│││││▼││READYFORTESTING──▶LaunchTESTinstance│││(noimpactonsource,│││deletedaftertesting)││▼││READYFORCUTOVER──▶LaunchCUTOVERinstance│││(downtime=boottime)││▼││CUTOVERCOMPLETE──▶Finalize:stopreplication,││removeagent,deletestaging││││Launchtemplate:instancetype,subnet,SG,IAM,││licensing(BYOL/AWS),tags.Post-launch:SSMdocs││(installCloudWatchagent,joindomain,patch...).│└─────────────────────────────────────────────────────────┘

Frequently tested points:

  • Test first, cut over later, from the same replica: the test instance launches from a snapshot of the staging area, while the source keeps running and replicating. The answer for "validate before cutover with no impact on production" is launch a test instance in MGN, not creating an AMI manually.
  • Cutover downtime is only the instance boot time + DNS change, because the data is continuously synchronized (block-level). If the question says "cutover window of a few minutes" → MGN.
  • The launch template determines the instance type (MGN suggests right-sizing from source metrics), subnet, SG, IAM instance profile, license (Windows BYOL vs AWS-provided), and tags for Migration Hub tracking.
  • Post-launch actions = SSM documents that run right after the instance comes up: install the CloudWatch agent, join AD, run patching, convert to Linux/… There is a default action set and custom actions are allowed. Keyword "automatically install agents after migration" → post-launch actions.
  • Replication settings: a dedicated staging subnet, small instances + cheap EBS, optionally a dedicated replication server for high-I/O servers, KMS encryption, and private connectivity (VPN/DX + VPC endpoint) when internet traffic is not allowed.
  • CSV import/export: register hundreds of servers in the MGN inventory by wave.

MGN vs DRS (details in Week 4 Day 1, Part 2 section 8): same agent, same staging, but MGN ends with finalize cutover and stops replication; DRS replicates indefinitely, supports failback, and runs periodic drills. Using MGN for DR or DRS for migration are both wrong answers.

5. Running AWS outside a Region — Outposts, Local Zones, Wavelength, ECS/EKS hybrid

The scenario group "data must stay in country X / latency < 10 ms to the factory / we have existing on-prem servers we want to reuse" all comes down to one question: where is the control plane, and whose hardware is it.

┌─────────────────────────────────────────────────────────┐│RUNNINGAWSOUTSIDEAREGION—WHEREISTHECONTROL││PLANE?││││AWScontrolplane,AWShardware,inyourDC:││Outpostsrack(42U)→localEC2/EBS/RDS/EKS/ECS││Outpostsserver1U/2U→NOLONGERSOLD(seenote)││││AWScontrolplane,AWShardware,inametro/5G:││LocalZones→single-digitmslatencyforacity││Wavelength→insideacarrier's5Gnetwork││││AWScontrolplane,YOURhardware:││ECSAnywhere→externalinstanceviaSSMagent││EKSHybridNodes→on-premnodesjoinEKScluster││EKSAnywhere→self-operatedK8sclusteron-prem││(controlplanealsoon-prem)│└─────────────────────────────────────────────────────────┘
OptionHardwareControl planeWhen to chooseKeyword
Outposts rackAWS, placed in your DCAWS RegionStrict data residency, very low latency to on-prem systems, need identical AWS APIs (EC2, EBS, RDS, ECS/EKS, S3 on Outposts)"data must remain on-premises", "consistent AWS APIs", "local processing"
Local ZonesAWS, in a metroAWS RegionApps for users in one city that need single-digit ms (gaming, media, real-time)"end users in [city]", "single-digit millisecond"
WavelengthAWS, inside a carrier's 5G networkAWS Region5G mobile devices that need ultra-low latency (AR/VR, vehicles)"5G", "mobile edge"
ECS AnywhereYours (on-prem/VM/other cloud)AWS RegionRun containers on existing servers without managing a control plane"existing on-premises servers", "ECS APIs"
EKS Hybrid NodesYoursAWS RegionUse a real EKS cluster, with on-prem nodes joining over VPN/DX"Kubernetes", "on-premises nodes", "unified management"
EKS AnywhereYoursOn-prem (you operate it)Air-gapped, must not depend on the Region when the network is down"disconnected", "air-gapped"

Current-state note: AWS has stopped selling Outposts servers 1U/2U and is focusing on Outposts racks with smaller form factors; older questions still mention "Outposts server" for small sites — read it as Outposts in general. All AWS-hardware options need a connection back to the Region (service link); if an Outpost loses connectivity, local workloads keep running but control-plane APIs cannot be called.

6. Data and database migration — advanced pieces

6.1 Transfer Family SFTP connectors

A Transfer Family server (Part 2) lets partners push files into your S3. An SFTP connector is the reverse direction: AWS actively connects to an external SFTP server to pull/push files on a schedule or on events, with no EC2 running sftp scripts. Keyword "retrieve files from a partner's SFTP server on a schedule with no servers to manage". There is also an AS2 connector for B2B.

6.2 DataSync — when do you need an agent?

Source → DestinationAgent?
NFS / SMB / HDFS / object storage on-prem → S3, EFS, FSxRequired (agent VM/EC2 close to the source)
S3 → S3 (same or different account, different Region)No
S3 ↔ EFS ↔ FSx (between AWS storage services)No
Other cloud (GCS, Azure Blob, object storage) → S3Enhanced mode: no agent needed; Basic mode: agent required

If the question asks "copy 50 TB from EFS to S3 in another account, least operational overhead" → DataSync without an agent, not writing scripts or using Storage Gateway. DataSync Enhanced mode (no limit on files per task) supports S3/EFS/FSx Lustre/OpenZFS between each other and also other cloud → S3 without an agent — if the question asks "migrate Azure Blob/GCS to S3 least operational overhead" → DataSync Enhanced mode.

6.3 Snowball Edge

Only Snowball Edge 210 TB remains (Snowcone, Snowmobile, Snowball 80 TB reached EOL — Part 1), and Snowball Edge also no longer accepts new customers: new customers use DataSync or AWS Data Transfer Terminal. On the exam, Snowball Edge is still the "answer per the question" for large offline scenarios. The online/offline decision formula is still TB × 2222 / Mbps hours.

6.4 DMS Serverless and homogeneous data migrations

  • DMS Serverless: no replication instance to choose; DMS provisions automatically, scales by DCU, has built-in HA, and you pay for usage. Keyword "unpredictable migration load", "no capacity planning".
  • Homogeneous data migrations: same engine (MySQL → RDS/Aurora MySQL, PostgreSQL → RDS/Aurora PostgreSQL, MongoDB → DocumentDB); DMS uses the engine's native tools (pg_dump/logical replication, mysqldump/binlog), so it is fast and preserves DB objects (views, procedures) that regular DMS tasks skip. Keyword "same engine", "preserve stored procedures".
  • DMS vs MGN for a database on EC2: need to change engine or the target is RDS → DMS (+SCT if heterogeneous); only need to move the whole DB server to EC2 → MGN.

7. VMware: Relocate with VMware Cloud on AWS and Amazon EVS

The Relocate strategy (Part 1) is tied to VMware. Current state to remember:

  • VMware Cloud on AWS: since Apr 30, 2024, AWS and AWS channel partners no longer resell this service; it continues to operate for existing customers and is sold through Broadcom. On the exam, "migrate VMware workloads without converting VMs, keep vSphere tooling" still → VMware Cloud on AWS / Relocate.
  • Amazon Elastic VMware Service (EVS): a new AWS-native service that runs VMware Cloud Foundation (VCF) on EC2 bare metal directly in your VPC; you bring your VCF license, AWS handles the infrastructure. This is the AWS-operated Relocate path for the post-2025 period.
  • If the question allows changing the hypervisor ("convert to EC2 instances"), it is no longer Relocate but Rehost with MGN (agent) or VM Import/Export (OVA image, no continuous replication).

8. Wave planning, cutover runbook, and rollback

Professional questions rarely ask "use MGN or not"; they ask "how to sequence 1,200 servers with the least risk" or "how to roll back if the cutover fails". This is the Mobilize phase of the Migration Acceleration Program (MAP).

┌─────────────────────────────────────────────────────────┐│WAVEPLANNING(example:1,200servers)││││Wave0Pilot:10-20low-riskservers,allOStypes││→finalizerunbook,measurecutovertime││Wave1Independentapps,fewdependencies,non-prod││Wave2+Groupbydependencygraph(Discovery),││50-150serversperwave,2-3weeks/wave││LastCoreappswithmanydependencies,largeDBs,││compliance│├─────────────────────────────────────────────────────────┤│Eachwave:replicate(MGN/DMS)→test→go/no-go││→cutoverwindow→hypercare1-2weeks→finalize││Rollback:keepsourcerunninguntilhypercareends;││lowDNSTTLtopointbackwithinminutes.│└─────────────────────────────────────────────────────────┘

Principles that questions commonly test:

RequirementCorrect approachCommon trap
Group servers into wavesBy the dependency graph from Discovery Service (apps that talk to each other must move in the same wave)Group by department or by OS
Reduce riskA small pilot wave, non-prod first, finalize the runbook before scalingMigrate core apps first to "show value early"
RollbackKeep the source running, replication continues until finalize; low DNS TTL (60s) to point backShut down the source right after cutover
Minimal downtimeMGN/DMS replicate continuously → cutover is just boot + DNS change; DBs use DMS CDC or read replica promotionManual backup/restore during the cutover window
Landing zone ready before wave 1Control Tower/Organizations, network (TGW, DX/VPN), IAM Identity Center, logging — Week 2Create accounts ad hoc per wave
Track progress across accountsMigration Hub home Region, tag servers by wave/appManual spreadsheets

Exam keywords: "phased approach", "minimize risk", "pilot", "dependency", "rollback plan" → the correct answer almost always contains discovery → group by dependency → pilot → wave → hypercare, and rules out "big bang" or "migrate critical systems first" options.

9. Scenario → service table

Scenario (condensed exam style)AnswerWhy not the others
1,500 VMware VMs, need inventory + dependencies, agents not allowedApplication Discovery Service Agentless CollectorDiscovery Agent requires installation; Migration Evaluator only does TCO
CFO needs a 3-year TCO business case before approvalMigration EvaluatorStrategy Recommendations is about which R, not money
200 apps, asking "should each app be rehosted or refactored"Strategy RecommendationsMigration Hub only does tracking
Migrate SAP HANA following a standard process, few errorsMigration Hub Orchestrator (SAP template)MGN does not understand SAP workflows
Break up a monolith gradually, microservices in another account, no URL changeRefactor SpacesBuilding your own API Gateway = operational overhead
COBOL batch, keep the COBOL team, reduce MIPS quicklyMainframe Modernization ReplatformRefactor means rewriting in Java
Mainframe → cloud-native Java, eliminate the mainframe entirelyMainframe Modernization Refactor (AWS Transform)Replatform still runs COBOL
Validate servers on AWS before cutover with no impact on prodMGN test instanceA manual AMI does not sync data
Automatically install CloudWatch agent and join domain after migrationMGN post-launch actions (SSM)User data requires editing each launch template
Data must stay in-country, need local RDS/EBS, AWS APIsOutposts rackLocal Zones is AWS infrastructure in a metro, not your DC
Game servers for users in one city, < 10 msLocal ZonesThe nearest Region is 30-50 ms
Containers on existing on-prem servers, managed with ECSECS AnywhereEKS Anywhere requires operating the control plane yourself
Pull files from a partner's SFTP every hour, no serversTransfer Family SFTP connectorA Transfer server is for partners pushing in
Copy EFS → S3 in another account, low overheadDataSync (no agent)Scripts/Storage Gateway are unnecessary
5 TB on-prem MySQL → Aurora MySQL, keep stored proceduresDMS homogeneous data migrationRegular DMS tasks do not migrate procedures; SCT is for heterogeneous
Keep vSphere/vSAN/NSX, do not convert VMsRelocate: VMware Cloud on AWS / Amazon EVSMGN would convert to EC2

Review Questions

  1. Map exam keywords to the 7Rs: "minimal changes", "move to SaaS", "cloud-native rewrite"?

    Show answer

    "Migrate quickly with minimal/no changes" → Rehost (MGN). "Minor optimization, e.g. self-managed DB → RDS" → Replatform. "Move to SaaS" (CRM → Salesforce, email → Microsoft 365) → Repurchase. "Redesign into microservices/serverless, cloud-native" → Refactor (highest effort, greatest long-term benefit). "VMware environment, no hypervisor change" → Relocate (VMware Cloud on AWS). "App about to be decommissioned" → Retire; "compliance requires staying on-prem" → Retain.

  2. Why is MGN the standard rehost answer instead of SMS?

    Show answer

    SMS (Server Migration Service) is deprecated — AWS replaced it with MGN (Application Migration Service): agent-based continuous block-level replication into a staging area (EBS), non-disruptive testing (launch a test instance without affecting the source), cutover measured in minutes, and support for physical/virtual/cloud sources. SMS only replicated VM snapshots in batches, which was slower. On the exam, SMS appearing is a distractor — just like Snowmobile.

  3. When do you need SCT alongside DMS?

    Show answer

    DMS moves the data (full load + CDC for near-zero downtime). When the migration is heterogeneous (changing engine: Oracle → Aurora PostgreSQL, SQL Server → MySQL), you need SCT to convert the schema/stored procedures first, along with an assessment report showing how much can be converted automatically. Homogeneous (Oracle → RDS Oracle) does not need SCT — use native tools or DMS directly. Keyword "different database engine + minimal downtime" → SCT + DMS (full load + CDC).

  4. Move 2 PB of data with limited bandwidth within 1 month — what is the 2026 approach?

    Show answer

    A fleet of Snowball Edge Storage Optimized 210TB — about 10 devices running in parallel, each round about 1 week including shipping. Snowmobile is no longer an answer (discontinued 2024). If you already have a high-capacity Direct Connect (10-100 Gbps): DataSync over DX is also feasible (2 PB @ 10 Gbps ≈ 19 days in theory). Quick formula: hours ≈ TB × 2222 / Mbps — with low bandwidth, offline wins.

  5. How does DataSync differ from Storage Gateway in purpose?

    Show answer

    DataSync = a data movement/synchronization tool (one-time or scheduled): NFS/SMB/HDFS/object → S3/EFS/FSx, with validation and throttling — used for migration and periodic sync. Storage Gateway = long-term hybrid access: on-prem apps keep reading/writing over NFS/SMB/iSCSI with a local cache while the data lives in S3 — used when the app stays on-prem but wants cloud storage. Keyword "migrate file server to AWS" → DataSync; "on-prem apps continue accessing data with low latency" → Storage Gateway (File Gateway).

  6. When should you use Transfer Family instead of DataSync?

    Show answer

    Transfer Family when external partners/legacy systems need to push/pull files over standard SFTP/FTPS/AS2 protocols and you do not control the client (banks, B2B partners) — a managed endpoint, auth via service-managed/AD/Lambda custom IdP, S3/EFS backend. DataSync is an agent you deploy to move data between your own systems. Keyword "partners upload via SFTP" → Transfer Family; "migrate 50TB NFS share" → DataSync.

  7. When is S3 Transfer Acceleration a good fit and when is it not?

    Show answer

    Good fit: globally distributed clients far from the region uploading directly to S3 (mobile apps, field devices) — traffic enters the nearest edge location and then travels over the AWS backbone; enabled per bucket, and you only pay when it is actually faster. Not a good fit: transfers within the same region, a large dataset in one place (DataSync/Snowball is better), or when you need complex multipart resume. Test with the Speed Comparison tool before deciding.

  8. Design a migration for a 500 TB file server with a shared 1 Gbps link and minimal downtime.

    Show answer

    Hybrid pattern: (1) bulk transfer with Snowball Edge (2-3 devices) — 500 TB @ 1 Gbps takes ~46 days in theory and saturates the shared link; (2) meanwhile, the source keeps changing → run DataSync incremental to sync the delta over the network (throttle bandwidth during business hours); (3) cutover: freeze writes, run DataSync one last time (small delta), switch the app to S3/FSx. This is the standard "initial bulk offline + ongoing incremental online" pattern.

  9. A company has 800 VMs on vSphere and 120 physical servers. They need an application dependency map before planning migration waves. Which collection method fits, and why must they be combined?

    Show answer

    Use the Agentless Collector for the 800 VMs (OVA on vCenter, installs nothing on the VMs, collects inventory + utilization, and the Network Data Collection module collects TCP connections between servers), but agentless does not know which process opens a connection, so to get process-level dependency mapping and to cover the 120 physical servers (no vCenter) you must install the Discovery Agent on the important servers. The data flows into Migration Hub to group into applications and plan waves. Migration Evaluator only provides TCO, not dependencies. (Current-state note: these services stopped accepting new customers in 11/2025 and are replaced by AWS Transform — but the exam still uses the old names.)

  10. Why is Refactor Spaces considered the "least operational overhead" answer for Strangler Fig, and what are its limits?

Show answer

Refactor Spaces creates and manages the API Gateway + NLB + VPC Link + Transit Gateway + IAM resource policies for you using the environment/application/service/route model, and supports multi-account from the start; adding a microservice is just adding a path-based route, and rollback is deleting the route — clients keep a single endpoint. Limits: HTTP/HTTPS only, you still pay for the resources it creates, and since 11/2025 it no longer accepts new customers (replaced by AWS Transform). For gRPC/messaging you must build the Strangler Fig yourself (Week 5 Day 2, Part 1).

  1. Distinguish Replatform and Refactor in AWS Mainframe Modernization by exam keywords.
Show answer

Replatform: recompile COBOL/JCL to run on a compatible runtime (Micro Focus Enterprise) — code is nearly unchanged, the COBOL team keeps its skills, fast and low-risk; keywords "minimal code changes", "retain existing skills", "reduce MIPS cost quickly". Refactor: automatically convert to Java/Spring + Aurora PostgreSQL (AWS Blu Age, now AWS Transform for mainframe) — cloud-native, eliminates the mainframe completely but takes longer and is riskier; keywords "modern language", "eliminate mainframe", "cloud-native". Both have Application Testing to compare output and Data Replication to run in parallel.

  1. The operations team wants every server, after MGN cutover, to have the CloudWatch agent, join AD, and be patched — without anyone SSHing into each machine. Where is this configured in MGN?
Show answer

Post-launch actions (post-launch template) — MGN runs SSM documents right after the test/cutover instance starts: there are built-in actions (install CloudWatch agent, run patch baseline, join domain...) and custom documents are allowed. This differs from user data in the launch template (you have to write your own script and there is no tracked status in MGN). The launch template only determines instance type/subnet/SG/IAM/license; replication settings determine the staging area.

  1. Three requirements: (a) data must not leave the DC in country X but RDS and EBS are needed, (b) gamers in one city need < 10 ms, (c) run containers on 50 existing on-prem servers with the ECS API. What do you choose for each?
Show answer

(a) Outposts rack: AWS hardware placed in your DC, control plane in the Region, with local EC2/EBS/RDS/ECS/EKS/S3 on Outposts — meets data residency with identical AWS APIs. (b) Local Zones: AWS infrastructure in a metro, single-digit ms for users in that city; not your DC. (c) ECS Anywhere: register on-prem servers as external instances via the SSM agent, ECS control plane in the Region, reusing existing hardware. Wavelength only when there is a 5G/carrier element; EKS Anywhere when you must operate the control plane yourself (air-gapped). Note that Outposts servers 1U/2U are no longer sold, only racks remain.

Hands-on Exercises

Part 1: Migration Strategies (7Rs)

  1. Discovery: install the Application Discovery Service agentless collector (or agent) on a lab VM, view the server/dependency data flowing into Migration Hub, and try grouping it into an application.

  2. DMS full load + CDC: create a source MySQL (EC2) and a target RDS MySQL, run a DMS full load + CDC task; insert more rows at the source while the task is running and verify CDC replicates them to the target.

  3. Transfer calculation: for 3 scenarios (50 TB @ 500 Mbps, 200 TB @ 1 Gbps, 2 PB @ 100 Mbps), compute the online time with the formula TB × 2222 / Mbps, then decide online (DataSync) vs offline (Snowball Edge) for each case — state the reason clearly as you would in an exam answer.

Part 2: Data Migration Patterns

  1. DataSync NFS → S3: set up an NFS server on EC2 (simulating on-prem), deploy a DataSync agent, create a sync task to S3 with a bandwidth limit, and verify the validation report after it runs.

  2. Transfer Family SFTP: create an SFTP server with an S3 backend and a user with an SSH key, upload a file with the sftp CLI, and confirm the object appears in the bucket at the correct home directory mapping.

  3. Measure Transfer Acceleration: enable acceleration on a bucket and use the Speed Comparison tool (or aws s3 cp --endpoint-url with the accelerate endpoint) to compare upload speed from your machine against the regular endpoint.

Part 3: Advanced Migration Services

  1. Refactor Spaces on paper: take a hypothetical e-commerce monolith (orders, users, catalog), draw the Refactor Spaces environment/application/service/route for 3 incremental extraction waves, and note which account contains what and which route is added in which wave. Compare with the self-built Strangler Fig diagram in Week 5 Day 2 (Part 1) — list the resources Refactor Spaces creates for you.

  2. MGN lifecycle lab: install the MGN agent on an EC2 instance (acting as the source) in Region A, replicate to Region B, launch a test instance, check the application, mark "Ready for cutover", launch the cutover instance, then finalize. Record the time from cutover until the app is ready and observe the staging resources being deleted on finalize. Add a post-launch action that installs the CloudWatch agent and confirm the metrics appear.

  3. Edge matrix: for the 6 options in section 5, build a 3-column table "whose hardware / where is the control plane / still runs when the Region connection is lost?", then write 3 exam-style questions (each with a different keyword) with answers explaining why the other options are wrong.

References


Next lesson →