Skip to content
tezvyn:

Lift-and-shift versus replatforming migration

Source: interviewEasyHow cards are made

Summary

knowledge of the migration 6 Rs.

Key points

rehosting moves apps unchanged for speed and low risk; replatforming makes targeted optimizations for cloud benefits; explain the speed-versus-value trade-off.

WHAT THIS TESTS This checks familiarity with the migration 6 Rs and the core trade-off between migration speed and the depth of cloud value captured.

A GOOD ANSWER COVERS Rehosting, or lift and shift, moves an application to the cloud essentially unchanged, often as VMs. Pros: fastest, lowest engineering effort and risk, good for tight deadlines, data-center exits, or migrating many apps quickly; it can be partly automated. Cons: it carries existing inefficiencies along, does not exploit managed or elastic services, and frequently fails to lower cost on its own. Replatforming, sometimes called lift-tinker-and-shift, makes a few targeted changes during migration, such as moving from a self-managed database to a managed service or containerizing, to gain real cloud benefits without a full rewrite. Pros: better cost and operational gains. Cons: more effort, testing, and risk than rehosting.

COMMON WRONG ANSWERS Equating lift-and-shift with refactoring or re-architecting. Claiming rehosting automatically saves money. Saying replatforming means rewriting the application. Ignoring that the choice depends on timeline, risk tolerance, and business value.

LIKELY FOLLOW-UPS What are the other Rs? When would you refactor instead? How do you decide per application? What hidden costs follow a pure lift-and-shift?

ONE CONCRETE EXAMPLE A company exiting its data center in six months rehosts a hundred legacy apps as EC2 VMs to hit the deadline. For its busiest app, it replatforms by moving the self-managed MySQL onto RDS, gaining automated backups, patching, and failover, while leaving the application code mostly untouched, a measured step up in value for modest added effort.

Interview question

What is the primary trade-off when choosing rehosting over replatforming for a migration?

  • a.Rehosting is slower but always cheaper to operate afterward
  • b.Replatforming eliminates all need for testing
  • c.Rehosting is faster and lower-risk but captures fewer cloud-native benefitsCorrect
  • d.Rehosting requires rewriting the application from scratch
Why?

Lift-and-shift wins on speed and risk but inherits old inefficiencies and skips managed services. It does not require a rewrite, is not guaranteed to be cheaper to run, and replatforming still demands testing.

Just read this? Test yourself on what you have been reading.

Read the original → docs.aws.amazon.com

You just looked this up. Could you explain it out loud?

That is the part interviews actually test. Tezvyn takes questions like this one and gives you what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Every open role lists the topics its interview covers, so you can prepare for the real thing rather than guessing.

See open roles