Auto-sync: 2026-04-29 04:03

This commit is contained in:
2026-04-29 04:03:31 +08:00
parent 2c56d5a031
commit eedfafcae2
47 changed files with 2453 additions and 0 deletions

View File

@@ -0,0 +1,99 @@
---
title: "OpenText Tagging Standard"
type: concept
tags:
- Cloud-Governance
- FinOps
- Tagging
- Multi-Cloud
last_updated: 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.com`K8s`com.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_ 前缀
- `name`AWS— AWS 保留标签,无需 OT_ 前缀
## Implementation
### Terraform Automation
```hcl
# 方式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
- [[public-cloud-learning-sessions-tagging-standards-for-all-hyperscalers-20240123-1]]V1
- [[public-cloud-learning-sessions-opentext-tagging-standard-v2-20250429]]V2