Cloud conceptsBeginner36 min read

What Is Cloud migration in Cloud Computing?

Reviewed byJohnson Ajibi· Senior Network & Security Engineer · MSc IT Security
On This Page

Quick Definition

Cloud migration means moving your company’s software, data, and other IT stuff from local computers and servers to the internet (the cloud). Instead of running everything in your own office, you use services provided by companies like Amazon, Microsoft, or Google. This often saves money, improves flexibility, and makes it easier to scale up or down.

Common Commands & Configuration

aws mh create-home-region --region us-east-1

Set the home region for AWS Migration Hub to track all migration progress from a central dashboard.

AWS Migration Hub is tested as a single pane of glass for tracking multiple migration tools like SMS and DMS across regions.

az vm migrate --resource-group MyRG --name MyVM --destination ResourceGroup2

Initiates a migration of a VM from one resource group to another within Azure, typically as a test or as part of a larger migration workflow.

Migrating between resource groups in Azure shows understanding of resource organization, a common exam scenario for re-organizing after lift-and-shift.

gcloud compute instances migrate --zone=us-central1-a --destination-zone=us-east1-b my-instance

Moves a running Compute Engine instance from one zone to another without downtime, useful for migration between regions.

Testing live migration between zones demonstrates knowledge of live migration capabilities and high availability during migration.

aws dms create-endpoint --endpoint-identifier source-oracle --endpoint-type source --engine-name oracle --server-name oracle.abc.com --port 1521 --username dms_user --password secret --database-name prod

Creates a source endpoint for AWS DMS pointing to an Oracle database as the source for migration.

DMS endpoints are a key concept; exams test that the source endpoint must be accessible and the DMS replication instance must have network connectivity.

azure site recovery create-replication-policy --name HrReplicationPolicy --recovery-point-retention-in-minutes 15 --application-consistent-snapshot-frequency-in-hours 4

Creates a replication policy in Azure Site Recovery that defines how often recovery points and consistent snapshots are created for replicated VMs.

Understanding retention and snapshot frequency is important for RPO (Recovery Point Objective) management in real-world exam scenarios.

gsutil rsync -r -d /local/data gs://my-migration-bucket/data

Syncs a local folder to a Google Cloud Storage bucket, deleting any files in the bucket that are not in the local source, useful for incremental migration.

This command tests understanding of `gsutil` for data transfer, especially incremental sync and the -d flag for exact mirroring.

Cloud migration appears directly in 30exam-style practice questions in Courseiva's question bank — one of the most-tested concepts on Google ACE. Practise them →

Must Know for Exams

Cloud migration appears consistently across major cloud certification exams because it is one of the most common real-world scenarios organizations face. For the AWS Cloud Practitioner exam (CLF-C02), you will find questions on the AWS Cloud Adoption Framework (AWS CAF), the six migration strategies (the 6 R's), and the general benefits of cloud migration like cost savings, scalability, and security. Expect multiple-choice questions that ask which AWS service is used for a specific migration task, such as AWS Snowball for large data transfers or AWS DMS for database migration.

For the AWS Solutions Architect Associate exam (SAA-C03), cloud migration is a core domain. You need to know how to design a migration plan, choose the right migration strategy (rehost, replatform, refactor) based on business requirements, and select appropriate services like AWS Migration Hub, AWS Server Migration Service, and AWS Database Migration Service. Scenario-based questions are common: for example, a company wants to migrate a legacy SQL Server database with minimal downtime, and you must choose AWS DMS with ongoing replication. You must also understand networking considerations like Direct Connect, VPN, and VPC peering for hybrid architectures.

In Azure exams like AZ-900 (Azure Fundamentals) and AZ-104 (Azure Administrator Associate), cloud migration is covered under the 'Migrate' workload. The questions focus on Azure Migrate (the main migration tool), Azure Site Recovery for disaster recovery, and Azure Database Migration Service. You will be asked about migration phases (discover, assess, migrate, optimize) and the differences between rehost, replatform, and refactor. The Azure Well-Architected Framework and Microsoft Cloud Adoption Framework are also exam topics.

Google Cloud exams, such as the Google Cloud Digital Leader and Google Associate Cloud Engineer, test cloud migration concepts including the Google Cloud Adoption Framework, migration paths (like using Migrate for Compute Engine), and transfer services (Storage Transfer Service, Transfer Appliance). Questions may present a scenario where a company is moving from on-premises to Google Cloud, and you must recommend the best migration approach based on cost, time, or compliance.

Common exam traps include confusing migration strategies (e.g., thinking replatforming means no changes when it actually involves minor optimization like moving to a managed database), or assuming all data must be migrated over the internet when a physical transfer device is more appropriate for large volumes. Remember that exams are designed to test not just recall but your ability to apply knowledge to realistic scenarios. A thorough understanding of migration tools, strategies, and decision criteria is essential for passing.

Simple Meaning

Imagine you have been running a small bookstore from your garage for years. You have shelves of books, a computer with all your customer records, and a cash register. Everything is right there, and it works fine, but you are starting to run out of space and the computer is getting slow. One day, you decide to move the whole business to a rented space in a busy shopping center. In the new store, you have more shelves, faster internet, and even a helper who takes care of all the computer stuff. That move is like cloud migration.

In IT terms, the garage is your on-premises data center where you own and maintain all the servers, storage, and networking equipment. The rented store is the cloud, where a cloud provider like Amazon Web Services (AWS), Microsoft Azure, or Google Cloud owns and manages the hardware. The act of moving your applications, data, and workloads from your own servers to the provider’s infrastructure is called cloud migration.

There are different reasons why companies do this. Maybe they want to stop paying for electricity and cooling for their own servers. Maybe they need to handle more customers during the holiday season and want to add capacity instantly, without buying new hardware. Sometimes they just want to take advantage of new tools like artificial intelligence or big data analytics that are easier to use in the cloud.

The actual migration can happen in several ways. The simplest is called 'lift and shift,' where you take your application exactly as it is and run it on a cloud server, just like moving your desk from one room to another. Other times, you might rewrite parts of the application to use cloud-native features, like using a cloud database instead of one you installed yourself. That is more like renovating your store while you move in.

Cloud migration is not a single event. It is a project that includes planning, assessing what you have, choosing the right cloud services, moving the data, testing, and then optimizing after the move. Many companies start small by moving one application, then gradually move more over months or even years.

Full Technical Definition

Cloud migration is the process of transitioning some or all of an organization’s digital assets, including applications, data, and IT infrastructure, to a cloud computing environment. This environment may be a public cloud (AWS, Azure, Google Cloud), private cloud (on-premises virtualized infrastructure managed by the organization), or hybrid cloud (a combination of public and private). The migration process typically follows a structured methodology, often based on the '6 R's of migration' framework: Rehost (lift and shift), Replatform (lift, tinker, and shift), Refactor (rearchitect), Repurchase (move to a new SaaS product), Retire (decommission), and Retain (keep on-premises).

Technically, cloud migration involves several key components and protocols. Network connectivity is critical. For large data volumes, organizations often use dedicated network links like AWS Direct Connect, Azure ExpressRoute, or Google Cloud Interconnect, which establish private, high-bandwidth connections from the on-premises data center to the cloud provider’s network. For smaller migrations, a secure VPN (IPsec or TLS-based) over the internet is sufficient.

Data transfer mechanisms range from simple uploads over the internet using tools like AWS S3, Azure Blob Storage, or Google Cloud Storage to physical data transfer devices like AWS Snowball, Azure Data Box, or Google Cloud Transfer Appliance for terabytes or petabytes of data. These devices are shipped to the organization, loaded with data, and sent back to the cloud provider for ingestion.

Server migration often involves creating virtual machine images of on-premises servers using tools like AWS Server Migration Service (SMS), Azure Migrate, or Google Migrate for Compute Engine. These tools replicate the operating system, applications, and data to the cloud while the source server continues running, minimizing downtime. For database migration, services like AWS Database Migration Service (DMS), Azure Database Migration Service, or Google Database Migration Service perform continuous replication from on-premises databases (Oracle, SQL Server, MySQL, PostgreSQL) to cloud-based database services like Amazon RDS, Azure SQL Database, or Cloud SQL.

Application migration involves moving the code and configuration. For rehosting, a virtual machine image is deployed on a cloud VM. For replatforming, the application might be containerized using Docker and orchestrated with Kubernetes (EKS, AKS, GKE). For refactoring, the application may be rewritten to use cloud-native services like serverless functions (AWS Lambda, Azure Functions, Cloud Functions) and managed databases, which requires changes to the codebase.

Monitoring and optimization after migration are essential. Organizations use cloud cost management tools (AWS Cost Explorer, Azure Cost Management, Google Cloud Billing) to track spending, and performance monitoring tools (Amazon CloudWatch, Azure Monitor, Google Cloud Monitoring) to ensure SLAs are met. Security practices include identity and access management (IAM), encryption in transit (TLS/SSL) and at rest (AES-256), network segmentation with Virtual Private Clouds (VPCs), and compliance auditing.

Migration projects are governed by frameworks like the AWS Cloud Adoption Framework (AWS CAF), Microsoft Cloud Adoption Framework for Azure, and Google Cloud Adoption Framework. These provide best practices for people, process, and technology aspects of migration. Common challenges include managing legacy dependencies, ensuring data integrity during transfer, avoiding vendor lock-in (using multi-cloud strategies), and dealing with regulatory compliance (e.g., GDPR, HIPAA) when data crosses borders.

Real-Life Example

Think about moving your family from an old house to a new one. Your old house has been your home for years. You know exactly where everything is: the dishes are in the cabinet above the sink, the winter clothes are in the attic, and the TV is mounted on the living room wall. But the old house is starting to have problems: the roof leaks, the basement floods when it rains a lot, and the heating system is old and costly. You decide to move to a new house that’s better built and more efficient.

Now, the move itself is not just about packing boxes. First, you need to decide what to take with you. Some furniture, like that old broken chair, you might throw away (that’s like retiring unused applications). Some items, like your grandmother’s china cabinet, you will move exactly as it is (that’s rehosting). Other things, like your old desktop computer, you might decide to replace with a new laptop instead of moving the bulky tower (that’s repurchasing). There’s also the possibility that you will repaint the walls and change the light fixtures in the new house before you move your favorite sofa in (that’s replatforming).

During the actual move, you have to disconnect utilities at the old house and reconnect them at the new one. You need to make sure the new house has enough capacity for all your appliances. You also have to plan the move day carefully so that your family doesn’t have to be homeless for a night, you might move room by room, or you might temporarily stay in a hotel (which is like a hybrid cloud setup where some apps stay on-premises while others move).

After the move, you realize the new house has a smart thermostat and a security system you didn’t have before. You learn to use them to save energy and feel safer. Similarly, after cloud migration, organizations often discover new tools like auto-scaling, managed databases, and AI services that they didn’t have in their old data center. They also find that they no longer have to worry about hardware failures because the cloud provider handles that.

The whole house moving process takes planning, labeling boxes, and maybe some stress. Cloud migration is similar, it requires careful planning, testing, and sometimes a bit of pain, but in the end, you end up with a more modern, flexible, and often cheaper environment.

Why This Term Matters

Cloud migration matters because the way companies run their IT is fundamentally changing. Instead of buying and maintaining expensive servers, cooling systems, and backup generators, organizations can now rent exactly the computing power they need from cloud providers and pay only for what they use. This shift from capital expense (buying hardware) to operational expense (paying for services) is a major financial advantage for businesses of all sizes.

From a practical IT standpoint, cloud migration allows companies to move faster. When a developer needs a new server for testing, they can spin it up in minutes instead of waiting weeks for procurement and setup. This agility is critical in today’s competitive marketplace. Cloud migration also gives access to advanced technologies like artificial intelligence, machine learning, big data analytics, and the Internet of Things, which would be very expensive to build on-premises.

Security is another reason. Cloud providers invest billions in physical and cyber security, often far more than individual companies can afford. Features like encryption, intrusion detection, and multi-factor authentication are built into the cloud platforms. For many organizations, especially small and medium businesses, moving to the cloud can actually improve their security posture.

Cloud migration also supports business continuity and disaster recovery. In a traditional data center, a power outage or natural disaster could take a company offline for days. With cloud migration, data is often replicated across multiple geographic regions, so if one region fails, services can fail over to another region with minimal downtime.

Finally, cloud migration enables remote work and global expansion. Employees can access applications and data from anywhere with an internet connection, which is essential in the modern workforce. For IT professionals earning certifications, understanding cloud migration is not optional, it is a core skill expected by employers. Exams like the AWS Certified Cloud Practitioner, Azure Fundamentals, and Google Cloud Digital Leader all test fundamental knowledge of migration strategies and benefits.

How It Appears in Exam Questions

Cloud migration questions appear in several distinct patterns across certification exams. The first pattern is strategy selection. You will be given a business scenario with specific constraints like downtime tolerance, budget, or timeline, and you must choose among rehost, replatform, refactor, repurchase, retire, or retain. For example: 'A company has a legacy .NET application running on Windows Server 2008. They want to move to the cloud with minimal changes and no application downtime. Which migration strategy is best?' The answer is rehost (lift and shift) because it requires no code changes and can be done with minimal downtime using VM replication.

The second pattern is tool identification. The question might ask: 'Which AWS service would you use to migrate an on-premises PostgreSQL database to Amazon RDS with minimal downtime?' Answer: AWS Database Migration Service (DMS) with ongoing replication. Or: 'Which Azure tool is used to discover and assess on-premises servers before migration?' Answer: Azure Migrate.

The third pattern is data transfer. For large data volumes, the question will test your knowledge of physical transfer appliances versus online transfer. Example: 'A company needs to migrate 100 TB of data from its data center to Google Cloud. The network bandwidth is limited to 10 Mbps. What is the most efficient method?' Answer: Use Google Cloud Transfer Appliance (a physical device shipped to the data center).

The fourth pattern is hybrid architecture. Questions may describe a company that wants to run some workloads on-premises and some in the cloud, and you need to identify the connectivity services required. Example: 'A company runs a sensitive financial application on-premises but wants to use cloud-based analytics tools. They need a private, low-latency, and secure connection to the cloud. What should they use?' Answer: AWS Direct Connect, Azure ExpressRoute, or Google Cloud Interconnect.

The fifth pattern is post-migration optimization. Questions ask about rightsizing, cost management, and performance monitoring after migration. Example: 'After migrating a web application to AWS, a company notices its monthly bill is higher than expected. What should they do first?' Answer: Use AWS Cost Explorer to analyze costs and identify underutilized resources.

Finally, there are troubleshooting questions. For example, a migration fails because the source and target databases have incompatible character sets. You need to identify the issue and the correct solution, such as using DMS data validation or creating a custom transformation rule. Knowing these patterns helps you focus your study and avoid surprises.

Practise Cloud migration Questions

Test your understanding with exam-style practice questions.

Practise

Example Scenario

Company A is a mid-sized retailer with 200 employees. They run their e-commerce website, customer database, and inventory system on three physical servers in a small data center in their headquarters. The company is growing quickly, and the servers are struggling to keep up with holiday traffic. The IT manager realizes they need a better solution. They decide to migrate to the cloud.

First, they assess what they have: the e-commerce site runs on Apache and PHP with a MySQL database, the customer database is on Microsoft SQL Server, and the inventory system is a custom Java application using a local file system. They need to move all of this to AWS with minimal downtime for the website, but they can afford a few hours of downtime for the inventory system over a weekend.

For the e-commerce website, they choose rehosting. They use AWS Server Migration Service to create an Amazon Machine Image (AMI) of the existing web server and deploy it to an EC2 instance. They also migrate the MySQL database to Amazon RDS for MySQL using AWS DMS with a one-time full load, scheduling the cutover during a low-traffic window (Sunday 2 AM). The website is down for only about 30 minutes during the final synchronization.

For the customer database, they choose replatforming. They move from on-premises SQL Server to Amazon RDS for SQL Server, which gives them automated backups and better performance. They use AWS DMS with ongoing replication so the database stays in sync until the cutover. The application team updates the connection string in the code to point to the new RDS endpoint.

For the inventory system, they consider refactoring but decide to first rehost it on a larger EC2 instance to buy time. Later, they plan to rewrite it as a serverless application using AWS Lambda and DynamoDB.

After the migration, they test everything thoroughly. The e-commerce site is faster, the database backups are automated, and they no longer worry about running out of disk space. The IT manager is happy because they only pay for what they use, and they can easily scale up during the next holiday season. This scenario is typical of a real-world migration project.

Common Mistakes

Choosing the wrong migration strategy without considering downtime requirements.

If you pick refactoring when the application cannot tolerate any code changes, the project will fail. Each strategy has specific constraints and benefits.

Always map the strategy to the business requirements: rehost for minimal change and quick migration, replatform for minor optimizations, refactor only when you can afford time and budget for code changes.

Forgetting to validate data integrity after migration.

Data corruption can occur during transfer due to network issues, incompatible formats, or tool errors. Without validation, you may discover problems only after going live.

Use built-in validation features of migration tools (e.g., AWS DMS data validation, Azure Migrate assessment), and always run test queries on migrated data before cutover.

Assuming the same performance after migration without testing.

Cloud instances have different performance characteristics than on-premises hardware. An underpowered instance causes slowdowns; an overpowered one wastes money.

Use performance monitoring tools to right-size instances. Run load tests against the migrated environment before going live.

Migrating all applications at once instead of prioritizing.

A 'big bang' migration increases risk of widespread failure, makes troubleshooting difficult, and can overwhelm IT staff.

Prioritize migration in waves: start with low-risk, non-critical applications, gain experience, then move to business-critical workloads.

Neglecting network bandwidth requirements.

Large data transfers over slow or congested internet links can take weeks or months, delaying the entire project.

Assess network bandwidth early. For large volumes, use dedicated connections (Direct Connect, ExpressRoute) or physical data transfer devices (Snowball, Data Box).

Ignoring security group and firewall configuration changes after migration.

Applications may not function correctly if ports are blocked in the cloud security groups. Also, outdated rules can create security vulnerabilities.

Document all source firewall rules and replicate them in cloud security groups. Test connectivity for all application components after migration.

Exam Trap — Don't Get Fooled

{"trap":"The exam presents a scenario where a company wants to migrate a legacy application to the cloud with 'minimal changes' and 'lowest cost.' The options include rehost, replatform, refactor, and repurchase. Many learners choose refactoring because they think 'lowest cost' means more efficient cloud-native code, but refactoring is actually the most expensive in terms of development effort."

,"why_learners_choose_it":"Learners may equate 'lowest cost' with 'using the cheapest cloud resources' and assume refactoring is the most efficient long-term solution. They forget that the question explicitly states 'minimal changes' which contradicts refactoring.","how_to_avoid_it":"Read the scenario carefully: 'minimal changes' is a strong clue for rehost (lift and shift).

Rehosting requires no code changes and is the fastest path to migration, even if the instance itself may cost slightly more without cloud-native optimizations. The 'lowest cost' in the context of the project means lowest migration effort cost, not necessarily lowest ongoing operational cost. Rehost is almost always the cheapest in terms of time and labor for the migration itself."

Commonly Confused With

Cloud migrationvsCloud adoption

Cloud adoption is a broader term that includes not just migrating existing workloads but also building new applications directly in the cloud and changing organizational culture to leverage cloud services. Cloud migration is a subset of cloud adoption, the actual act of moving existing resources.

A company decides to use cloud storage for new projects (adoption) and also moves its old email server to the cloud (migration).

Cloud migrationvsDisaster recovery

Disaster recovery (DR) is a process to restore IT systems after a failure, often using the cloud as a backup site. While migration moves workloads permanently, DR involves replicating data to the cloud for failover and may not run applications in the cloud until a disaster occurs.

A bank replicates its database to Azure daily for DR. It only runs workloads in the cloud if its primary data center goes offline. In contrast, migration would mean moving the bank's entire operations to Azure permanently.

Cloud migrationvsHybrid cloud

Hybrid cloud is a computing environment that combines on-premises infrastructure with public cloud services. Cloud migration can result in a hybrid cloud if some workloads remain on-premises. However, migration specifically refers to the act of moving workloads, while hybrid cloud describes the resulting architecture.

A factory keeps its production control system on-premises for low latency but migrates its HR system to AWS. The result is a hybrid cloud, and the HR system move is the migration.

Cloud migrationvsApplication modernization

Application modernization involves updating legacy applications to use modern technologies, such as microservices, containers, or serverless computing. Cloud migration can be part of modernization (especially refactoring), but migration can also happen without modernization (like rehosting).

A company rehosts its old .NET app to a cloud VM (migration without modernization). Later, it rewrites the app as a set of microservices using containers (modernization).

Cloud migrationvsData migration

Data migration is the process of moving data from one storage system to another, often as part of cloud migration. However, cloud migration includes not just data but also applications, operating system configurations, and even network settings. Data migration is a component of cloud migration.

Moving a customer database from on-premises MySQL to Amazon RDS is data migration. Moving the entire web server (OS, app, and data) to an EC2 instance is cloud migration.

Step-by-Step Breakdown

1

Discovery and Assessment

First, you inventory all existing IT assets: servers, databases, applications, storage, and network dependencies. Use tools like AWS Application Discovery Service, Azure Migrate, or Google Cloud Migrate to automatically discover what you have. This step is critical because you cannot move what you do not know exists. Many organizations discover legacy systems they forgot about.

2

Planning and Strategy Selection

After assessment, you decide which migration strategy (rehost, replatform, refactor, repurchase, retire, retain) applies to each workload. Business constraints like downtime tolerance, budget, and compliance requirements guide these decisions. You also set a migration timeline, prioritize workloads into waves, and define success criteria.

3

Environment Preparation in the Cloud

Set up the target cloud environment: create a Virtual Private Cloud (VPC), configure subnets, security groups, identity and access management (IAM) roles, and enable logging. If you plan a hybrid setup, establish network connectivity via VPN or dedicated connection (Direct Connect, ExpressRoute). This step ensures the cloud is ready to receive the migrated resources.

4

Data and Application Migration

Begin the actual transfer. For databases, use services like AWS DMS, Azure Database Migration Service, or Google Database Migration Service to replicate data with minimal downtime. For servers, use replication tools (AWS SMS, Azure Migrate, Google Migrate) to create images in the cloud. For large data volumes, use physical appliances (Snowball, Data Box) or offline transfer. Ensure encryption in transit and at rest.

5

Testing and Validation

After migration, thoroughly test the migrated resources. Verify data integrity (compare row counts, checksums), application functionality, performance (latency, throughput), and security (firewall rules, access controls). Run automated tests and manual smoke tests. This step uncovers issues before the cutover.

6

Cutover and Go-Live

Cutover is the moment when you switch from the old on-premises system to the new cloud system. This often involves redirecting traffic (changing DNS records, updating load balancer configurations) and shutting down the old servers. Plan the cutover during a maintenance window to minimize user impact. Have a rollback plan in case of critical failures.

7

Optimization and Monitoring

Post-migration, continuously monitor performance, costs, and security. Right-size instances (scale down over-provisioned resources), set up auto-scaling policies, configure cost budgets and alerts, and implement security best practices like regular patching and access reviews. Use cloud-native monitoring tools (CloudWatch, Azure Monitor, Google Cloud Monitoring) to track SLAs and identify issues early.

Practical Mini-Lesson

In practice, cloud migration is a multi-phased project that requires close collaboration between IT operations, development teams, business stakeholders, and cloud architects. The first practical step is to build a migration business case: why migrate? Common reasons include reducing data center costs, improving disaster recovery, enabling digital transformation, or ending support for an aging operating system. Quantify the expected savings and benefits to get buy-in from management.

Once the decision is made, the discovery phase begins. Do not rely only on manual spreadsheets, use automated discovery tools that scan your network and identify all servers, installed software, and dependencies. This is often an eye-opener. One organization we worked with discovered 30% more servers than they thought they had, including a forgotten domain controller and a legacy CRM system running under a desk. Documenting inter-application dependencies (which server talks to which database, on which port) is also crucial because breaking a dependency during migration can cause application failures.

When selecting the migration strategy, consider that rehosting is popular because it is fast and low-risk. However, it may not save as much money as refactoring because you are still running the same old code. A common real-world approach is to rehost first to move quickly, then gradually refactor critical applications over the next year. This is sometimes called 'strangle pattern' migration.

Network connectivity planning is another practical concern. A 10 Gbps Direct Connect link can transfer about 100 TB in a day, while a typical internet VPN with 100 Mbps would take over three months for the same data. Always calculate transfer times given your bandwidth and data volume. If the estimated time exceeds your project timeline, use physical appliances.

After migration, a common mistake is to forget to decommission the old on-premises hardware. This leads to continued power and cooling costs, defeating the purpose of migration. Include a 'decommission' phase in the project plan. Similarly, update all documentation, runbooks, and monitoring dashboards to reflect the new cloud environment.

Professional cloud architects also pay attention to governance: set up policies for tagging resources (e.g., project name, cost center), enforce least-privilege access through IAM, and use infrastructure as code (Terraform, CloudFormation) to manage the cloud environment consistently. Finally, after migration, run a 'retrospective' to capture lessons learned and improve the next migration wave.

Key Phases of Cloud Migration Assessment

Cloud migration assessment is the critical first phase that determines the entire trajectory of a migration project. During assessment, teams evaluate existing on-premises infrastructure, applications, and data to understand dependencies, performance baselines, and licensing constraints. This phase is heavily tested in AWS, Azure, and Google Cloud certification exams because it directly impacts the success of the migration strategy. The assessment typically begins with inventory discovery using tools like AWS Application Discovery Service, Azure Migrate, or Google Cloud's Migrate for Anthos. These tools automatically identify servers, virtual machines, databases, and network dependencies.

After inventory collection, the next step is to classify each workload into one of the 6 R's for migration: Rehost, Replatform, Refactor, Repurchase, Retire, or Retain. This classification drives cost estimation, migration tooling decisions, and timeline planning. For example, a legacy application with no modern equivalent might be a candidate for rehosting (lift-and-shift) to minimize risk. A tightly coupled monolithic application may require refactoring into microservices. Exam questions often test your ability to choose the right migration strategy based on given business constraints like time, cost, or compliance.

A thorough assessment also includes a compatibility check against cloud provider services. Many on-premises applications rely on proprietary operating system features or network configurations that may not be perfectly supported. The assessment phase produces a detailed migration plan, a risk register, and a business case with total cost of ownership (TCO) comparisons. Without a solid assessment, teams risk overspending on underutilized resources or encountering showstopper incompatibilities mid-migration. In exams, you may be asked to identify assessment outputs or the purpose of specific discovery tools like Azure Migrate's assessment feature that calculates Azure VM sizing and cost recommendations.

The 6 R's of Cloud Migration Strategies Explained

The 6 R's framework is foundational knowledge for cloud migration exams and real-world projects. Each R represents a distinct approach to moving an application or workload to the cloud. The six strategies are Rehost, Replatform, Refactor, Repurchase, Retire, and Retain. Understanding when to apply each strategy is a common exam topic across AWS, Azure, and Google Cloud certifications.

Rehost, also called lift-and-shift, involves moving applications to the cloud with minimal changes. This is the fastest path to cloud adoption and is ideal when you need to quickly gain cloud benefits like scalability and reduced data center costs. Tools like AWS VM Import/Export, Azure Site Recovery, or Google Cloud Migrate for Compute Engine support this strategy. Replatform, or lift-tinker-and-shift, involves making a few cloud-optimizing changes without altering the core code. For example, moving a SQL Server database to Amazon RDS or Azure SQL Database. This can improve performance and reduce management overhead without a full rewrite.

Refactor, or re-architect, means rewriting or significantly modifying an application to be cloud-native, using services like serverless functions, containers, or managed databases. This provides the greatest long-term agility but requires the most time and investment. Repurchase involves replacing an existing application with a SaaS or cloud-native alternative, such as migrating from an on-premises CRM to Salesforce. Retire means decommissioning workloads that are no longer needed, and Retain means keeping certain applications on-premises due to compliance, latency, or cost reasons. Exams frequently present scenarios such as a company needing to migrate 100 VMs quickly due to a lease expiration, and the correct answer is Rehost. In contrast, a company wanting to reduce licensing costs by moving to open-source databases might choose Replatform.

How Cloud Migration Cost Optimization Works

Cost optimization is a central theme in cloud migration exams. The primary pitfall is migration without understanding the consumption-based pricing model. In on-premises environments, costs are mostly fixed capital expenditures. In the cloud, costs are variable operating expenses based on actual usage. This shift can lead to surprising bills if resources are oversized left running unused. Migration cost optimization involves right-sizing resources, leveraging reserved instances, implementing auto-scaling, and using cost management tools.

Right-sizing is the practice of matching cloud resources to actual workload requirements. During migration, teams often over-provision to be safe, but exam questions emphasize that using historical usage data from assessment tools helps select the appropriate instance type. For example, moving a 16-core on-premises server to a 4-core cloud VM if utilization was always below 30%. Reserved instances or savings plans can reduce compute costs by up to 72% in exchange for a 1- or 3-year commitment. Spot instances offer deep discounts for fault-tolerant and flexible workloads.

Storage costs also need careful planning. Data transfer costs between regions or from cloud to on-premises can be significant. Each provider charges for egress, and exam questions test whether you know that egress to the internet is billable while ingress is typically free. Using services like AWS Storage Gateway, Azure File Sync, or Google Cloud Transfer Appliance can reduce initial migration data transfer costs. After migration, cost management tools like AWS Cost Explorer, Azure Cost Management, and Google Cloud's Cost Table provide visibility and budget alerts. The exam may ask how to reduce costs for a stateless web application; the best answer is often to use auto-scaling and spot instances. Another common question is about reducing data transfer costs: the answer usually involves using a content delivery network like CloudFront or Cloud CDN to cache data closer to users and reduce egress.

Essential Cloud Migration Tools and Services

Cloud providers offer a suite of tools to facilitate migration at every stage. Understanding these tools is important for exam success and practical implementation. AWS provides AWS Migration Hub as a central tracking dashboard, AWS Server Migration Service for automating server replication, and AWS Database Migration Service for moving databases with minimal downtime. Azure offers Azure Migrate for discovery and assessment, Azure Site Recovery for disaster recovery and live migration, and Azure Database Migration Service for database migrations. Google Cloud provides Migrate for Compute Engine, Migrate for Anthos for containerized workloads, and Transfer Appliance for large-scale offline data transfer.

Each tool has specific use cases. For example, AWS DMS supports heterogeneous migrations like Oracle to Aurora or PostgreSQL, and homogeneous migrations like MySQL to MySQL. It uses a continuous change data capture mechanism to keep source and target in sync until cutover. Azure Site Recovery orchestrates replication of Hyper-V, VMware, and physical servers to Azure, and can be used for both migration and disaster recovery. Google Cloud's Transfer Appliance is a physical device you ship to Google for exabyte-scale data transfers, ideal when network bandwidth is limited.

In addition to first-party tools, there are third-party solutions like VMware Cloud on AWS, Azure VMware Solution, and Google Cloud VMware Engine. These allow organizations with heavy VMware investments to migrate virtual machines with minimal changes, tying into the Rehost strategy. Containerization tools like AWS App2Container, Azure Migrate App Containerization, and Google Cloud's Modernize & Migrate help refactor applications into containers. Exam questions often require you to select the correct tool for a given migration scenario. For instance, migrating a 50TB database with minimal downtime is best done with a managed database migration service like AWS DMS, not manual export/import. Another common question is about migrating a Hyper-V environment: the recommended tool is Azure Site Recovery.

Troubleshooting Clues

Database migration fails during full load due to incompatible data types

Symptom: Migration job fails with an error like 'Source data type not supported' or 'Data truncation' for certain columns.

Some cloud database services do not support all native database types (e.g., Oracle's BINARY_FLOAT or certain spatial types). The migration tool's data type mapping may also be incomplete.

Exam clue: Exams often present this situation and ask the best action: review the migration tool's data type mapping documentation and optionally change the application schema before migration.

Network connectivity drops during replication from on-premises to cloud

Symptom: Replication tasks (AWS DMS, Azure Site Recovery) show status as 'Stopped' or 'Error' with connection timeout messages.

The replication instance needs consistent network connectivity to the source database via VPN or Direct Connect. Network interruptions, firewall rule changes, or transient outages cause failures.

Exam clue: The correct troubleshooting step in exams is to first check the network path using tools like VPC Flow Logs or Azure Network Watcher, then ensure endpoints are reachable.

Rehosted virtual machine has poor performance after migration

Symptom: Users report the migrated VM is slower than the on-premises version, with high CPU or memory usage.

The migrated VM may be undersized compared to the original, or the on-premises VM had higher resource limits. Cloud instance types have different baseline performance, especially for burstable instances like t2.micro.

Exam clue: Exams test the concept of right-sizing and the need to select an instance type that matches the workload's performance requirements, possibly moving to a compute-optimized (C series) or memory-optimized (R series) instance.

Data transfer over VPN is too slow for large dataset migration

Symptom: The migration progress bar moves very slowly, and estimated completion time is weeks away.

VPNs are limited by internet bandwidth and latency. Large-scale migrations benefit from AWS Direct Connect, Azure ExpressRoute, or Google Cloud Interconnect for dedicated high-bandwidth connections.

Exam clue: When a question describes a large data migration with slow VPN, the best answer is often to use a dedicated network connection (Direct Connect/ExpressRoute) or a physical transfer device like AWS Snowball.

Application cannot connect to the new database after cutover

Symptom: Application logs show connection errors, and the database endpoint is unreachable.

After cutover, the application's connection string still points to the old on-premises database endpoint or the security group/firewall rules don't allow access to the new database.

Exam clue: Exams test the importance of updating connection strings and that security groups or network ACLs must be configured correctly for the new environment.

Storage migration using AWS Storage Gateway fails with 'Network Error'

Symptom: Files are stuck uploading, and the Storage Gateway console shows 'Upload Failed' with network errors.

AWS Storage Gateway requires consistent outbound internet access to AWS endpoints. The on-premises firewall may be blocking the required ports (TCP 443, 8080 for activation).

Exam clue: Exam questions often require checking firewall rules to ensure outbound connectivity to the Storage Gateway service endpoints, and verifying the gateway's activation key.

Azure Migrate assessment does not find any servers

Symptom: Azure Migrate appliance discovers no machines, or the discovery status shows 'No servers found'.

The appliance may not have network access to the on-premises hypervisor (vCenter or Hyper-V). Credentials provided for discovery might also be incorrect or insufficient.

Exam clue: This is a direct exam scenario: the first step is to verify the appliance is on the same network as the hypervisor and that the credentials have read-only access to the inventory.

Memory Tip

Remember the 6 R's of migration: Rehost, Replatform, Refactor, Repurchase, Retire, Retain, 'RRRRRR' like the pirate's growl.

Learn This Topic Fully

This glossary page explains what Cloud migration means. For a complete lesson with labs and practice, see the topic guide.

Covered in These Exams

Current Exam Context

Current exam versions that test this topic — use these objectives when studying.

Related Glossary Terms

Quick Knowledge Check

1.A company wants to migrate 50 on-premises servers to AWS with minimal changes to reduce data center costs quickly. Which migration strategy is most appropriate?

2.A database migration using AWS DMS keeps failing with an error about incompatible data types. What is the best course of action?

3.An organization is migrating 10 TB of file data from on-premises to Google Cloud Storage, but the internet bandwidth is limited to 100 Mbps. The migration must complete within one week. What is the most cost-effective solution?

4.After migrating a VM to Azure using Azure Site Recovery, the VM is slow. Performance metrics show high CPU usage. What is the most likely cause?

5.A company uses AWS Migration Hub to track migrations. Which of the following is the primary benefit of using AWS Migration Hub?

Frequently Asked Questions

What is the difference between rehosting and replatforming?

Rehosting (lift and shift) moves an application to the cloud exactly as it is, with no code changes. Replatforming makes minor tweaks, such as switching to a managed database or changing the OS version, to take advantage of cloud features without full redevelopment.

How long does a typical cloud migration take?

It varies widely. A single server can be migrated in days, while a full data center migration may take months or even years depending on the number of applications, data volume, dependencies, and complexity. Most organizations plan in waves over 6 to 18 months.

Can I migrate without any downtime?

Near-zero downtime is possible using replication tools that sync data continuously until the cutover, then redirect traffic with minimal interruption. True zero downtime is rare because DNS propagation and connection draining take a few seconds or minutes.

What is a physical data transfer device and when should I use one?

Devices like AWS Snowball, Azure Data Box, or Google Transfer Appliance are ruggedized hardware shipped to your site to transfer large data volumes (terabytes or petabytes) offline. Use them when your network bandwidth is too slow to move data in the required time.

Is cloud migration always cheaper?

Not always. Lift-and-shift migrations without optimization can actually cost more if you over-provision resources. However, with proper rightsizing, reserved instances, and auto-scaling, many organizations save 30% to 50% compared to on-premises.

What happens to my existing licenses after migration?

Some licenses (like Microsoft SQL Server or Windows Server) can be brought to the cloud if you have Software Assurance (license mobility). Others must be replaced with cloud-native offerings. Always check licensing terms before migrating.

Do I need to change my application code to migrate to the cloud?

Only if you choose refactoring or replatforming. Rehosting requires no code changes. However, even rehosted apps may need configuration updates, like connection strings or IP addresses.

What is vendor lock-in and how does it affect cloud migration?

Vendor lock-in means becoming dependent on a single cloud provider’s proprietary services, making future migration to another provider expensive and difficult. To avoid this, use open-source technologies and containerization (e.g., Kubernetes, Terraform) that work across clouds.

Summary

Cloud migration is the process of moving IT resources, applications, data, and infrastructure, from on-premises data centers to cloud environments like AWS, Azure, and Google Cloud. It is a foundational concept for IT professionals because most organizations today are either planning, executing, or optimizing cloud migrations. The process involves assessing existing assets, selecting the right migration strategy (the 6 R's: Rehost, Replatform, Refactor, Repurchase, Retire, Retain), and executing the move using specialized cloud services and tools. Key technical details include network connectivity (VPN or dedicated links), data transfer methods (online or physical appliances), and post-migration optimization for cost and performance.

For certification exams, cloud migration appears across all major cloud platforms. You must understand the different migration strategies, know the purpose of each cloud migration tool (e.g., AWS DMS, Azure Migrate, Google Transfer Appliance), and be able to apply these concepts in scenario-based questions. Common exam traps include misapplying migration strategies to business constraints and underestimating the importance of data validation and network capacity planning.

The takeaway for learners: cloud migration is not just a technical exercise, it is a strategic business decision. By mastering this concept, you will be better prepared for your certification and for real-world IT roles where migration projects are everyday reality. Practice with the 6 R's, use the memory hook 'RRRRRR', and always map migration strategies to business requirements. Good luck with your studies!