Skip to content

ADR 0002: Single Cloud Strategy — Tencent Cloud as Primary

Status

Accepted

Date

2026-07-24

Context

OVES infrastructure was distributed across AWS (EC2, S3, InfluxDB), Microsoft OneDrive, Cloudinary, and miscellaneous services. This multi-cloud architecture introduced:

  • Cross-cloud egress costs for data generated in China and consumed globally
  • Two identity and access management (IAM) surfaces with separate audit burdens
  • Operational complexity from managing reserved instances, resource packs, and billing across providers
  • Latency penalty (30–80ms) for Chinese users accessing AWS Hong Kong endpoints

The strategic direction is to exit Microsoft (OneDrive) and consolidate onto a single cloud provider aligned with OVES's primary markets and existing Tencent ecosystem investments (WeCom, Lexiang).

Decision

Tencent Cloud is the single primary cloud provider for OVES infrastructure.

Retained Services (non-Tencent)

Service Reason for Retention
Cloudinary Global media CDN and on-the-fly transformation; fetch from COS origin
Cloudflare Pages Static site hosting for mkdocs documentation; WeCom OAuth via Cloudflare Access
GitHub Source control and CI/CD (unchanged)

Services Migrated to Tencent

Source (AWS/Microsoft) Target (Tencent)
AWS S3 Tencent COS (对象存储)
AWS EC2 (InfluxDB) Tencent CVM + TDengine
OneDrive COS + WeCom Docs
AWS IAM Tencent CAM

Services Rejected

Service Reason
WeDrive Per-seat billing, no API, not object storage
InfluxDB on EC2 (retained) EC2 fixed cost + ops; TDengine 10x perf, 75% less storage

Consequences

Benefits

  • Zero cross-cloud egress costs for data generated, processed, and archived within Tencent Cloud
  • Single IAM surface (Tencent CAM)
  • < 5ms latency for mainland China users (vs. 30–80ms to AWS HK)
  • Simplified billing: one provider, predictable costs
  • COS-native AI processing (CI + MetaInsight) with no data movement

Trade-Offs

  • Vendor lock-in to Tencent Cloud; mitigated by S3-compatible COS API (standard SDKs remain portable)
  • Cloudinary retained as a second provider, but only for edge distribution (not storage)
  • Global CDN coverage for non-China users depends on Cloudinary; Tencent CDN is China-optimized

Estimated Cost Impact

~$300–700/month saved by eliminating AWS EC2, S3 egress, OneDrive licenses, and cross-cloud data transfer.

Supersedes

None.

Superseded By

None.