跳过导航

迁移

借助灵活、功能强大的云迁移策略更快地实现价值,同时最大限度地减少对业务的影响。

长期迁移

在此阶段,我们将通过四种广泛采用的方法指导你的云迁移。了解这些路径,以确定适合应用程序的正确组合。例如,可以选择在不更改代码的情况下重新托管或“提升并移动”策略程度较低的应用,并重新构建对业务更关键的其他应用,将其分解为服务。

"Create a multifaceted application strategy to determine when rehosting, refactoring, rebuilding or replacing applications delivers value, and how new applications can be built using cloud-optimized and cloud-native design principles."

Gartner,“Devise an Effective Cloud Computing Strategy by Answering Five Key Questions”,David W. Cearley,2015 年 11 月(2017 年 6 月 23 日更新)

浏览云迁移策略,了解它们何时以及如何符合目标

Rehost

这种无代码选项通常称为“直接迁移”,可让你快速将现有应用程序迁移到 Azure。每个应用程序按“原样”进行迁移,既发挥了云的优势,又无需承担更改代码所带来的风险或成本。

使用时机:

  • 需要快速将应用程序从数据中心迁移到云。
  • 构建应用旨在利用 Azure IaaS 可伸缩性。
  • 企业需要应用程序,但不需要立即更改其功能。
  • 只有使用 Azure IaaS VM 才能满足应用程序或数据库的需求。
  • 需要在不更改代码的情况下迁移应用程序

重新托管示例路径

迁移步骤

重新托管到 IaaS

重新托管数据库

优化

步骤 1(共 4 步)

将 VM 或物理服务器复制到 Azure

只需简单几步即可使用 Azure Site Recovery 复制服务器,包括运行 Windows 或 Linux 的 VMware 虚拟机或物理服务器。将 VM 复制到高级或标准存储帐户,以满足应用程序的性能和 SLA 需求。

步骤 2(共 4 步)

配置 Azure 混合权益和托管磁盘

使用 Azure 混合权益将 Windows Server 虚拟机迁移到 Azure,节约成本。迁移前,请先应用评估推荐的配置,例如存储类型、可用性集、VM 大小和网络。

步骤 3(共 4 步)

测试应用程序并将其迁移到 Azure

使用无中断的测试故障转移和 Site Recovery 在 Azure 中将应用程序性能基准化。然后即可自信地将应用程序迁移到 Azure。

步骤 4(共 4 步)

传输大量数据

若要将大量数据传送到 Azure,但又受时间、网络可用性或成本的限制,则可使用 Azure Data Box 服务。Data Box 由大量合作伙伴提供支持,这些合作伙伴在帮助客户管理数据资源方面具有丰富的经验。

步骤 1(共 3 步)

迁移数据库

通过 Azure 数据库迁移服务,轻松将 SQL Server、开放源代码和其他关系数据库迁移到 Azure 上完全托管的解决方案,如 Azure SQL 数据库托管实例、Azure Database Service for PostgreSQL 和使用 Azure 数据库迁移服务的 Azure Database for MySQL。使用数据迁移工具将非关系数据库迁移到 Azure Cosmos DB。

步骤 2(共 3 步)

缩放数据库迁移

使用数据库迁移服务并行迁移多个数据库。

步骤 3(共 3 步)

完成迁移

迁移的数据库准备就绪后,只需更新连接字符串即可重新连接应用。

步骤 1(共 4 步)

确保符合性

通过使用定义工作负荷所需配置的安全策略,帮助确保用户遵守公司或法规要求。Azure 机器学习可识别丢失的数据加密和缺少的防火墙规则。

步骤 2(共 4 步)

备份虚拟机

从 Azure 门户备份迁移的 Windows 和 Linux VM。将所有备份信息存储在中央仪表板中,可以在意外丢失数据时快速决定需要还原的内容。

步骤 3(共 4 步)

管理符合性

制定政策确保治理得当,并监视标准的遵守情况。使用基于角色的访问控制 (RBAC) 和实时管理员访问实现最小特权访问。

步骤 4(共 4 步)

跟踪虚拟机利用率

使用 Azure 成本管理监视虚拟机上的 CPU 利用率,以检测低效率并优化使用情况。

Learn how to rehost your application using Microsoft tools for server and database migration.

App Migration to Azure: Your options explained

Featured videos

Migrating databases to Azure

Demo: Rehost an application to Azure

推荐的技术服务

Our technology partners offer a range of migration solutions you can use when Azure migration services don’t support your specific scenario.

重构

Refactoring, often referred to as “repackaging,” is a cloud migration approach that lets you minimally alter application code or apply configuration changes necessary to connect the application to Azure PaaS and take better advantage of the cloud.

使用时机:

  • 需要使用现有基本代码和开发技巧,并考虑代码可移植性。
  • 可轻松地重新打包应用程序以使其在 Azure 中工作。
  • 希望应用 Azure 提供的创新 DevOps 实践。
  • IT 团队正在投资使用针对特定工作负荷的容器策略的 DevOps。

重构示例路径

迁移步骤

Refactor to PaaS

Database to Azure

Optimize Operations

步骤 1(共 2 步)

Repackage existing apps

Use existing applications, repackaged to take advantage of Azure platform as a service (PaaS) capabilities. Push your application to Azure Container Registry, where you can simplify container development by storing and managing container images for Azure deployments in a central registry.

步骤 2(共 2 步)

Deploy to Azure Kubernetes service

Create, configure, and manage a cluster of virtual machines preconfigured to run containerized applications. Azure Kubernetes Service (AKS) makes it simple.

步骤 1(共 2 步)

迁移数据库

Easily migrate your SQL Server, open-source, and other relational databases to fully-managed solutions on Azure, like Azure SQL Database Managed Instance, Azure Database Service for PostgreSQL, and Azure Database for MySQL with Database Migration Service. Migrate your non-relational databases to Azure Cosmos DB using the Data Migration Tool.

步骤 2(共 2 步)

Migrate databases at scale

Using the Database Migration Service, migrate your databases in parallel. Once a migrated database is ready to use, just reconnect it and your app can be up and running.

步骤 1(共 3 步)

Migrate to Visual Studio Team Services

Move from Team Foundation Server to Visual Studio Team Services and bring your data along

步骤 2(共 3 步)

Manage compliance

Help meet company or industry regulatory requirements with security policies that define the desired configuration of your workloads. Azure Security Center uses machine learning to identify missing data encryption and missing firewall rules.

步骤 3(共 3 步)

Monitor and visualize costs

Gain visibility into resource consumption and costs in a single, unified view. Your operational staff and business users can build custom dashboards to view data based on their needs.

推荐的技术服务

Our technology partners offer a range of migration solutions you can use when Azure migration services don’t support your specific scenario.

Rearchitect

With this cloud migration strategy, modify or extend an application's code base to optimize the application architecture for cloud scale. This will modernize your app into a resilient, highly scalable, independently deployable architecture. Use Azure services to accelerate the process, scale applications with confidence, and manage your apps with ease.

使用时机:

  • 应用程序需要进行重大修订,以纳入新功能或在云平台上更有效地工作。
  • 希望利用现有应用程序投资。
  • 希望以经济高效的方式满足可扩展性要求。
  • 希望尽量减少虚拟机的使用。
  • 希望应用 Azure 提供的创新 DevOps 实践。

重塑架构示例路径

迁移步骤

Rearchitect for PaaS

容器化应用

Release and Optimize

步骤 1(共 3 步)

Rearchitect your code

Break apart a monolithic application into a set of loosely-coupled modules that work together to take advantage of the Azure platform.

步骤 2(共 3 步)

Develop services independently

Each microservice is self-contained, small, independent, and loosely coupled and can be built, tested, and deployed independently.

步骤 3(共 3 步)

Develop with your favorites

Develop in your preferred programming language, using familiar tools.

步骤 1(共 2 步)

Migrate databases at scale

Use Azure Database Migration Service to migrate databases in parallel.

步骤 2(共 2 步)

Complete the migration

使用 Azure 容器注册表可存储和管理所有类型的容器部署的映像。

步骤 1(共 3 步)

Independent deployments

You can update a service without redeploying the entire application and roll an update either backward or forward if something goes wrong. Docker can be used to deploy microservices.

步骤 2(共 3 步)

Push your application to Azure Container Registry

Azure Container Registry allows you to store and manage images for all types of container deployments.

步骤 3(共 3 步)

Deploy to Azure Kubernetes service

Azure Kubernetes Service (AKS) makes it simple to create, configure, and manage a cluster of virtual machines that are preconfigured to run containerized applications.

推荐的技术服务

Our technology partners offer a range of migration solutions you can use when Azure migration services don’t support your specific scenario.

Rebuild

Rebuild an application from scratch using cloud-native technologies. Azure platform as a service (PaaS) provides a complete development and deployment environment in the cloud, without the expense and complexity of software licenses, the need for underlying application infrastructure, or middleware and other resources. With this cloud migration strategy, you manage the applications and services you develop, and Azure manages everything else.

使用时机:

  • You want rapid development, and the existing application is slowing you down due to limited functionality and lifespan.
  • 已准备好使用原生于云的技术生成新的应用程序。
  • 希望利用 AI、区块链和 IoT 的改进生成创新的应用。
  • You want to expedite your business innovation.
  • You want to apply innovative DevOps practices provided by Azure

重新生成示例

迁移步骤

Rebuild database

Rebuild cloud-native apps

Release and optimize

步骤 1(共 2 步)

Create a database for storing your data

Azure Cosmos DB is a globally-distributed, multi-model database service, providing turnkey distribution across any number of Azure regions by transparently scaling and replicating your data wherever your users are.

步骤 2(共 2 步)

Multi-model + multi-API database

Use key-value, graph, column-family, and document data in one service with Cosmos DB

步骤 1(共 3 步)

Use PaaS services

Azure PaaS lets you create applications using built-in software components that offer scalability, high-availability, and multi-tenant capabilities.

For example, if your application needs an integration solution, you can use Azure Logic Apps.

步骤 2(共 3 步)

Build serverless

Build apps faster with a serverless architecture, using the programming language of your choice.

步骤 3(共 3 步)

Rebuild with AI

Use rich artificial intelligence services like Azure Cognitive Services Text Analytics API to empower users with intelligent applications that learn and adapt.

步骤 1(共 2 步)

Publish your app to App Service

Use Visual Studio Team Services to create a full CI/CD pipeline for your application—no matter which language you’re using—and deploy to several targets, including virtual machines, Azure Service Fabric, and Docker container orchestrators like Kubernetes.

步骤 2(共 2 步)

立即执行下一步

Azure 迁移之旅

评估 评估
迁移 迁移
优化 优化