Key takeaway
- A cloud migration strategy decides what moves, how and in what order. See the 7 Rs, a five-step plan, security, testing and where AI agents help.
A cloud migration strategy is the plan that decides which applications and data move to the cloud, which approach is used for each one, and in what order, so the move happens without losing data, security or business continuity. It covers moves from on-premises systems to a cloud provider and moves from one cloud to another.
This guide is for IT and engineering leaders, architects and programme owners planning a migration. It explains the approaches, a practical step-by-step plan, how to choose a cloud model and provider, what to secure and test, how AI agents change migration work, and what to do first. For delivery support see our cloud migration services.
What is cloud migration?
Cloud migration is the process of moving digital assets, applications, databases and IT resources into the cloud, in whole or in part. The cloud itself is on-demand access to computing, storage, software and networking over the internet. The major public providers are AWS, Microsoft Azure and Google Cloud. A migration has two parts that need separate plans: applications, which may need changes to run well in the cloud, and data, which needs conversion, schema work and validation.
What are the 7 Rs of cloud migration?
Many older guides list six Rs. The AWS Prescriptive Guidance on migration strategies now lists seven, adding Relocate. It also notes that refactoring is not recommended for large migrations, and suggests rehosting, relocating or replatforming first and modernising after the migration is complete.
| Strategy | What it means | Typical use |
|---|---|---|
| Retire | Decommission or archive the application | Unused or duplicated systems |
| Retain | Keep it in the source environment, or not ready to migrate | Regulated, highly coupled or recently upgraded systems |
| Rehost | Move as is, without changes ("lift and shift") | Fast moves with minimal change |
| Relocate | Transfer many servers at once to a cloud version of the same platform | Large estates on a compatible platform |
| Repurchase | Replace with a different version or product ("drop and shop") | Commodity applications with a SaaS alternative |
| Replatform | Move with some optimisation to cut cost or use cloud capabilities | Databases and middleware with quick wins |
| Refactor or re-architect | Redesign using cloud-native features | Systems where agility and scale justify the effort |
What are the steps in a cloud migration plan?
The Microsoft Cloud Adoption Framework migrate guidance describes five steps: "1 Plan migration, 2 Prepare workloads, 3 Execute migration, 4 Optimize in cloud, 5 Decommission source." It states that a migration plan "defines the specific order, timing, and approach for migrating workloads", and it recommends a readiness assessment of your team's skills before you begin. A practical version for most programmes:
- Name an owner. A migration architect or lead makes the technical and sequencing decisions.
- Assess readiness. Agree the goal, the applications in scope, data that cannot move for legal reasons, and the impact on security, disaster recovery and governance.
- Build the cost case. Baseline current costs, then compare cloud costs using the providers' own calculators, including design, migration, operations, training and support.
- Map dependencies. Applications with many dependencies are harder to move, so schedule them after simpler ones.
- Choose the 7 R for each application, then group them into migration waves. Microsoft advises to "start with simpler workloads to reduce risk" and to schedule critical systems "after you demonstrate initial success".
- Prepare people. Train the team and update responsibilities, then set KPIs such as downtime, error rates and cost per workload.
- Switch over. Either move the whole stack, validate, and shift traffic, or move customers gradually and test at each step.
- Optimise and decommission. Right-size resources, tune cost, and retire the source systems.
How do you choose a cloud model and provider?
| Model | What it is | When it fits |
|---|---|---|
| Public cloud | Shared, multi-tenant resources from a provider | Variable demand and fast starts |
| Private cloud | Environment dedicated to one organisation | Sensitive data and strict access needs |
| Hybrid cloud | A mix of public and private. See hybrid cloud and hybrid multi-cloud | Some workloads must stay private while others scale |
| Multi-cloud | Two or more public clouds | Avoiding single-provider dependence or using strengths of each |
Compare providers on security and compliance needs, cost, scalability, service level agreements, support, and your team's skills. The responsibilities you hold differ by service type; see IaaS and PaaS and SaaS. XenonStack supports AWS, Google Cloud Platform, AWS cloud services and Azure cloud services work. For a longer view, read our guides to hybrid, multi-cloud and private models and infrastructure modernisation.
How do you keep data secure during migration?
Data is exposed during transfer, so treat the move as a security project. Encrypt data in transit and at rest, apply role-based access control so people see only what their job needs, keep audit logs, and confirm which regulatory duties apply to each dataset with your compliance team before moving it. Start with less critical data to prove the process.
What should you test after migrating?
- Functional testing: features, modules and integrations behave as specified.
- Performance testing: response time, throughput and scaling under expected load.
- Security testing: access paths, configuration gaps and data exposure.
- Disaster recovery testing: backups restore and failover works within agreed targets.
How do AI agents change cloud migration?
Migration generates repetitive work: inventorying servers, mapping dependencies, checking configuration drift, running validation tests and tracking cost. AI agents can take on parts of that work, such as drafting a dependency map, running a post-move test suite, or flagging idle resources for review, while engineers approve each change. Agents that change infrastructure need narrow permissions, approval for risky steps and a log of every action. ElixirClaw is the AI agents computing platform XenonStack offers for building and running such agents.
What should you do first?
- Inventory applications and data, and record dependencies and owners.
- Assign one of the 7 Rs to each application, defaulting to retain, rehost or replatform for a first wave.
- Pick a low-risk workload for the pilot and define success measures in advance.
- Check the provider's landing zone and security baseline before moving anything.
- Plan the optimisation and decommissioning steps now, so the old environment is actually retired.
Next Steps in Implementing a Cloud Migration Strategy
Talk to our experts about implementing cloud migration strategies using compound AI systems. Learn how industries and different departments utilize Agentic Workflows and Decision Intelligence to seamlessly migrate to the cloud, becoming more decision-centric. Leverage AI to automate and optimize cloud operations, improving efficiency, scalability, and responsiveness throughout your IT infrastructure.
To map one migration decision your agents make, and the data and policy it depends on, book a Context Workshop. See what happens in the workshop.
Explore more on cloud strategy, migration and FinOps
Part of our guide: DevOps Tools: Open Source Toolchain Guide for 2027.
- Hybrid Multi-Cloud Strategy: Guide for Enterprises
- Multi-Cloud Strategy: Architecture, Management and Tools
- Cloud Modernization Strategy: Approaches and Steps
- Multi-Cloud FinOps With FOCUS: A Practical Guide
- FinOps on Google Cloud: A Cost Optimisation Guide
- FinOps for AWS: Cost Control Tools and Strategy
- Cloud Technology Stack: Enterprise Cloud Platform Guide
- FinOps for Cloud: Framework, Phases and Maturity
Frequently asked questions
What is a cloud migration strategy?
It is the plan that decides which applications and data move to the cloud, which approach is used for each, and in what order.
What are the 7 Rs of cloud migration?
AWS Prescriptive Guidance lists them as retire, retain, rehost, relocate, repurchase, replatform and refactor or re-architect.
What are the steps in a cloud migration?
The Microsoft Cloud Adoption Framework describes plan migration, prepare workloads, execute migration, optimize in cloud, and decommission source.
Where should a first migration wave start?
Start with simpler, lower-risk workloads, often non-production environments, and move critical systems after early waves succeed.
How can AI agents help with cloud migration?
Agents can handle repetitive tasks such as dependency mapping, validation testing and cost checks, with engineers approving changes and every action logged.
Ready to put AI agents to work? See an ElixirClaw demo: the agentic OS to build, orchestrate and govern AI agents across your enterprise systems.
Explore the XenonStack platform family: ElixirData · ElixirClaw · ElixirHub · NexaStack · MetaSecure · Neural AI · AgentGRC · AgentSRE · AgentAnalyst · AgentInstruct · AgentRAI · AgentScrum · AgentSearch · AgentForce · AI Aviator · SAIF Aviator · CohortIQ · XenonStack AI · XenonStack UAE