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

开发 Azure 资源的命名和标记策略Develop your naming and tagging strategy for Azure resources

组织云资产以支持管理、操作管理和会计要求。Organize your cloud assets to support governance, operational management, and accounting requirements. 定义完善的命名和元数据标记约定有助于快速查找和管理资源。Well-defined naming and metadata tagging conventions help to quickly locate and manage resources. 这些约定还有助于通过按用量计费和 showback 记帐机制将云使用成本与业务团队关联起来。These conventions also help associate cloud usage costs with business teams via chargeback and showback accounting mechanisms.

尽快定义命名和标记策略。Define your naming and tagging strategy as early as possible. 使用以下链接来帮助你定义和实现策略:Use the following links to help you define and implement your strategy:

备注

每个企业都有其自己的组织和管理要求。Every business has its own organizational and management requirements. 这些建议可帮助你开始与云采用团队进行讨论。These recommendations help start a discussion with your cloud adoption teams. 随着讨论的继续,请使用下面的模板来记录在根据特定业务需求调整这些建议时所做的命名和标记。As the discussion proceeds, use the template below to document the naming and tagging decisions you make when aligning these recommendations to your specific business needs.

下载 命名和标记约定跟踪模板Download the naming and tagging conventions tracking template.

命名和标记目的Purpose of naming and tagging

为了安全起见,准确地表示和命名资源是至关重要的。Accurately representing and naming your resources is essential for security purposes. 发生安全事件时,快速识别受影响的系统、这些系统支持哪些功能以及潜在的业务影响非常重要。In the event of a security incident, it's critical to quickly identify affected systems, what functions those systems support, and the potential business impact. 按资源名称的安全服务,例如 Azure 安全中心azure Sentinel 引用资源及其关联的日志记录和警报信息。Security services such as Azure Security Center and Azure Sentinel reference resources and their associated logging and alert information by resource name.

Azure 定义 azure 资源的命名规则和限制Azure defines naming rules and restrictions for Azure resources. 本指南提供了有关支持企业云采用工作的详细建议。This guidance provides detailed recommendations to support enterprise cloud adoption efforts.

更改资源名称可能比较困难。Changing resource names can be difficult. 在开始进行任何大型云部署之前,建立一个全面的命名约定。Establish a comprehensive naming convention before you begin any large cloud deployment.

命名和标记策略Naming and tagging strategy

命名和标记策略将业务和运营详细信息添加为资源名称和元数据标记的组成部分:A naming and tagging strategy includes business and operational details as components of resource names and metadata tags:

  • 此策略的业务端确保资源名称和标记包括标识团队所需的组织信息。The business side of this strategy ensures that resource names and tags include the organizational information needed to identify the teams. 请结合使用资源和负责资源成本的业务负责人。Use a resource along with the business owners who are responsible for resource costs.

  • 此策略的运营相关部分确保,名称和标记包含 IT 团队用来标识工作负荷、应用程序、环境和关键性的信息,以及用于管理资源的其他信息。The operational side ensures that names and tags include information that IT teams use to identify the workload, application, environment, criticality, and other information useful for managing resources.

后续步骤Next steps

了解有关定义你的 Azure 资源和资产的命名约定的注意事项,并查看 Azure 中的资源和资产的示例名称。Learn about the considerations for defining your naming convention your Azure resources and assets, and review example names for resources and assets in Azure.