* [Topics](/en/topics "Topics")
* [Automation and management](/en/topics/automation "Automation and management")
* What is cloud migration? And how can automation help?
What is cloud migration? And how can automation help?
=====================================================
Updated  May 16, 2025•*8*-minute read
Copy URL
Jump to section
---------------
OverviewWhy is cloud migration important?BenefitsBest practices and frameworksTypes of cloud deploymentHow can automation help?Automating cloud migration with Ansible Automation PlatformWhy Red Hat?
Overview
--------
Cloud migration is the process of moving applications, workloads, data, and other digital resources to a public or private cloud. Many businesses looking to modernize outdated IT infrastructure and legacy applications choose cloud migration to help them transition from traditional, on-premise environments to container-based, cloud-native solutions.
Migrating to the cloud is an essential part of [IT modernization](/en/topics/application-modernization/what-is-it-modernization), but it’s not always simple. Planning a cloud migration can be complicated, often requiring coordination between multiple teams across the business. And even though it offers long-term cost savings, vendor lock-in and the cost of planning a migration need to be considered before a cloud migration can move forward.
A strong cloud migration strategy is necessary to address the challenges of moving to the cloud. As a part of that strategy, businesses often choose to employ [automation](/en/topics/automation) technologies to help migrate, manage, and optimize workloads across environments—accelerating the migration journey, maximizing the value of cloud investment, and reducing the risk of errors.
[Connect your hybrid cloud with IT automation](/en/engage/connect-hybrid-environments-with-automation-e-book)
Why is cloud migration important?
---------------------------------
Cloud migration is a broad cloud computing term that can refer to several different processes. In most cases, it means 1 of the following:
* Moving workloads from an on-premise datacenter to a public or private cloud
* Moving workloads from 1 cloud environment to another
* Moving an application from traditional infrastructure to a cloud-native environment—also known as application refactoring—to take advantage of public cloud services
Cloud migration can be a heavy lift for organizations running complex systems, but continuing to operate on legacy infrastructure is expensive and risky.
A business operating on legacy systems usually has skilled IT professionals who spend a significant amount of time on repetitive, manual tasks to keep operations running smoothly. These efforts take employees away from more valuable, strategic, and innovative work and introduce more opportunities for human error to cause service downtime. Legacy systems also introduce compatibility and security issues, increasing the likelihood that an organization will suffer data breaches and unplanned outages.
To mitigate these risks, organizations need to develop a comprehensive cloud migration strategy to successfully move data, existing applications, and workloads to more flexible, cloud-native environments. This process includes choosing the right cloud provider, managing costs, navigating complex architectures, applying data governance policies, and managing downtime.
While cloud migration efforts may require significant planning and resources, businesses that migrate to a public or private cloud get access to the latest innovations offered by [cloud services](/en/topics/cloud-computing/what-are-cloud-services)—without carrying the risks associated with operating outdated infrastructure.
Connect your hybrid cloud environment with IT automation
--------------------------------------------------------
[Get the resource](/en/engage/connect-hybrid-environments-with-automation-e-book "Get the resource")
What are the benefits of cloud migration?
-----------------------------------------
### **Reduce IT costs**
Moving workloads and applications to the cloud allows you to avoid the costs associated with monolithic, legacy applications and services and take advantage of pay-per-use billing. Because public cloud providers like [Amazon Web Services (AWS)](/en/technologies/management/ansible/aws), [Google Cloud](/en/technologies/management/ansible/google-cloud), and [Microsoft Azure](/en/technologies/management/ansible/azure) also take on more responsibility for infrastructure management, businesses may benefit from lower operating costs—leaving more room in your budget to invest in innovation.
### **Improve scalability and performance**
By reducing upfront costs and eliminating the physical limitations of hosting workloads on premise, migrating to cloud infrastructure provides organizations with the flexibility to scale workloads up or down as needed to accommodate variable compute utilization. Cloud migration also lets businesses host applications on infrastructure located in closer geographical proximity to the end user—reducing network latency and improving the user experience.
### **Enhance security and compliance**
In traditional environments, patching and security management can be challenging or inconsistent due to resource constraints, limitations on downtime, and a lack of integration or visibility across tools.
Cloud providers, on the other hand, offer a wide range of first- and third-party tools and services to increase security, protect sensitive data, and comply with industry standards and government regulations. They often take on most of the infrastructure responsibilities, and they offer customers policy and administration tools that can simplify security management.
### **Accelerate adoption**
Organizations using cloud-native application platforms don’t have to worry about managing certain services (load balancing, service routing, etc.). These services are handled by the cloud platform or the cloud provider, allowing businesses to devote more time and resources to growth and innovation.
### **Increase convenience**
Because you can access cloud services from anywhere, both IT administrators and business customers benefit from being able to use tools and resources whenever and wherever it’s most convenient.
Cloud migration best practices and frameworks
---------------------------------------------
There are several common strategies and frameworks used in cloud migrations. The “5 Rs” is a common model:
* **Refactor/re-architect:** Making major changes to an application to give it cloud-native capabilities that improve its performance.
* **Replatform (“lift and optimize”):** Making small changes to an application to improve its performance, and then moving that application to a cloud-native environment.
* **Rehost/relocate (“lift and shift”):** Moving applications, infrastructure, workloads, virtual machines, or operating systems to the cloud without rewriting code, adopting new hardware, or changing existing configurations.
* **Rebuild/rewrite:** Completely rewriting an application to be cloud native. By starting from scratch, businesses can make strategic decisions about the cloud capabilities and tools they want to include in the new version of the application.
* **Retire and replace:** Discontinuing an existing application or product, and adopting a new cloud-native application through a Software-as-a-Service (SaaS) licensing model.
Which strategy a company chooses depends on several factors, including time, budget, and where they are in their cloud adoption journey. For example, businesses that are just starting to adopt cloud technologies might choose an initial migration strategy that doesn’t require them to make big changes to applications, infrastructure, or workloads. They might choose to rehost or replatform an application when they first migrate it to the cloud, and then refactor that application later to give it cloud-native capabilities that improve performance, scalability, and agility.
Other companies that have already moved operations to the cloud might decide to completely rebuild an application, opting to take full advantage of cloud technologies from the beginning of the process.
### How best practices inform your approach
Successful cloud migration requires more than just a strategy. It depends on following key best practices.
* Start by assessing your current IT environment to understand dependencies and choose what to move.
* Define clear business goals, create a detailed migration plan, and choose a cloud provider that meets your needs for performance, security, and cost. Security and compliance, like encryption and access control, should be built in from the start.
* Plan data migration carefully, considering volume, complexity, and method, while ensuring data integrity. [Modernizing apps](/en/topics/application-modernization) can help take advantage of cloud-native features for better scalability and efficiency.
* Use [automation](/en/topics/automation) to speed up the process and improve agility. After migrating, continuously monitor and optimize for performance and cost.
* Train staff early and keep communication clear among stakeholders to ensure success. Frameworks can provide step-by-step guidance on every part of the journey—from business and people to security and operations.
Types of cloud deployment
-------------------------
Large cloud providers, also known as [hyperscalers](/en/topics/cloud-computing/what-is-a-hyperscaler), offer a variety of cloud deployment options—giving organizations the ability to choose cloud infrastructure that best suits their business needs. These options include public, private, hybrid, and multicloud deployments.
A [public cloud](/en/topics/cloud-computing/what-is-public-cloud) is hosted on hardware that’s owned and maintained by the cloud provider. This hardware is automatically provisioned and allocated among multiple customers—meaning it can scale easily in response to fluctuations in demand.
A [private cloud](/en/topics/cloud-computing/what-is-private-cloud) is a cloud-based environment hosted on hardware dedicated to a single organization. Sometimes the hardware is owned and operated by the cloud provider, but in other cases, the hardware is located in an organization’s datacenter and the cloud provider takes on the responsibility of managing the cloud environment. This deployment model is popular in the healthcare and financial services industries, where companies can’t or won’t host IT resources on shared hardware because of security policies and regulatory compliance requirements.
The [hybrid cloud](/en/topics/cloud-computing/what-is-hybrid-cloud) model has become increasingly more common and involves using some combination of public and private cloud infrastructure. Organizations may operate at least 1 public cloud and at least 1 private cloud, or a bare-metal environment connected to at least 1 cloud. In a hybrid cloud model, there’s some level of orchestration or integration between each environment and the movement of workloads between these environments.
Similar to hybrid cloud, [multicloud](/en/topics/cloud-computing/what-is-multicloud) deployments involve migrating applications and workloads to multiple environments—but the term usually refers to the use of more than 1 cloud service from more than 1 cloud vendor. The clouds may be public or private, but they’re not necessarily interconnected and each environment can be managed separately.
How can automation help with cloud migration?
---------------------------------------------
Many organizations use a variety of tools to migrate applications, workloads, data, and other resources to cloud environments, which can lead to inconsistencies that slow down or disrupt the modernization journey. [Cloud automation](/en/topics/automation/what-is-cloud-automation)—the application of IT automation to cloud technologies and environments—helps maximize efficiencies and eliminate redundancies, so you get the most out of your cloud investment.
Incorporating automation into your cloud migration plan can help you:
### **Lower migration costs**
Automation tools are generally more cost-effective because they can consistently perform processes without human intervention across bare-metal, hybrid cloud, and multicloud environments.
### **Reduce migration time**
Automation minimizes the need to rely on time-consuming, manual tasks during the migration process—speeding up the initial stages of migration and leaving IT teams more time to focus on other priorities.
### **Minimize business disruption**
Because automation reduces the risk of human error, organizations that automate the migration of their workloads and resources to the cloud experience less downtime and data loss.
### **Unite environments**
Most organizations rely on a combination of public cloud, private cloud, and cloud-native infrastructure. Automation helps connect these environments by increasing visibility and oversight across teams and resources.
### **Cloud management and optimization post-migration**
Once you’ve migrated workloads, applications, and data to the cloud, automation can be used to efficiently manage all Day 2 operations. Automating [cloud operations](/en/topics/automation/what-is-cloudops) ensures that everything is working as intended, is maintained as needed, and remains compliant, reducing the burden on technical staff.
Automating cloud migration with Red Hat Ansible Automation Platform
-------------------------------------------------------------------
With [Red Hat® Ansible® Automation Platform](/en/technologies/management/ansible), you can choose the approach to automating cloud migration that works for you. Three flexible cloud migration strategies are backup and restore, scan and re-create, and shifting to Infrastructure as Code (IaC).
### **Backup and restore**
The backup and restore method is a classic strategy for migrating to the cloud from traditional virtual machines and architectures. It involves:
1. Backing up your existing infrastructure data and configurations in a datastore or repository
2. Provisioning new infrastructure in your cloud environment
3. Restoring to the new instances by installing the required applications
4. Applying the backup configurations
5. Uploading the data
### **Scan and re-create**
The scan and re-create approach uses Ansible facts—pieces of system data or host properties—to capture configuration settings. Once your base instance of Red Hat Enterprise Linux® has been provisioned on your cloud, those captured configuration settings are applied to the environment.
### **Infrastructure as Code (IaC)**
With the [Infrastructure as Code](/en/topics/automation/what-is-infrastructure-as-code-iac) method, infrastructure provisioning and orchestration is handled through code instead of manual processes. Ansible facts are used to locate configuration information and other data about your environment and create a single source of truth for your infrastructure. This source of truth is defined in code, making it easier to deploy in your new cloud environment or shift the infrastructure to a new environment. It also ensures consistency, reliability, and repeatability.
In each of these approaches to automated cloud migration, the final step is to validate the operational state of your cloud environment to confirm that it’s behaving as intended.
Why Red Hat?
------------
[Red Hat Ansible Automation Platform](/en/technologies/management/ansible) speeds up cloud migration by eliminating many of the manual processes associated with infrastructure configuration and provisioning. With a single management layer and reusable automation workflows, Ansible Automation Platform also supports hybrid and multicloud operations by unifying automation architecture across legacy, cloud, and cloud-native environments.
Whether you’re looking to move workloads from legacy infrastructure to a public cloud, between public clouds, or from traditional compute architectures to cloud-native application platforms, Ansible Automation Platform helps you streamline cloud adoption with the migration strategy that works best for your organization.
[Explore hybrid cloud automation with Ansible Automation Platform](/en/technologies/management/ansible/cloud)
Blog
IT management and automation
----------------------------
Catch up on the end-to-end platform that brings IT automation to everyone
[Read the blog](/en/blog/channel/management-and-automation "IT management and automation")
Learn Red Hat Ansible Automation Platform | Interactive labs
------------------------------------------------------------
Learn how to use Red Hat Ansible Automation Platform at your own pace with these step-by-step Red Hat interactive labs.
[Keep reading](/en/interactive-labs/ansible "Learn Red Hat Ansible Automation Platform | Interactive labs")
Keep reading
------------
### AI vs. automation: What’s the difference?
AI acquires knowledge and applies informed reasoning to make dynamic decisions, while automation performs repetitive IT tasks and processes.
[Read the article](/en/topics/automation/ai-vs-automation-whats-difference "article | AI vs. automation: What’s the difference?")
### The journey from observability to AIOps automation
Learn how organizations can rely on observability, AIOps, and IT automation to deliver reliable services and applications efficiently.
[Read the article](/en/topics/automation/observability-to-aiops-automation "article | The journey from observability to AIOps automation")
### What is infrastructure automation?
Infrastructure automation is the use of technology that performs tasks with reduced human assistance.
[Read the article](/en/topics/automation/what-is-infrastructure-automation "article | what is infrastructure automation")
Automation and management resources
-----------------------------------
### Related content
* E-book
  [Hybrid Cloud Strategy For Dummies®, 4th Red Hat® Special Edition](/en/engage/hybrid-cloud-strategy-for-dummies-ebook)
* E-book
  [Hybrid Cloud Strategy For Dummies®, 4th Red Hat® Special Edition](/en/resources/hybrid-cloud-strategy-for-dummies-ebook)
* Blog post
  [Context-aware advisor recommendations in Red Hat Lightspeed](/en/blog/context-aware-advisor-recommendations-red-hat-lightspeed)
* Blog post
  [Streamlining Red Hat OpenShift multicluster management with Red Hat Ansible Automation Platform](/en/blog/streamlining-red-hat-openshift-multicluster-management-red-hat-ansible-automation-platform)
### Related articles
* [What is network-attached storage?](/en/topics/data-storage/network-attached-storage)
* [AI vs. automation: What’s the difference?](/en/topics/automation/ai-vs-automation-whats-difference)
* [The journey from observability to AIOps automation](/en/topics/automation/observability-to-aiops-automation)
* [What is infrastructure automation?](/en/topics/automation/what-is-infrastructure-automation)
* [What is patch management?](/en/topics/management/what-patch-management-and-automation)
* [What is security automation?](/en/topics/automation/what-is-security-automation)
* [Why choose Red Hat for automation?](/en/topics/automation/why-choose-red-hat-for-automation)
* [What is an Ansible Playbook?](/en/topics/automation/what-is-an-ansible-playbook)
* [What is SOAR?](/en/topics/security/what-is-soar)
* [Learning Ansible basics](/en/topics/automation/learning-ansible-tutorial)
* [How to build an IT automation strategy](/en/topics/automation/build-an-automation-strategy)
* [Linux for cloud computing](/en/topics/linux/linux-for-cloud-computing)
* [Ansible vs. Salt: What you need to know](/en/topics/automation/ansible-vs-salt)
* [Ansible vs. Puppet: What you need to know](/en/topics/automation/ansible-vs-puppet)
* [Ansible vs. Chef: What you need to know](/en/topics/automation/ansible-vs-chef)
* [Ansible vs. Terraform](/en/topics/automation/ansible-vs-terraform)
* [What is IT service management (ITSM)?](/en/topics/automation/what-is-it-service-management-itsm)
* [Automating Microsoft Windows with Red Hat Ansible Automation Platform](/en/technologies/management/ansible/automate-microsoft-windows-with-ansible)
* [What is DevOps automation?](/en/topics/automation/what-is-devops-automation)
* [What is Infrastructure as Code (IaC)?](/en/topics/automation/what-is-infrastructure-as-code-iac)
* [Ansible vs. Kubernetes: how they work together](/en/topics/automation/Ansible-vs-Kubernetes)
* [What is a configuration management database (CMDB)?](/en/topics/automation/what-is-a-configuration-management-database-cmdb)
* [Why run Linux on AWS?](/en/topics/linux/linux-on-aws)
* [What is hybrid cloud?](/en/topics/cloud-computing/what-is-hybrid-cloud)
* [What is a software-defined data center (SDDC)?](/en/topics/automation/what-is-a-sddc)
* [What is serverless?](/en/topics/cloud-native-apps/what-is-serverless)
* [What is IT automation?](/en/topics/automation/what-is-it-automation)
* [Why choose Red Hat Ansible Automation Platform as your AI foundation?](/en/topics/automation/automation-and-ai)
* [What is access control?](/en/topics/security/what-is-access-control)
* [Why choose Red Hat Enterprise Linux on Azure?](/en/technologies/linux-platforms/enterprise-linux/why-choose-red-hat-enterprise-linux-on-azure)
* [What's the difference between cloud and virtualization?](/en/topics/cloud-computing/cloud-vs-virtualization)
* [Why choose Red Hat Enterprise Linux on AWS?](/en/technologies/linux-platforms/enterprise-linux/why-choose-red-hat-enterprise-linux-on-aws)
* [What is virtual infrastructure management? And how can automation help?](/en/topics/automation/virtual-infrastructure-management)
* [What is IT migration?](/en/topics/automation/what-is-it-migration)
* [How to automate migrations with Red Hat Ansible Automation Platform](/en/technologies/management/ansible/automate-migrations-with-red-hat-ansible-automation-platform)
* [Why use Red Hat Ansible Automation Platform with Red Hat OpenShift?](/en/technologies/cloud-computing/openshift/ansible-on-openshift)
* [What is CloudOps?](/en/topics/automation/what-is-cloudops)
* [Linux on Azure](/en/topics/linux/linux-on-azure)
* [Why run Linux on Google Cloud?](/en/topics/linux/linux-on-google-cloud)
* [Red Hat Satellite on Red Hat Enterprise Linux](/en/technologies/management/satellite/satellite-for-rhel)
* [What is role-based access control (RBAC)?](/en/topics/security/what-is-role-based-access-control)
* [Which Red Hat Ansible Automation Platform deployment option is right for you?](/en/technologies/management/ansible/ansible-deployment-options)
* [What is an Ansible module—and how does it work?](/en/topics/automation/what-is-an-ansible-module)
* [How to manage and automate applications at the edge](/en/topics/edge-computing/how-to-manage-automate-applications-edge)
* [How to build an automation Center of Excellence](/en/topics/automation/how-to-build-automation-center-of-excellence)
* [What is orchestration?](/en/topics/automation/what-is-orchestration)
* [Why choose Red Hat Enterprise Linux on Google Cloud?](/en/technologies/linux-platforms/enterprise-linux/why-choose-red-hat-enterprise-linux-google-cloud)
* [How to adopt Automation as Code: Extending Infrastructure as Code into Policy as Code](/en/topics/automation/how-to-adopt-automation-as-code)
* [What is a webhook?](/en/topics/automation/what-is-a-webhook)
* [Why are financial services slow to adopt the cloud?](/en/topics/financial-services/why-financial-services-are-slow-to-adopt-cloud)
* [Red Hat Lightspeed data and application security](/en/topics/management/data-application-security)
* [What is an Ansible Role—and how is it used?](/en/topics/automation/what-is-an-ansible-role)
* [What is data management?](/en/topics/data-services/what-is-data-management)
* [Gain security with Red Hat Ansible Automation Platform](/en/technologies/management/ansible/gain-security-with-red-hat-ansible-automation-platform)
* [What is NetOps?](/en/topics/automation/what-is-netops)
* [What is an Ansible Rulebook?](/en/topics/automation/what-is-an-ansible-rulebook)
* [What is configuration management](/en/topics/automation/what-is-configuration-management)
* [What is Cloud Foundry?](/en/topics/application-modernization/what-is-cloud-foundry)
* [What is event-driven automation?](/en/topics/automation/what-is-event-driven-automation)
* [Zero-Touch Provisioning and telco automation with Red Hat](/en/topics/telecommunications/zero-touch-provisioning-and-telco-automation-at-red-hat)
* [What is the role of the cloud in embedded finance?](/en/topics/financial-services/the-role-of-cloud-in-embedded-finance)
* [OpenShift vs. OpenStack: What are the differences?](/en/technologies/cloud-computing/openshift/openshift-vs-openstack)
* [Cloud services for financial services](/en/topics/financial-services/cloud-services-for-financial-services)
* [Kubernetes vs OpenStack](/en/topics/openstack/kubernetes-vs-openstack)
* [What is provisioning?](/en/topics/automation/what-is-provisioning)
* [What is YAML?](/en/topics/automation/what-is-yaml)
* [Understanding Ansible, Terraform, Puppet, Chef, and Salt](/en/topics/automation/understanding-ansible-vs-terraform-puppet-chef-and-salt)
* [What is compliance management?](/en/topics/management/what-is-compliance-management)
* [What is telco cloud?](/en/topics/cloud-computing/what-is-telco-cloud)
* [What is cloud orchestration?](/en/topics/automation/what-is-cloud-orchestration)
* [What is cloud governance?](/en/topics/automation/what-is-cloud-governance)
* [What is public cloud?](/en/topics/cloud-computing/what-is-public-cloud)
* [What is a configuration file?](/en/topics/linux/what-configuration-file)
* [Cloud vs. edge](/en/topics/cloud-computing/cloud-vs-edge)
* [Why build a Red Hat cloud?](/en/topics/cloud-computing/why-choose-red-hat-cloud)
* [What is multicloud?](/en/topics/cloud-computing/what-is-multicloud)
* [What is cloud architecture?](/en/topics/cloud-computing/what-is-cloud-architecture)
* [Ansible vs. Red Hat Ansible Automation Platform](/en/technologies/management/ansible/ansible-vs-red-hat-ansible-automation-platform)
* [Types of cloud computing](/en/topics/cloud-computing/public-cloud-vs-private-cloud-and-hybrid-cloud)
* [What is cloud automation?](/en/topics/automation/what-is-cloud-automation)
* [What is network automation?](/en/topics/automation/what-is-network-automation)
* [What are managed IT services?](/en/topics/cloud-computing/what-are-managed-it-services)
* [What is business process management?](/en/topics/automation/what-is-business-process-management)
* [What is the Red Hat Ansible Automation Platform automation controller?](/en/technologies/management/ansible/automation-controller-product-feature)
* [What is business process automation?](/en/topics/automation/what-is-business-process-automation)
* [What is cloud-based digital banking?](/en/topics/cloud-computing/what-is-cloud-based-digital-banking)
* [Do banking APIs benefit from cloud technology?](/en/topics/api/banking-api)
* [What is IT process automation?](/en/topics/automation/what-is-it-process-automation)
* [What is deployment automation?](/en/topics/automation/what-is-deployment-automation)
* [What is business optimization?](/en/topics/automation/business-optimization)
* [What is payments infrastructure?](/en/topics/financial-services/what-is-payments-infrastructure)
* [What is Kubernetes cluster management?](/en/topics/containers/what-is-kubernetes-cluster-management)
* [What is SRE?](/en/topics/devops/what-is-sre)
* [What is multitenancy?](/en/topics/cloud-computing/what-is-multitenancy)
* [What is private cloud?](/en/topics/cloud-computing/what-is-private-cloud)
* [What is risk management?](/en/topics/management/what-is-risk-management)
* [What is IT infrastructure?](/en/topics/cloud-computing/what-is-it-infrastructure)
* [What is cloud infrastructure?](/en/topics/cloud-computing/what-is-cloud-infrastructure)
* [Hybrid cloud security](/en/topics/security/what-is-hybrid-cloud-security)
* [What is robotic process automation (RPA?)](/en/topics/automation/what-is-robotic-process-automation)
* [What is an SOE?](/en/topics/management/what-is-an-soe)
* [What is network management?](/en/topics/management/what-is-network-management)
* [What is IT system life-cycle management?](/en/topics/management/it-system-life-cycle-management)
* [Why choose Red Hat storage](/en/topics/data-storage/why-choose-red-hat-storage)
* [What is cloud storage?](/en/topics/data-storage/what-is-cloud-storage)
* [What is cloud security](/en/topics/security/cloud-security)
* [What is software-defined storage?](/en/topics/data-storage/software-defined-storage)
* [What is cloud management?](/en/topics/cloud-computing/what-is-cloud-management)
* [What's business automation?](/en/topics/automation/whats-business-automation)
[More about this topic](/en/topics/automation "More about this topic")