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
- Employment context
- Senior DevOps Engineer / SRE · Geniebook
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:
- Dependency GraphMap RPC, DB & egress waves
- Terragrunt IaCProvision VPC & TKE clusters
- Dual-Cloud ParityParallel deploy & SLI checks
- Weighted CutoverDNS traffic shift, 0 downtime
- FinOps GovernanceRightsizing & spot blending
- 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.
- 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.
- 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.
- 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. |