您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

专注于迁移的成本控制机制Migration-focused cost control mechanisms

不管我们在技术团队中扮演什么角色,云都会给我们的工作方式带来一些变化。The cloud introduces a few shifts in how we work, regardless of our role on the technology team. 成本就是这种变化的很好例子。Cost is a great example of this shift. 过去,只有财务和 IT 领导层关心 IT 资产(基础结构、应用程序和数据)的成本。In the past, only finance and IT leadership were concerned with the cost of IT assets (infrastructure, apps, and data). 云让每个 IT 成员都可以做出更好支持最终用户的决策,并采取行动。The cloud empowers every member of IT to make and act on decisions that better support the end user. 不过,伴随着这种权力而来的责任是,在做出这些决策时要有成本意识。However, with that power comes the responsibility to be cost conscious when making those decisions.

本文介绍了有助于在将工作负载迁移到 Azure 之前、期间和之后做出明智成本决策的工具。This article introduces the tools that can help make wise cost decisions before, during, and after migrating workloads to Azure.

本文介绍的工具包括:The tools in this article include:

  • Azure MigrateAzure Migrate
  • Azure 定价计算器Azure pricing calculator
  • Azure TCO 计算器Azure TCO calculator
  • Azure 成本管理 + 计费Azure Cost Management + Billing
  • Azure 顾问Azure Advisor

若要完成本文中所述的过程,可能还需要与 IT 经理、财务或业务线应用程序所有者合作。The processes described in this article may also require a partnership with IT managers, finance, or line-of-business application owners.

在迁移任何资产(基础结构、应用程序或数据)之前,有机会根据这些资产的观察性能标准来估计成本和优化大小。Prior to migration of any asset (infrastructure, app, or data), there is an opportunity to estimate costs and refine sizing based on observed performance criteria for those assets. 估计成本有两个目的:一是实现成本控制,二是提供检查点,以确保当前预算考虑到必要的性能需求。Estimating costs serves two purposes: it allows for cost control, and it provides a checkpoint to ensure that current budgets account for necessary performance requirements.

成本计算器Cost calculators

如需手动计算成本,可以使用两个方便的计算器,根据要迁移的工作负载的体系结构快速估算成本。For manual cost calculations, there are two handy calculators that can provide a quick cost estimate based on the architecture of the workload to be migrated.

这些手动成本计算器可以自行预测潜在支出和节省额。These manual cost calculators can be used on their own to forecast potential spend and savings. 它们还可以与 Azure Migrate 的成本预测工具结合使用,以调整成本预期来适应备用体系结构或性能约束。They can also be used in conjunction with the cost forecasting tools of Azure Migrate to adjust the cost expectations to fit alternative architectures or performance constraints.

Azure Migrate 计算Azure Migrate calculations

先决条件: 若要更好地理解此选项卡的其余部分,读者需要已用要迁移的资产(基础结构、应用程序和数据)集合来填充 Azure Migrate。Prerequisites: The remainder of this tab assumes the reader has already populated Azure Migrate with a collection of assets (infrastructure, apps, and data) to be migrated. 前一篇关于评估的文章介绍了如何收集初始数据。The prior article on assessments provides instructions on collecting the initial data. 在数据填充后,请按照下面的一些步骤操作,以根据收集的数据估计每月成本。Once the data is populated, follow the next few steps to estimate monthly costs based on the data collected.

Azure Migrate 根据收集器和服务映射捕获的数据来计算每月预估成本。Azure Migrate calculates monthly cost estimates based on data captured by the collector and Service Map. 若要加载成本估计,请按照以下步骤操作:The following steps will load the cost estimates:

  1. 导航到门户中的“Azure Migrate 评估”。Navigate to Azure Migrate assessment in the portal.
  2. 在项目的“概览”页面中,选择“+创建评估” 。In the project Overview page, select + Create assessment.
  3. 选择“全部查看”来查看评估属性。Select View all to review the assessment properties.
  4. 创建组并指定组名称。Create the group, and specify a group name.
  5. 选择要添加到该组的计算机。Select the machines that you want to add to the group.
  6. 单击“创建评估”,创建该组和评估。Select Create assessment, to create the group and the assessment.
  7. 创建评估后,在“概述” > “仪表板”中查看该评估。 After the assessment is created, view it in Overview > Dashboard.
  8. 在门户导航的“评估详细信息”部分中,选择“成本详细信息” 。In the Assessment details section of the portal navigation, select Cost details.

生成的估计(如下图所示)确定了每月的计算和存储成本,这些成本通常占云成本的最大部分。The resulting estimate, pictured below, identifies the monthly costs of compute and storage, which often represent the largest portion of cloud costs.

成本详细信息视图

图 1:Azure Migrate 中某个评估的“成本详细信息”视图图示。Figure 1: Diagram of the cost details view of an assessment in Azure Migrate.

其他资源Additional resources