Lesson 1 of 5 Migration Solutions

Planning a Migration with the Cloud Adoption Framework

This lesson explains the framework's phases and the migration strategies.

Learning outcomes

After completing this lesson, you will be able to:

  • List the Cloud Adoption Framework phases.
  • Compare the migration strategies.
  • Explain migration wave planning.

The framework

The Cloud Adoption Framework (CAF) is Microsoft's guidance for moving to Azure, covering business, people and technology. While the Well-Architected Framework addresses the quality of a single workload, the CAF addresses an organization's whole cloud journey. It currently describes seven phases.

  • Strategy defines the business justification and expected outcomes.
  • Plan turns the strategy into a plan, with an inventory, skills and a timeline.
  • Ready prepares the environment, usually by deploying Azure landing zones.
  • Adopt migrates workloads, and builds or modernizes applications.
  • Govern establishes policies and controls for the environment.
  • Secure improves security posture across the estate.
  • Manage runs the cloud estate operationally.

The order matters for migration scenarios. A landing zone must be ready before workloads arrive, because identity, networking and policy are far harder to add once workloads are in place. Govern, Secure and Manage continue throughout, rather than following migration as a final step.

Put in order

CAF phases

Exam skills 4.3.1

Arrange the first four Cloud Adoption Framework phases in order.

Log in to try this activity Interactive activities are free with an account.

Migration strategies

Each workload needs its own migration strategy, and the CAF describes the common options, often called the Rs of rationalization.

Retire

Decommission a workload that is no longer needed. Assessments often find applications that nobody uses, and retiring them gives immediate savings and reduces migration scope.

Rehost

Move a workload with minimal change, usually to virtual machines, known as lift and shift. It is the fastest option, and it suits a fixed deadline such as a datacenter exit, but it leaves the existing architecture largely unchanged.

Replatform

Change the hosting platform, without rewriting the application, by moving it for example from a virtual machine to App Service, or from SQL Server to SQL Managed Instance. Replatforming gains the benefits of a managed service for modest effort.

Refactor and rearchitect

Refactoring improves code without changing its external behaviour, and rearchitecting changes the structure of the application, for instance dividing it into microservices. These strategies suit applications with clear business value that need better scale or faster delivery.

Rebuild and replace

Rebuilding creates a new cloud-native application. Replacing buys a software as a service product instead, such as moving a custom CRM to a commercial one. This removes the need to run the workload at all.

The following table recaps the strategies and when to select each.

StrategyChangeChoose when
RetireRemovedThe application has no remaining value
RehostMinimalSpeed matters most, such as a datacenter exit
ReplatformModerateA managed service is possible with little code change
Refactor or rearchitectSignificantThe application needs greater scale or agility
RebuildCompleteThe existing application cannot meet future needs
ReplaceCompleteA commercial product offers the required function

The following diagram matches each workload in a migration with a deadline to a migration strategy.

Migration strategies under a nine-month deadline. The unused application is retired; most servers are rehosted, the fastest route; the 30 web applications are replatformed to App Service if assessment shows they are compatible; and the customer platform is rehosted now and rearchitected next year. The landing zone comes first.
The scenario is illustrative.
Sort into groups

Choose the migration strategy

Exam skills 4.3.1

Choose the migration strategy for each workload.

Log in to try this activity Interactive activities are free with an account.

Wave planning

A large estate is not moved in a single event. Applications and their dependencies are grouped into migration waves, usually beginning with simple, low-risk workloads, which allows teams to build skills. Workloads that depend on each other should move together, because splitting them across a network link may introduce latency. Each wave then goes through replication, test migration, cutover and a period of hypercare.

Worked example

Choosing a strategy

A company must leave its leased datacenter within nine months. It has 300 servers. One custom application has not been used for two years. Thirty web applications run on Windows servers, without unusual dependencies. A customer platform has scaling problems that limit business growth, and a project to redesign it is approved for next year. What should you recommend?

The deadline drives most decisions. The unused application should be retired. Most servers should be rehosted, as it is the fastest route. The web applications are good candidates for replatforming to App Service, if assessment shows that they are compatible, since it costs little extra effort and removes server management.

The customer platform should be rehosted first, in order to meet the deadline, and then rearchitected next year. Rearchitecting it now would put the datacenter exit at risk. The landing zone must be deployed before any of these workloads move.

Check yourself

In which phase are landing zones deployed?

Show answer

Ready, which comes before the Adopt phase in which workloads are migrated.

Exam Tips

Remember for the exam

  • CAF phases: Strategy, Plan, Ready, Adopt, Govern, Secure, Manage.
  • Strategies: retire, rehost, replatform, refactor, rearchitect, rebuild, replace.
  • Deploy landing zones before migrating workloads.
  • Group dependent workloads into the same migration wave.