CASE STUDY / PRODUCTION

Multi-Cloud Consolidation and Cost Governance

Consolidating AWS, GCP, and Azure workloads on Tencent Cloud while protecting service availability and improving cloud efficiency.

Status
Production
Key outcome
~50% — lower monthly cloud spend
~50%Lower monthly cloud spend
30+Production services consolidated
0Customer-facing cutover downtime
KubernetesTerraformTerragruntTencent CloudAWSFinOps

Geniebook · Production platform & FinOps initiative (Jul 2025 – Present)

Problem & context

Over 30 production microservices were fragmented across AWS, Google Cloud Platform (GCP), Azure, and Tencent Cloud. Operating workloads across four cloud providers created compounding operational overhead: duplicated networking and IAM models, inconsistent environment provisioning, cross-cloud egress costs, and fragmented billing visibility that obscured per-service unit economics.

The objective was to consolidate workloads onto Tencent Cloud Kubernetes Engine (TKE) alongside remaining AWS EKS estates while enforcing FinOps cost governance—without introducing customer-facing downtime during cutover.

Architecture & migration execution

Rather than attempting a high-risk big-bang cutover, I structured the migration into dependency-ordered waves backed by repeatable Infrastructure as Code:

Phased multi-cloud cutover pipelineAWS + GCP + Azure → Tencent Cloud TKE
  1. Dependency GraphMap RPC, DB & egress waves
  2. Terragrunt IaCProvision VPC & TKE clusters
  3. Dual-Cloud ParityParallel deploy & SLI checks
  4. Weighted CutoverDNS traffic shift, 0 downtime
  5. FinOps GovernanceRightsizing & spot blending
  1. Dependency mapping & wave planning: Audited service-to-service RPC/HTTP paths, shared data stores, egress dependencies, and latency budgets to group the 30+ services into low-blast-radius migration waves.
  2. Modular infrastructure provisioning: Built reusable Terraform and Terragrunt modules for VPC networking, TKE node pools, ingress controllers, and managed backing services so target environments were reproducible across dev, staging, and production.
  3. Dual-cloud parallel run & traffic shifting: Deployed stateless services across source and target clusters simultaneously, validated readiness and golden-signal parity under synthetic and shadow load, and shifted production traffic incrementally via weighted DNS with instant rollback paths.
  4. Continuous FinOps governance: Combined the consolidation with compute rightsizing based on historical p95 CPU/memory utilization, commitment and spot node-pool blending, mandatory cost-allocation tags, automated orphan-volume/snapshot cleanup, and scheduled off-hours scaling for non-production clusters.

Key architectural trade-offs

Decision Area Option Considered Chosen Approach & Rationale
Cutover strategy Single maintenance-window switchover Phased weighted cutover: Eliminated customer-facing downtime and isolated blast radius per service wave.
State provisioning Ad-hoc console setup for speed Terragrunt-layered Terraform modules: Prevented configuration drift and cut environment provisioning from 3 days to 4 hours.
Compute capacity 100% on-demand nodes vs. aggressive spot Blended reserved + spot node pools: Placed stateful/critical tiers on baseline capacity and stateless workers on spot with PodDisruptionBudgets.

Production outcomes