Modernization Architecture

Migrate & Modernize · In-Flight vs. Sequential Factory

Move first and improve later, or modernize during the move? When each approach fits, the common modernization targets (containers on EKS, Aurora, and managed messaging), and what the final phase hands over.

Module: 06 of 06 Level: Modernization Architecture Time: 7 min read Updated:
All modules in this track (6)

In this module, you'll learn to:

  • Decide when to rehost first and when to modernize during the move
  • Recognize the common modernization targets: Amazon EKS, Aurora, and managed messaging
  • List what the final phase hands over

Before you start: read Target State Blueprint for the 7Rs, and The Mobilize Phase for how waves run.

Principle

Move first, or modernize on the way?

Migrations used to be done in two separate steps:

  1. Migrate: lift and shift every VM to EC2 as quickly as possible (rehost).
  2. Modernize: improve the applications later, once they're in AWS.

Doing it in that order keeps the move simple. But it has a cost, sometimes called the migration tax: you pay to recreate the old setup in the cloud (the same VM sizes, operating system licences, and patching work), and "later" often never comes once the deadline pressure is gone.

So many migrations now mix the two: most servers are rehosted, while the parts where modernizing pays off most are changed during the move.

Comparison

Two approaches

Move first, modernize later (rehost)

  • How: copy servers as they are to EC2 with AWS Application Migration Service (MGN).
  • Best for: a hard deadline such as a datacenter exit in 60–90 days, complex vendor software you can't change, or teams new to AWS.
  • Strength: fast, with very little change to the applications.
  • Weakness: old problems and costs move with you, and the savings from managed services are delayed.

Modernize during the move

  • How: move straight to managed AWS services (replatform or refactor) as part of the wave.
  • Best for: your own core applications, databases facing an expensive licence renewal, and CI/CD runner fleets.
  • Strength: lower running costs sooner, better scaling, and no second migration later.
  • Weakness: more engineering effort up front, more testing, and the application team must be closely involved.
Patterns

Common modernization targets

A typical mix, workload by workload:

  • Web and API tiers on VMs: into containers on Amazon EKS, with Karpenter.
  • Self-managed SQL Server VMs: to Amazon Aurora PostgreSQL, where the application can be changed and tested.
  • File servers: to Amazon EFS (Linux) or Amazon FSx for Windows File Server.
  • Vendor software and batch servers: rehosted to EC2 with MGN, and reviewed again later.

1. Compute: from VMs to Amazon EKS

Instead of fixed EC2 instances sized like the old VMs, containerized workloads run on Amazon EKS:

  • Karpenter adds nodes to fit the pods that are actually waiting, and removes them when they're empty, so you're not paying for idle capacity. (The Kubernetes track covers this in depth.)
  • AWS Graviton (ARM64) nodes, where the container images are built for ARM64, for better price-performance (Module 02).
  • Spot Instances for interruptible work such as CI/CD build runners and queue workers. AWS quotes savings of up to 90% off On-Demand, in exchange for capacity that can be taken back at short notice.

2. Databases: to Amazon Aurora

Databases are often the biggest licence cost, and the most work to look after:

  • Self-managed PostgreSQL or MySQL to Aurora: the backups, replication across Availability Zones, point-in-time recovery, and storage growth are handled for you, instead of by scripts and maintenance windows.
  • SQL Server or Oracle to Aurora PostgreSQL: the AWS Schema Conversion Tool (SCT) converts the schema, and AWS Database Migration Service (DMS) moves the data. This removes the commercial database licence, but stored procedures and application queries usually need real changes and careful testing.
3. Messaging: from self-hosted brokers to managed services
  • Amazon SQS and EventBridge replace message brokers running on VMs, so one slow service doesn't take others down with it.
  • API Gateway and Lambda suit small, occasional endpoints such as admin tools and webhooks, where you pay only when they're called.
Deliverables

What the final phase hands over

  1. Repeatable migration runbooks for servers and databases, used wave after wave.
  2. The code for the new platform: Terraform modules for EKS and Aurora, Helm charts, and CI/CD pipelines.
  3. Cutover reports and sign-off: performance after each cutover, and acceptance by the application owners.
  4. MAP close-out reporting, as required by AWS or your partner.
  5. Datacenter exit: old hardware securely wiped and retired, so the lease or colocation contract can end.
Recap

Key terms

  • Migration tax: paying to recreate the old setup in the cloud, while modernizing "later" often never happens.
  • Rehost first: copy servers as they are with MGN. Fast, but old problems and costs move too.
  • Modernize in flight: replatform or refactor during the wave. Lower running costs sooner, but more effort and testing.
  • SCT and DMS: the Schema Conversion Tool converts the schema and DMS moves the data, for example from SQL Server to Aurora PostgreSQL.
  • Spot Instances: spare capacity at up to 90% off On-Demand (AWS's figure) that can be taken back at short notice.
Check yourself

Pop quiz

Five questions: three on the ideas in this module, and two scenarios where you apply them. The order changes every time you take it, and 4 out of 5 passes.

5 questions. Decide on your answer to each, then check it.

  1. Concept

    What is the "migration tax"?

    1. Paying to recreate the old setup in the cloud, while modernizing "later" often never happens
    2. A fee AWS charges for MGN
    3. The cost of MAP reporting
    4. Data transfer charges during replication
    Show answer

    Paying to recreate the old setup in the cloud, while modernizing "later" often never happens

    Same VM sizes, same licences, same patching work, now on AWS, until someone finds time to change them.

  2. Concept

    Which workloads suit Spot Instances?

    1. Production databases
    2. Interruptible work, such as CI/CD build runners and queue workers
    3. Domain controllers
    4. Anything on a 3-year Savings Plan
    Show answer

    Interruptible work, such as CI/CD build runners and queue workers

    Spot capacity can be taken back at short notice, so it fits work that can stop and restart.

  3. Concept

    Moving from SQL Server to Aurora PostgreSQL removes the database licence. What does it usually also need?

    1. Nothing; DMS converts everything automatically
    2. Real changes to stored procedures and queries, and careful testing
    3. A Dedicated Host
    4. Rehosting to EC2 first
    Show answer

    Real changes to stored procedures and queries, and careful testing

    SCT converts the schema and DMS moves the data, but the application's database code usually needs work.

  4. Scenario

    The datacenter must be empty in 75 days, and most servers run vendor software you can't change. What fits most of the estate?

    1. Rehost with MGN now, and review for modernization later
    2. Refactor everything to Lambda
    3. Modernize every application during the move
    4. Retain everything until after the deadline
    Show answer

    Rehost with MGN now, and review for modernization later

    A hard deadline and software you can't change are exactly what rehosting is for.

  5. Scenario

    Your own core application faces an expensive SQL Server licence renewal, and its team is closely involved. What fits it?

    1. Rehost it unchanged
    2. Modernize it during the move, for example to Aurora PostgreSQL with SCT and DMS
    3. Retire it
    4. Relocate it to VMware on AWS
    Show answer

    Modernize it during the move, for example to Aurora PostgreSQL with SCT and DMS

    A costly renewal and a team that can change and test the application make modernizing in flight worth the extra effort.

Questions about this learning path?

I'm happy to go into more detail on any of this: scoping an assessment, building the cost model, or planning migration waves.

anupojuprudhvi@gmail.com