Skip to content

AWS migration: from inventory to cutover

B2Bnetwork team · · 6 min

Integrations, data and cloud

In brief

An AWS migration runs in four steps: an application inventory with dependencies and a strategy for each, grouping into waves, continuous replication of servers and databases to AWS, and finally a cutover following an hour-by-hour runbook with a point you can roll back to. Servers usually move with AWS Transform MGN (block-level replication) and databases with AWS Database Migration Service. The most important cutover decision is when to end replication, because after that, going back to the old data center becomes hard.

Inventory: the table that decides everything else

A migration does not start with servers but with applications. For each one, record the same fields:

FieldExampleWhy
Application and business ownerwarehouse system, logistics managerwho approves the window and the tests
Servers and databases2 application servers, 1 SQL Server databasereplication scope
DependenciesERP, label printers, carrier SFTPwhat must move together or keep a link
Maintenance windowSunday 2:00–6:00 a.m.when you can cut over
Acceptable data loss and downtime0 transactions, 4 hourschoice of replication method
Strategyrehost, replatform, retirewhich tools and how much work

AWS describes seven strategies (the 7 Rs): retire, retain, rehost, relocate, repurchase, replatform and refactor. For large migrations, AWS recommends rehosting or replatforming and modernizing after the move. Choosing a strategy is covered in more detail in Cloud migration strategies.

Check your discovery tooling before the project starts. AWS Migration Hub has not accepted new customers since November 7, 2025, and AWS points to AWS Transform as its successor. The inventory still needs conversations with administrators, because no tool knows that the monthly report depends on a spreadsheet on accounting's network drive.

Waves: in what order to move

A wave is a group of servers and applications that move together. A good wave:

  • contains an application together with its database and the services it talks to every second;
  • has one maintenance window and one owner who approves the tests;
  • in the first round, covers simple, less critical applications that let you validate networking, identity, backups and monitoring in AWS.

Later waves are larger, because the team already knows the tools and the typical problems. Critical systems (ERP, payments, production) go last, once the cutover procedure has been rehearsed several times.

Replication: servers and databases

Servers. AWS Transform MGN installs a replication agent on the source server. The agent copies entire disks and then continuously sends block-level changes to AWS. A server moves through lifecycle states from "not ready" (initial sync in progress), through "ready for testing" and "ready for cutover", to "cutover complete". You can launch a test instance that reflects the server's current state, check it and delete it, while the old server keeps running normally. Servers are grouped into applications and waves, and actions run for a whole wave at once.

Databases. AWS Database Migration Service loads a full copy of the data and then replicates ongoing changes, so the cutover pause takes minutes instead of hours of export. When the database changes engine, for example from Oracle to PostgreSQL, you add schema and procedure conversion plus result testing, as described in Oracle to PostgreSQL migration.

Watch replication lag. If on cutover day replication cannot keep up with month-end processing, the pause will grow.

A cutover runbook with a rollback point

Cutover is a procedure written hour by hour, with a named person for each step. An example for a system with a Sunday 2:00–6:00 a.m. window:

WhenStepWho
T−7 dayslower DNS record time to live (TTL), review the test instance resultsadministrator, application owner
T−1 dayfreeze application changes, confirm replication is healthymigration lead
2:00stop the source application, final sync, check replication lagadministrator
2:30launch target instances, switch the databasemigration team
3:00smoke tests: login, key transactions, printing, integrationstesters, key users
4:00change DNS, route traffic to AWSadministrator
5:30decision point: stay or roll back to the data centerapplication owner
T+1 to T+7observation: performance, errors, nightly jobs, end-of-day closeoperations team
after stabilizationfinalize cutover and switch off old serversmigration lead

The last step matters. According to AWS documentation, finalizing cutover in MGN stops replication, discards the replicated data and uninstalls the agent from the source. Until then the old server is your way back, so finalize only after a few days of quiet operation, including the first end-of-day or end-of-week close.

After cutover: cleanup and costs

  • Right-sizing. After a few weeks of measurements, shrink VMs that run at a few percent of capacity.
  • Commitments. One- or three-year Savings Plans lower the price of compute, but buy them only for the stable, measured part of the load.
  • Retiring old servers. A server left running "just in case" in the data center six months after migration costs money and still needs patching.
  • Backups and restore. Test a restore from backup in AWS before the first incident, not during it.
  • Cost owner. Every account and project has a person who reviews the bill each month.

The same flow applies to an Azure migration, with different tools and pricing, as compared in Azure migration: plan, costs and pitfalls. B2Bnetwork engineers set up AWS accounts and networking as code, move applications in waves and run cutovers as part of our Platform and DevOps service.

Questions and answers

How long does an AWS migration take?

Inventory and preparing accounts, networking and identity usually take a few weeks. After that, the waves set the pace: the number of dependencies, maintenance windows and how long application owners need for testing. The first wave of simple applications shows the team's real speed and makes the rest of the schedule realistic.

How long is the downtime at cutover?

With continuous replication of servers and databases, the pause covers stopping the application, the final sync, launching instances, smoke tests and the DNS change. For a simple application that is usually an hour or two within the maintenance window. Systems with many integrations take longer, because each one has to be tested in turn.

What if something does not work after cutover?

Follow the decision point in the runbook: if the error can be fixed quickly, stay in AWS; if not, roll back to the source servers, which until cutover is finalized still hold the data as of the moment the application stopped. That is why finalizing cutover and switching off old servers is a separate, later step.

Does migrating to AWS require rewriting applications?

Not necessarily. Most applications move unchanged or with small changes, for example a database moved to a managed service. Rebuilding an application during the migration raises risk and lengthens the project, which is why AWS recommends modernizing after the move, one application at a time.

Connecting systems or moving them to the cloud? Talk to an architect.

Let's talk

Read more: Integrations, data and cloud

All in Integrations, data and cloud →