Files
nexus/wiki/concepts/OpenText-Tagging-Standard.md
2026-04-29 04:03:31 +08:00

2.9 KiB
Raw Blame History

title, type, tags, last_updated
title type tags last_updated
OpenText Tagging Standard concept
Cloud-Governance
FinOps
Tagging
Multi-Cloud
2026-04-14

Definition

OpenText 标签标准是一套跨 AWS、Azure、GCP 三大云厂商的统一资源标签规范,通过标准化前缀和标签值集,实现云成本的精确归属、资源责任的明确划分和安全分类的自动化执行。

Version History

版本 日期 覆盖范围
V1 2023-10-03 云账户、云资源(计算/存储/网络)
V2 2025-04-29 V1 + Kubernetes 对象 + 容器镜像

Standard Design Principles

  1. 最低共同标准:采用 GCP 最严格字符集(小写、数字、连字符、下划线)
  2. OT_ 前缀约定:区分 OpenText 专有标签(云资源层面)
  3. 分层扩展V2 新增 app.opentext.comK8scom.opentext.image(容器镜像)前缀
  4. 实际可行:优先考虑快速实施,而非完美方案

Standardized Tags

V1 Core Tags

  • OT_BU — 业务单元
  • OT_Technical_Contact — OT 技术联系人
  • OT_Cost_Center — 成本中心
  • OT_Customer — 客户
  • OT_Tenant — 租户
  • OT_Environment — 环境(生产/实验室/客户数据)
  • OT_Master_Product — OT 主产品
  • OT_Custom_Field_* — 自定义字段
  • OT_Platform — 平台
  • OT_Cost_Type — 成本类型
  • OT_Customer_Data — 客户数据标识

V2 Extended Tags

  • Kubernetes: app.opentext.com/* 前缀
  • Container Images: com.opentext.image/* 前缀

Exceptions

  • environment — 已有通用约定,无需 OT_ 前缀
  • BU — 已有通用约定,无需 OT_ 前缀
  • cost_center — 已有通用约定,无需 OT_ 前缀
  • nameAWS— AWS 保留标签,无需 OT_ 前缀

Implementation

Terraform Automation

# 方式1: 模块参数
aws_instance.example {
  tags = {
    OT_Environment  = "production"
    OT_BU           = "engineering"
    OT_Cost_Center  = "CC-12345"
  }
}

# 方式2: Provider 默认标签
provider "aws" {
  default_tags {
    tags = {
      OT_Environment = "production"
      OT_BU          = "engineering"
    }
  }
}

Tagging Pipeline

启用计费标签 → CUR (Cost and Usage Report) → 
  → HCMX
  → Phenops
  → QuickSight
  → Power BI

Governance

  • Owner: FinOps 团队
  • KPI: 99% 可标签资源完成打标(通过 SCP 或标签策略强制)
  • Documentation: Confluence产品短代码和 BU 列表)

Connections

  • FinOps — 标签标准由 FinOps 驱动,为成本优化提供基础设施
  • AWS-Tagging-Standards — OpenText 标准是 AWS 标签规范的扩展
  • Terraform — IaC 自动化打标工具

References