The moment
Capillary was growing into new regions and moving up-market, and large deals now came with a question. As Goel P, SVP of Engineering, put it: "Business conversations start at the time of sales: Do you have a local region or can you deploy on our private cloud?" Each new production environment took a large share of developer and Ops time to set up, and slowed every change after it. A lean Ops team handled migrations, upgrades, cost, security, compliance and service issues, and every developer request on top.
Before: how work flowed
Every infrastructure change passed through a lean Ops team, and the automation it built needed that team to run it.
- Every change was a ticket. Product groups wanted to add services, try new frameworks and change existing setups, and each request went to Ops. As requests grew, so did the queue, the wait for developers and the load on a small Ops team.
- Automation built for specialists. Most automation needed specialist skills and supervision to trigger, so it stayed with Ops. Each part of the system was known best by the people who built it, and keeping it predictable got harder as it grew.
- New regions were projects. Each new production environment consumed developer and Ops time at setup and slowed the pace of change after it. Before Facets, a launch took 64 person-weeks of effort.
What they tried first
The Ops team first absorbed the growth with process and more automation, which worked at a smaller scale. As requests multiplied, the ticket queue grew with them, and the automation needed constant refresh to keep pace and stayed in Ops hands.
Why Facets
Capillary decided to change the model: developers would own their code and infrastructure, and the Ops team would focus on enabling them. The key problem was the dependency between Dev and Ops, so the first goal was to turn the Ops automations into a product that developers could use on their own.
Two points mattered. Facets does not replace the DevOps team; it automates repeated tasks so the team has time for business problems. And it is built on well-known technologies, shows how it uses them, and is extensible, so the Ops team can build on top of it.
How it worked
Capillary's Ops team turned its automations into one standard first; with it, a new environment became a single click, proven when a 20x scale-up (March 2022) and a new US region each fit a short window.
One standard for every team. Capillary's Ops team set up standard workflows in Facets that every team understands: how you build, deploy and monitor, and how you read metrics.
“Everyone speaks the same language and could easily comprehend their own and dependent services.”
Piyush KCTO, Capillary TechnologiesA new environment in a single click. Facets holds everything needed to launch an environment, so a new one with existing workflows launches with a single click. The same holds across geographical and private deployments: US, China, Asia and the Middle East. Facets also automates upgrades such as Kubernetes across all environments, including AWS China.
Ops publishes the capabilities. The Ops team owns the IaC as well as the guardrails: for a completely new type of resource, it builds a Terraform extension on top of Facets and makes it available.
“Ops teams control what capabilities are available for Devs. But once done, Dev teams make their own choices.”
Piyush KCTO, Capillary TechnologiesDevelopers self-serve. A Capillary product team that wants a new module with extra services, databases and credentials sets it up itself, with less room for errors.
Releases run unattended. About 40 major and hundreds of minor releases a month go out without anyone sitting through them.
After: how work flows now
Every environment runs the same standard workflows, so a new region is a copy of the ones already running. The Ops team owns the IaC as well as the guardrails; developers make their own choices inside the capabilities it publishes, and releases move through the environments unattended. A six-member team runs 15 environments because it enables developers to manage them instead of managing them itself. Its time goes to developer experience and to extending Facets.
Results
| Result | What made it possible |
|---|---|
| 64 to 4person-weeks to launch a new region | Everything an environment needs is held centrally, so a launch is a single click |
| 95% reductionin Ops tickets | Ops publishes standard capabilities, and developers self-serve inside them |
| 20% boostin developer productivity (30 to 40 hours saved per scrum team per sprint) | Standard workflows and self-service remove the wait on Ops |
| 99.99%uptime | Automated releases and upgrades |
In their words
“Nothing is dependent on Ops team any more. If the Devs want to use a completely new type of resource, Ops team build Terraform extension on top of Facets and make it available to them. Hence, we call them SRE & DevTools Teams now. We have 15 environments run by only a 6-member team because they don't manage them but rather empower Devs to manage them.”
Piyush KCTO, Capillary Technologies“Facets helped us achieve 99.99% of availability, higher release frequency, while sustaining the cloud cost.”
“In March 2022, one of our large clients wanted to scale up by 20x for one of the largest gaming events in India. We had a small window to scale up. It would have been unimaginable without Facets.”
What's next
In early 2023, Capillary was preparing to expand in the US and Europe, and expected the same framework to carry the infrastructure changes that would need. It had already deployed in AWS China with Facets, and new acquisitions with completely different tech stacks had adopted Facets.
The idea this story proves
When every environment comes from the same definition, a new region stops being a project and becomes a request. Capillary can answer "Do you have a local region?" in the sales conversation, because a new environment reuses the workflows of the ones already running. Why Facets calls this environments as a commodity.