Introducing Skynet: Infrastructure as Code for Gojek
Article Summary
Gojek runs 15,000+ VMs across 250+ GCP projects serving millions of customers. How do they manage infrastructure at this scale without chaos?
Gojek's infrastructure team built Skynet, an opinionated Infrastructure as Code platform that lets product teams self-service their cloud resources while maintaining standards. This article walks through their architecture using Terraform, Terragrunt, and Atlantis.
Key Takeaways
- Monorepo structure splits maintainer-managed common infrastructure from team-owned services
- Service account impersonation replaces direct console access for all operations
- Atlantis CI enables change-specific plans and applies directly on merge requests
- 40+ reusable Terraform modules enforce naming conventions while allowing flexibility
- GitLab Code Owners isolate product teams while maintaining central standards
Critical Insight
Skynet gives product teams infrastructure ownership and deployment speed while enforcing security through impersonation-first workflows and strict organization policies.