smaple.tr
Cloud & DevOps

Cloud Migration Strategy: How to Pick the Right R for Each App

Mehmet Kurtipek
July 20, 2026
13 min read
Cloud & DevOps
Cloud migration
AWS
Data migration

A cloud migration strategy is a decision, made for each application, about what happens to it when you move to the cloud: switch it off, leave it where it is, move it as it is, move it with a few targeted changes, replace it with a SaaS product, or rebuild it around cloud services. Around those decisions sits a plan that is mostly about order and cutover: find out what each system talks to, move low-risk systems first, and change the architecture after the move unless an application is already due for a rewrite. Written down, a good strategy looks like a spreadsheet with one row per application: its strategy, its owner, its dependencies, its migration wave and how you would roll it back.

We are a small software team, and the cloud work in our portfolio has been one application at a time. On Diderot, the course platform developed at Carnegie Mellon, we upgraded the AWS Elastic Beanstalk platform and Python version and rebuilt the staging and production environments while courses were running on it. For Tribute Technology we moved a data platform's production code into the client's own repositories and AWS account, and for Savings United we validated the move of a cost fact table from SQL Server to Google BigQuery. So this post is written for a company with somewhere between a handful and a few dozen applications, not for a bank emptying three data centres.

The seven Rs in plain terms

The vocabulary started as Gartner's five Rs. AWS's migration guidance now lists seven, and Microsoft's Cloud Adoption Framework uses eight with slightly different names (it separates refactor from rearchitect and adds rebuild). The names matter less than making one explicit choice per application and writing it down.

Strategy

What happens

Choose it when

Watch for

Retire

Switch it off and archive the data

Nobody uses it, or another system already does its job

A month-end report or partner integration that still calls it

Retain

Leave it where it is for now

Residency rules, special hardware, servers bought recently, a mainframe

"For now" with no review date tends to become permanent

Rehost

Move the same servers to cloud VMs ("lift and shift")

The app is stable and there is a deadline, such as a data centre contract ending

Existing problems and oversized servers move with it

Relocate

Move a whole virtualisation platform to a cloud-hosted version of it, or move workloads between accounts, regions or VPCs

Large VMware estates; account or region changes

Platform licensing and support for the version you run

Replatform

Move with targeted changes: a managed database, containers, a newer OS

One component eats admin time and has a managed equivalent

Engine differences, connection limits, extensions you relied on

Repurchase

Replace it with a SaaS or commercial product

Email, CRM, HR, ticketing: anything you don't compete on

Data export, integrations, per-seat pricing as you grow

Refactor

Redesign it around cloud-native services

The current architecture already holds the product back

The highest cost and risk of the seven

AWS is direct about the last row. For large migrations it advises against refactoring during the move and recommends rehosting, relocating or replatforming first, then modernising once the application runs in the cloud. That holds for small migrations too. When hosting and architecture change in the same release, every bug has two possible causes and it gets hard to tell which one you are looking at.

How to choose a strategy for each application

Work through these questions in order and stop at the first yes.

  1. Does anyone still need it? Look for evidence: logins, inbound connections, scheduled jobs that read its data. AWS's guidance flags applications with average CPU and memory use below 5 percent, or with no inbound connections in the last 90 days, as candidates to retire. Confirm with the business owner before you switch anything off, and keep a backup you have test-restored.
  2. Does it have to stay where it is? A law or contract, hardware with no cloud equivalent, or servers bought last year are all good reasons. Retain it and write down the date you will look at it again.
  3. Is it a commodity? If a SaaS product does the job and nobody picked your current system for a competitive reason, repurchase. The work then becomes data export, user training and integrations.
  4. Is it due for a rewrite anyway? If product reasons already justify rebuilding it, refactor, and run the rebuild as its own software project with its own schedule. When we moved the hospital rostering software of Oplist, a client we build for, from Flutter Web and Flask onto React and Node.js, the hardest parts were time and data integrity. Keep a rebuild like that off a data centre exit deadline.
  5. Does one component cost you admin time and have a managed equivalent? Replatform that component. Moving a self-managed database to a managed service such as Amazon RDS, Azure SQL Database or Cloud SQL is usually the first change worth making, because backups, patching and failover stop being your team's job.
  6. Otherwise, rehost (or relocate, for a VMware estate) and improve it once it runs in the cloud. Microsoft's framework adds a useful test: rehost only when you are confident the workload will stay as it is for at least two years. If it will be modernised sooner, doing the two moves separately means paying for much of the work twice.

Many applications end up with a mixed answer: web servers rehosted, the database replatformed, an old reporting module retired. That is normal, so record the decision per component. For old systems where every option looks bad, our post on legacy system modernization looks at those options in more depth.

Map dependencies before you plan waves

Most of the unpleasant surprises in a migration are connections nobody wrote down. For each application, collect:

  • the owner, the users and when they use it, which sets your cutover window
  • servers, data size and how fast the data changes
  • every inbound and outbound connection: databases, file shares, queues, SMTP relays, licence servers, other systems' APIs
  • scheduled jobs and scripts, including the ones that run on someone's laptop
  • outside parties that allowlist your IP address: payment providers, banks, government services, customers' firewalls
  • how long it can be down and how much recent data you can afford to lose (RTO and RPO)

Discovery tools help on larger estates. On AWS, Migration Hub closed to new customers on 7 November 2025, and AWS now points new projects to AWS Transform, which has taken over its features. For ten or twenty servers a spreadsheet can be enough, as long as you collect connection logs for a full month so the monthly jobs show up too.

The IP allowlist deserves its own warning. Once outbound traffic leaves from a cloud address, every partner that allowlisted your old address will reject it, and getting a partner to change a firewall rule can take days. Request the change before cutover, and in the cloud send outbound traffic through a fixed address (on AWS, a NAT gateway with an Elastic IP) so the next move doesn't repeat the exercise.

Build the landing zone, then move in waves

Before the first real workload, set up what every later wave depends on: separate accounts or subscriptions for production and for everything else, single sign-on with no shared root logins, central logging, backups you have restored at least once, budgets with alerts, and a network plan whose address ranges don't overlap with your office or data centre. Write it as code from day one (our notes on Terraform best practices are a good starting point).

Then group the applications into waves:

  • Keep the first wave small and low-risk, such as an internal tool or a reporting server. Its real purpose is to test the landing zone, the runbook and the rollback.
  • Move applications that talk to each other a lot in the same wave. An application server in the cloud calling a database that is still on premises will be slow, and you pay for the traffic leaving the cloud.
  • Give each wave a named person on the business side who signs off the test results.

Cutover and rollback

For servers you rehost, block-level replication copies the disks continuously until you switch over. On AWS this is done with AWS Transform MGN, which was called AWS Application Migration Service until June 2026. Each source server gets 2,160 free hours (90 days of continuous replication), but the replication servers, disks and test instances it creates in your account are billed at normal rates. For databases, use the engine's own replication or a change-data-capture tool such as AWS Database Migration Service, so the final switch only has to catch up a few minutes of changes.

A cutover runbook should include at least:

  1. DNS TTLs lowered a few days ahead, so a record change takes effect in minutes.
  2. A short write freeze or final sync, followed by a check that source and target agree.
  3. Smoke tests run and signed off by a named person, with real accounts and real workflows.
  4. A written point of no return: the moment after which you fix forward instead of rolling back.
  5. A rollback you have rehearsed. Once users write to the new database, rolling back means bringing those writes back too, so either replicate in reverse or keep the time before the point of no return short.

Check the data with numbers the business already trusts. Row counts catch a missing table; they miss an amount column that lost its decimals. When funeral homes' records moved onto Tribute Technology's platform through the pipeline we built, Tribute's product owner judged the results by matching the migrated data against A/R reports, case counts and spot checks. Here is a simple version you can run on both sides and diff. It is written for PostgreSQL. In SQL Server 2022 the function is DATETRUNC(month, invoice_date) and GROUP BY 1 is not accepted, so repeat the expression; BigQuery writes it DATE_TRUNC(invoice_date, MONTH).

-- Use the same time zone on both sides. If they differ, rows in
-- timestamptz columns from the first hours of a month land in different months.
SET TIME ZONE 'UTC';

SELECT date_trunc('month', invoice_date) AS month,
       count(*)                          AS row_count,
       sum(amount)                       AS total_amount,
       count(DISTINCT customer_id)       AS customers
FROM invoices
GROUP BY 1
ORDER BY 1;

Budget lines, including the ones plans leave out

One-off costs:

  • your team's and your partner's time for assessment, landing zone, runbooks and testing, plus the time of the business users who test, which is usually the scarcest
  • running both environments until the old one is switched off, which for a database with a long verification period can mean months
  • replication servers, staging disks and test instances
  • training, and a provider support plan for the cutover period

Ongoing costs, compared with today:

  • compute and storage sized from measured use (copying the old servers' specifications is an easy way to overpay)
  • managed services you add, such as databases, load balancers and NAT gateways
  • data transfer out of the cloud: inbound traffic is free on the big providers, outbound traffic is metered
  • licences: Windows Server and SQL Server don't become free, so you either pay for licence-included instances or bring your own under Microsoft's rules
  • backups, snapshots and logs, which grow quietly
  • the support plan

When the first bills come in above the business case, the common causes are servers copied one-to-one from on-premises specifications, test environments running nights and weekends, logs kept forever, and traffic routed through NAT gateways. The last one is easy to miss: in US East (Ohio), for example, a NAT gateway costs $0.045 an hour plus $0.045 for every gigabyte it processes, so one that handles 1,000 GB a month costs about $33 for the hours and $45 for the processing, before any data transfer charges. Traffic to S3 or DynamoDB can bypass it through a gateway VPC endpoint, which has no charge. Wait for a couple of months of steady usage before you commit to Savings Plans or reserved capacity, and then commit only the steady part. Our post on AWS cost optimization goes further into bringing the bill down once you are running.

Before you sign anything, also ask whether your migration qualifies for a provider programme. AWS runs the Migration Acceleration Program (MAP), and Microsoft and Google have their own equivalents.

Where the data is allowed to live

Decide where data may be stored before you choose a region. Under GDPR, personal data leaving the European Economic Area needs a transfer mechanism, such as an adequacy decision or standard contractual clauses, so an EU company putting customer data in a US region should check which one its provider's data processing terms rely on. Some sectors and countries go further: in Turkey, for example, banks must keep their primary and secondary systems inside the country. Residency also covers backups, logs and the provider's support access, so ask in writing where each of those lives.

Plan the exit while you plan the move. Keep infrastructure as code, keep data in formats you can export, and prefer open standards where a proprietary service doesn't save you much. In the EU this now has legal backing: under the Data Act, providers may charge only cost-based fees for switching to another provider or back on premises until 12 January 2027, and no switching charges at all from that date.

Frequently asked questions

How long does a cloud migration take?

It depends more on the number of applications, their dependencies and the cutover windows the business accepts than on the number of servers. Ask for a plan per wave, keep the first wave small enough to finish within a few weeks, and judge the rest of the timeline once you have seen how that one went.

Can we migrate without downtime?

For most applications you can get it down to minutes. With servers replicating continuously and database changes streamed through change data capture, the final switch only has to catch up a few minutes of changes, but you still stop writes briefly while you compare source and target. Truly zero downtime means the application has to run against two live copies of its data for a while, which is a code change. A short planned window at a quiet hour is usually cheaper.

Is lift and shift a bad idea?

Often it is the right first step, especially against a deadline. Two things tend to go wrong afterwards: the bill, because the servers keep their on-premises sizes, and the postponed improvements, which never find a budget. Resize in the first couple of months and put the improvements in the plan with dates.

Should we use more than one cloud provider?

For most companies with a small team, one provider plus data you can export is enough. Running two clouds doubles the skills, tooling and security reviews you need, and it rarely pays off unless a customer or regulator requires it.

If you'd like a second opinion on your application list or cutover plan, get in touch.

Related Articles

July 21, 2026

AWS Cloud Architecture: A Practical Blueprint and What It Costs

The AWS setup we would suggest for most web apps and SaaS products, layer by layer: accounts, network, compute, data and operations, with October 2026 prices for Frankfurt.

Read More: AWS Cloud Architecture: A Practical Blueprint and What It Costs
July 18, 2026

AWS Cost Optimization: What to Fix First, and What It Saves

The order matters more than any single trick: clean up, rightsize and move to Graviton before you buy Savings Plans. Worked examples use AWS list prices from October 2026.

Read More: AWS Cost Optimization: What to Fix First, and What It Saves
July 13, 2026

Docker Compose vs Kubernetes: When One Server Stops Being Enough

Docker Compose runs a multi-container app on one machine; Kubernetes runs it across many. How to tell which you need and what Kubernetes really costs.

Read More: Docker Compose vs Kubernetes: When One Server Stops Being Enough