跨区域移动 Azure 资源Moving Azure resources across regions

本文提供有关跨 Azure 区域移动 Azure 资源的信息。This article provides information about moving Azure resources across Azure regions.

Azure 地理位置和区域构成了 Azure 全球基础结构的基础。Azure geographies, and regions form the foundation of the Azure global infrastructure. Azure 地理位置通常包含两个或更多个 Azure 区域Azure geographies typically contain two or more Azure regions. 区域是一个地理位置和多个数据中心内的地区。A region is an area within a geography, and multiple data centers.

在特定的 Azure 区域中部署资源后,你可能会出于以下多种原因,需要将资源移到其他区域。After deploying resources in specific Azure region, there are a number of reasons that you might want to move resources to a different region.

  • 与区域的推出相适应:将资源移到新推出的 Azure 区域(以前不存在此区域)。Align to a region launch: Move your resources to a newly introduced Azure region that wasn't previously available.

  • 与服务/功能相适应:移动资源以利用特定区域中提供的服务或功能。Align for services/features: Move resources to take advantage of services or features that are available in a specific region.

  • 应对业务发展:将资源移到某个区域,以应对企业变化,例如合并或收购。Respond to business developments: Move resources to a region in response to business changes, such as mergers or acquisitions.

  • 确保邻近性:将资源移到企业的本地区域。Align for proximity: Move resources to a region local to your business.

  • 满足数据要求:移动资源以符合数据驻留要求或数据分类需求。Meet data requirements: Move resources in order to align with data residency requirements, or data classification needs. 了解详细信息Learn more.

  • 应对部署要求:移动错误部署的资源,或者移动资源来应对容量需求。Respond to deployment requirements: Move resources that were deployed in error, or move in response to capacity needs.

  • 应对解除:由于区域解除而移动资源。Respond to decommissioning: Move resources due to decommissioning of regions.

区域移动过程Region move process

跨区域移动资源的实际过程取决于要移动的资源。The actual process for moving resources across regions depends on the resources you're moving. 但是,有一些通用的关键步骤:However, there are some common key steps:

  1. 验证先决条件:先决条件包括,确保所需的资源在目标区域中可用,检查是否有足够的配额,以及验证订阅是否可以访问目标区域。Verify prerequisites: Prerequisites include making sure that the resources you need are available in the target region, checking that you have enough quota, and verifying that your subscription can access the target region.
  2. 分析依赖关系:你的资源可能依赖于其他资源。Analyze dependencies: Your resources might have dependencies on other resources. 在移动之前,请先查明依赖关系,以便资源在移动后可以继续按预期方式工作。Before moving, figure out dependencies so that moved resources continue to function as expected after the move.
  3. 准备移动:在移动之前,需在主要区域中执行一些步骤。Prepare for move: These are the steps you take in your primary region before the move. 例如,可能需要导出 Azure 资源管理器模板,或开始将资源从源复制到目标。For example, you might need to export an Azure Resource Manager template, or start replicating resources from source to target.
  4. 移动资源:移动资源的方式取决于具体的资源是什么。Move the resources: How you move resources depends on what they are. 可能需要在目标区域中部署模板,或者将资源故障转移到目标区域。You might need to deploy a template in the target region, or fail resources over to the target.
  5. 丢弃目标资源:移动资源后,可能需要查看这些资源是否已进入目标区域,并确定是否存在不需要的任何资源。Discard target resources: After moving resources, you might want to take a look at the resources now in the target region, and decide if there's anything you don't need.
  6. 提交移动操作:确认资源进入目标区域后,某些资源可能需要最终的提交操作。Commit the move: After verifying resources in the target region, some resources might require a final commit action. 例如,在现已成为主要区域的目标区域中,可能需要设置灾难恢复到新的次要区域。For example, in a target region that's now the primary region, you might need to set up disaster recovery to a new secondary region.
  7. 清理源:最后,在新区域中的所有活动正常运转后,可以清理并解除为移动过程创建的资源,以及主要区域中的资源。Clean up the source: Finally, after everything's up and running in the new region, you can clean up and decommission resources you created for the move, and resources in your primary region.

后续步骤Next steps

有关支持跨区域移动的资源列表,请参阅资源的移动操作支持For a list of which resources support moving across regions, see Move operation support for resources.