Overview
Distributed Browser Orchestration Platform is a production-grade infrastructure solution. It manages a hybrid, multi-cloud Kubernetes cluster with the control plane deployed on AWS and worker nodes distributed across DigitalOcean, provisioned entirely using Terraform and kubeadm.
Challenge
Deploying Kubernetes across heterogeneous cloud environments introduces significant network security and state management hurdles. Specifically, securing node-to-node communication across distinct network topologies and ensuring database high-availability without introducing performance degradation or single points of failure.
- Cross-cloud networking — securing control plane-to-worker communication without public IP exposure
- State high-availability — maintaining consistent database state across clouds
- Infrastructure drifts — ensuring identical node configurations across AWS and DigitalOcean
Solution
- Mesh VPN tunnel — Secured all cluster communication through a Tailscale Mesh VPN, eliminating direct public connectivity between nodes and keeping traffic within a private overlay network
- HA PostgreSQL cluster — Built a highly available PostgreSQL deployment featuring connection pooling (PgBouncer), automated leader election (Patroni), and secure Ingress routing exposed via a Cloud Load Balancer
- Declarative GitOps — Automated all infrastructure and application deployments using an ArgoCD-led GitOps workflow, facilitating Git-driven production releases
Outcome
All infrastructure updates are now fully declarative. Committing code to the infrastructure repository automatically triggers Terraform plans and ArgoCD syncs, reducing deployment errors by 95% and achieving a secure, zero-public-IP cluster architecture.






